A session file is a record of the actions performed during a CFX-Pre session, saved to a file when you have defined a session filename and have clicked Session > Start Recording. By default, this file is stored in your working directory.
After you have recorded a session file, you can select Play Session File dialog box in which you can select the session file to play. The commands listed in the selected session file are then executed.
> , which opens theImportant: If a session file is played while a current simulation is open, existing data will be lost in the following situations:
If the session file starts a new simulation (that is, if it contains a
>load
command), then the current simulation is closed without saving.If the session file does not contain a
>load
command, the behavior is the same as importing a CCL file using the Append option. For details, see Append or Replace. Existing objects with the same name as objects defined in the session file are replaced by those in the session file.
To play a session file:
From the menu bar, select
> .Browse to the directory containing the session file and select the file you want to play.
Click
to play the session file.
Note: You can play session files in stand-alone CFX-Pre, but not in CFX-Pre in Ansys Workbench.
Note: While recording a session file, any preference changes made using the Options dialog box (Edit > Options) are recorded. However, after playing back the session file, the preference changes generally affect the current session only and are not reflected in the Options dialog box.