6.6. Creating and Reading Journal Files

A journal file contains a sequence of Fluent commands, arranged as they would be typed interactively into the program or entered through the user interface. The user interface commands are recorded as Scheme code lines in journal files. You can also create journal files manually with a text editor. If you want to include comments in your file, put a semicolon (;) at the beginning of each comment line.

The purpose of a journal file is to automate a series of commands instead of entering them repeatedly on the command line. It can also be used to produce a record of the input to a program session for later reference, although transcript files are often more useful for this purpose (see Creating Transcript Files).

Command input is taken from the specified journal file until its end is reached, at which time control is returned to the standard input (usually the keyboard). Each line from the journal file is echoed to the standard output (usually the screen) as it is read and processed.


Important:  A journal file by design is a simple record/playback facility. It contains no information about the state in which it was recorded or the state in which it is being played back.


To start the journaling process, select File > Write > Start Journal.... Enter a name for the file in the Select File dialog box. The journal recording begins and the Start Journal menu item becomes Stop Journal menu item. You can end journal recording by selecting Stop Journal, or by exiting the program.

You can read a journal file into the program using the Select File dialog box invoked by selecting File > Read > Journal....

Journal files are always loaded in the main (top-level) text menu, regardless of where you are in the text menu hierarchy when you invoke the read command.


Release 18.2 - © ANSYS, Inc. All rights reserved.