When starting CFX-Pre for the first time, the default system font is obtained and, if it is deemed inappropriate for CFX-Pre, a dialog box appears that enables you to choose a new font. When a new font is selected, it is stored for future sessions. For details, see Appearance.
CFX-Pre can be started in different ways:
From within Ansys Workbench choose Fluid Flow (CFX) from Toolbox > Analysis Systems or CFX from Toolbox > Component Systems. In the Project Schematic, right-click the Setup cell and select Edit.
From the Ansys CFX Launcher: set the working directory and then click CFX-Pre 2024 R2.
From the command line. The basic command is:
<CFXROOT>
/bin/cfx5preThe command line options are described in Starting CFX-Pre from the Command Line.
Starting CFX-Pre from the Command Line
To start CFX-Pre from a command line, you must either:
Specify the full path to the executable (
)<CFXROOT>
/bin/cfx5preAppend the path to the Ansys CFX executables (
) to your PATH.<CFXROOT>
/bin/On Windows, right-click the My Computer icon and select Properties. Click the Advanced tab, then click . In the System variables section, edit
PATH
to include the path to the Ansys CFX executables; typically this will be something like:C:\Program Files\ANSYS Inc\v242\CFX\bin;
On Linux, edit your .
<window_manager>
rc file to include the path to the Ansys CFX executables.
Once the PATH has been updated, the basic command is:
cfx5pre
Run the executable from the launcher Tools > Command Line (which has the path to the Ansys CFX executables built-in).
There are a number of optional command line flags, some of which are summarized in the following table:
Argument |
Alternative Form |
Usage |
---|---|---|
|
Starts CFX-Pre in batch mode, running the session file you enter as an argument. | |
|
|
Displays the graphical
user interface on the X11 server |
|
|
Starts CFX-Pre in graphical user interface (GUI) mode. This is the default mode. |
|
|
Starts CFX-Pre in line interface mode. |
|
|
Loads the named CFX-Solver input file after starting. |
|
|
Plays the named session file after starting. |
|
|
Loads the named case file after starting. |
|
|
In order to enable importing of CGNS files into CFX-Pre, start CFX-Pre from the command line
using the command line argument: |
|
|
Specifying this option may result in additional output being sent to the standard output. |
To view a full list of command-line flags, execute:
cfx5pre -help