During a typical session, ANSYS Fluent may require feedback from you in the event of a problem it encounters. ANSYS Fluent usually communicates problems or questions through the use of Error dialog boxes, Warning dialog boxes, or Question dialog boxes. While executing ANSYS Fluent in batch mode, you may want to suppress this type of interaction in order to, for example, create journal files more easily.
There are three common batch configuration options available to you when running ANSYS Fluent in batch mode. You can access these options using the Batch Options dialog box (Figure 4.6: The Batch Options Dialog Box).
File → Batch
Options...
The Batch Options dialog box contains the following items:
determines whether ANSYS Fluent confirms a file overwrite. This option is turned on by default.
allows you to hide Question dialog boxes. This option is turned off by default.
allows you to automatically exit from batch mode when an error occurs. This option is disabled by default.
When run in batch mode through the command prompt or a journal file with Exit on Error enabled, Fluent will exit under the following circumstances:
Normal run termination upon reaching the end of a journal (return value
0)
Error returned during scripted text command execution (return value
1)
Unexpected input (wrong type) to text command (return value
1)
Licensing error (return value 2)
If an invalid text command is entered, Fluent will not exit, but proceed to the next text input.
Note that in Windows you must start Fluent with the
-wait command line option.
file → set-batch-options
Any combination of these options can be turned on or off at any given time prior to running in batch mode.
Important: Batch option settings are not saved with case files. They are meant to apply for the duration of the current ANSYS Fluent session only. If you read in additional mesh or case files during this session, the batch option settings will not be altered. As batch options are not saved with case files, journal files developed for use in batch mode should begin by enabling the desired batch option settings (if different from the default settings).