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.
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.
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 input 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.
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.
; 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