Chapter 13: CFX Command Language (CCL)

The CFX Command Language (CCL) is the internal communication and command language of Ansys CFX. It is a simple language that can be used to create objects or perform actions in the post-processor. All CCL statements can be classified into one of three categories:

  • Object and parameter definitions, which are described in Object Creation and Deletion.

  • CCL actions, which are commands that perform a specific task (such as reading a session file) and which are described in Command Actions in the CFD-Post User's Guide.

  • Power Syntax programming, which uses the Perl programming language to allow loops, logic, and custom macros (subroutines). Power Syntax enables you to embed Perl commands into CCL to achieve powerful quantitative postprocessing. For details, see Power Syntax in Ansys CFX.

State files and session files contain object definitions in CCL. In addition, session files can also contain CCL action commands. You can view and modify the CCL in these files by using a text editor.

For more information, see Object Creation and Deletion.