Translations of this page:

This is an old revision of the document!


Text User Interface

Brief description of most common TUI commands and their usage. For more details, refer to Fluent User Guide and Fluent Text User Interface manual as they are references used here.

Good practices

When writing TUI script (or journal, though journal can also be graphical when recorded in GUI), it is good practice to check the commands in GUI mode to ensure the functionality of the script. By typing the commands you can get a clear picture of all the required inputs for a given command.

When using TUI to refer to files, you can include the full path to be sure that files are found or saved in the right location.

Basics

To receive listing of menus and commands, press enter in the text window.

To give command or move to submenu, type the name of command or menu. They can be typed separately or in one line (better in scripting).

menu
submenu
command
options

or 

menu submenu command options

To move back to previous menu, type q or quit.

To go directly to main menu, type /. This will leave the previous “menu path” also visible and can get confusing when used repeatedly. This is particularly useful in journal files, see example below how to execute one TUI-command per line.

To give “default” answer or to simulate press of enter to prompt or asked settings, type , (comma). Decimal separator is . (dot).

To insert comment line, use ; (semicolon).

To break or halt to running command or Fluent process, press Ctrl + C.

Some (common) commands have short names ie. aliases which save time in scripting. Type alias to receive list of used aliases. You can also define own aliases.

It is also possible to execute system commands through Fluent. For Linux and Windows start console command with symbol ! . For example !ls in Linux will give you directory listing to your SSH client window rather than to Fluent.

Common Commands

rc   or   file read-case             Read case
rd   or   file read-data             Read data
rcd  or   file read-case-data        Read case and data
wc   or   file write-case            Write case
wd   or   file write-data            Write data
wcd  or   file write-case-data       Write case and data
file export                          Export data in format to be specified
display mesh                         Display mesh
display contour                      Display contour to be specified
display save-picture                 Save old "hardcopy" of the screen, "screenshot" of graphics (doesn't work when running without GUI for apparent reasons, use export instead)
it   or solve iterate                Start iterations in steady state calculations or in current time step of unsteady state calculation
solve dual-time-iterate              Start transient iterations in unsteady state calculation.
solve initialize initialize-flow     Initialize flow field
exit                                 Close and exit fluent. May prompt you if case or data unsaved.

Example of Input File

; Read case file
rc /home/user/example.cas
; Initialize the solution
solve initialize initialize-flow
; Calculate 50 iterations
it 50
; Write data file
wd /home/user/example50.dat
; Exit FLUENT
exit
; Confirm Exit to prompt
yes
 
/opt/webdata/webroot/wiki/data/attic/en/cfd/modelling/fluent/tui.1554443069.txt.gz · Last modified: 2019/04/05 08:44 by mnikku
[unknown button type]
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki