2.1. Introduction

The CFX Command Language (CCL) is the internal communication and command language of Ansys TurboGrid. 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.

  1. Object and parameter definitions: CCL object and parameter definitions can be used to create or delete objects. For details, see Object Creation and Deletion. A list of all objects and parameters that can be used in Ansys TurboGrid is available in the CCL details chapter in the reference guide.

  2. Actions: CCL actions are commands that perform a specific task (for example, reading a session file). For details, see Command Actions.

  3. Power Syntax: Using the Perl programming language, CCL supports programming through Power Syntax with loops, logic and custom macros (subroutines). With Power Syntax, Perl commands can be embedded into CCL to achieve powerful quantitative results. For details, see Power Syntax.

State and session files contain object definitions in CCL. In addition, session files can contain CCL action commands. The CCL written to these files can be viewed and modified in a text editor. You can also use a text editor to create your own session and state files to read into Ansys TurboGrid.

Advanced users can interact with Ansys TurboGrid directly through CCL by entering it in the Command Editor dialog box or by running Ansys TurboGrid in line interface mode. See Command Editor Command in the TurboGrid User's Guide and Line Interface Mode for details.