The components of Ansys CFX can all be started from the command line. A command consists of the path to the command, the command name, and various arguments, many of which are optional.
For example, to start up CFX-Pre and play a session file named StaticMixer.pre, open a terminal window and enter the command:
<CFXROOT>/bin/cfx5pre -play StaticMixer.pre
where is the path to your installation of
CFX, for example C:\Program Files\ANSYS Inc\V242\CFX on Windows.<CFXROOT>
The following table lists some of the commands you can use to start Ansys CFX components:
|
Component |
Command |
Arguments |
|---|---|---|
|
Ansys CFX Launcher |
or
| |
|
CFX-Pre |
See Starting CFX-Pre from the Command Line in the CFX-Pre User's Guide. | |
|
CFX-Solver Manager |
See Starting the CFX-Solver from the Command Line in the CFX-Solver Manager User's Guide. | |
|
CFD-Post |
See Starting CFD-Post from the Command Line in the CFD-Post User's Guide. |
Tip:
To display a full list of all the possible arguments and a short description for any command, type the command followed by
-help.For example:cfdpost -helpTyping the argument
-verboseafter a command launches the software specified and displays a summary of the currently set environment variables.Ansys CFX Launcher provides a command line with a preset path to the Ansys CFX executables. From the launcher, select Tools > Command Line. For details, see Command Line.
You can append the path to the Ansys CFX executables to your Windows PATH.
Right-click My Computer and select Properties.
Click the Advanced tab.
Click .
In the System variables pane, select Path and click .
Append the path to the Ansys CFX executables to the Variable value field. For example:
C:\Program Files\ANSYS Inc\v242\CFX\bin;Click as required to set the new path and close the dialog boxes.
You can append the path to the Ansys CFX executables to your UNIX search path.