How can I see the residuals when running Ansys Fluent in the background on Linux and Windows machines?
Sometimes it can be helpful to check the residuals from a simulation running batch mode to make sure the progress of the solution is satisfactory. The procedure for doing this depends on which operating system you are using.
In linux/unix:
To run Ansys Fluent in the background in a C-shell (csh) on a Linux/UNIX system, type a command of the following form at the system-level prompt:
fluent 2d -g < inputfile > & outputfile &
or in a Bourne/Korn-shell, type:
fluent 2d -g < inputfile > outputfile 2>&1 &
where input file is a Ansys Fluent journal file containing the commands to be executed during the run and output file is a text file into which the output will be directed. This would normally be seen in the console during an interactive run.
For windows and linux:
You can also start a transcript file but you need to define execute commands to execute:
(file/start-transcript) for every 1 or so iterations.