4.4. Using Ansys Workbench Journaling and Scripting with CFD-Post

Journaling is the capturing of Ansys Workbench actions (creating a project, opening a system, and so on) to a file. For Ansys CFX applications, CCL and command actions are embedded within Ansys Workbench actions. Scripting refers to the processes of editing and running a journal file in Ansys Workbench. With scripting, you could, for example, implement a prescribed workflow.

This section describes how to acquire, edit, and run script files that have commands that affect CFD-Post. For more general information on journal files as well as scripting, refer to the Ansys Workbench online help.


Note:
  • Journal actions such as a CFD-Post Export or the loading of a static .res file record the path of the file. You may need to manually adjust this filepath before attempting to rerun the journal, particularly if you have created the journal using an unsaved project. More generally, when you create a project, you should save the project immediately to set file paths that Ansys Workbench uses (rather than require Ansys Workbench to use file paths that have temporary directories, as happens before the project is saved).

  • The handling of file paths described in File Path Handling in Ansys Workbench in the Workbench Scripting Guide applies to file references that are made outside of CCL and command actions.

  • Journal files must not contain an Undo command from CFD-Post.