[Fluent Inc. Logo] return to home search
next up previous contents index

4.9 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 GUI. The GUI commands are recorded as Scheme code lines in journal files. FLUENT creates a journal file by recording everything you type on the command line or enter through the GUI. You can also create journal files manually with a text editor. If you want to include comments in your file, be sure to put a semicolon ( ;) at the beginning of each comment line. See Section  1.3.1 for an example.

The purpose of a journal file is to automate a series of commands instead of entering them repeatedly on the command line. Another use is 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 Section  4.10).

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.

figure   

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




next up previous contents index Previous: 4.8 Reading Scheme Source
Up: 4. Reading and Writing
Next: 4.9.1 Procedure
© Fluent Inc. 2006-09-20