ANSYS CFX Solver Manager Instructions for Linux

Since PADT has been building the CUBE machines (www.CUBE-HVPC.com), we have developed a need for clear-cut instructions for running parallel benchmarks with ANSYS software tools on the CUBE machines (which come standard with the CentOS Linux 64-bit operating system).  The computational fluid dynamics (CFD) solver ANSYS CFX is one such tool.  I have summarized instructions here for starting the CFX Solver-Manager on a Linux machine, loading the *.def file, configuring it for a parallel run, and then running it.

Step 1: Place the benchmark input file (*.def file) for CFX in /home/user.

We’ll assume the benchmark file is the standard CFX airfoil benchmark:

*.def file = “perf_Airfoil_R12_PADT.def”.

Step 2: Start CFX on the command line: type “/ansys_inc/v121/CFX/bin/cfx5”.

fig1

Figure 1 – Command to launch CFX

Step 3: Set the Working Directory / Start the Solver Manager

a) The CFX Launcher will display based on the command entered in Step 2.

b) Check that the “Working Directory” corresponds to /home/user (red rectangle in Figure 2).  If it is something different, select the folder icon contained in the red rectangle in Figure 2, and navigate to /home/user.

c) Select the “CFX-Solver Manager” (black rectangle in Figure 2)

fig2

Figure 2 – Set the Working Directory and open the CFX-Solver Manager

Step 4: Define Run

a) Select “File – Define Run” (Figure 3)

b) Check “Show Advanced Controls” (Figure 3)

fig3

Figure 3 – Define the Run

Step 5: Read the *.def file

a) Select the folder icon (Figure 4).

b) Pick “perf_Airfoil_R12_PADT.def” (Figure 4).

c) Select Open (Figure 4).

fig4

Figure 4 – Read the *.def file

Step 6: Set the Run Mode

a) Select the pull-down next the “Run Mode” (Figure 5).

b) Pick “HP-MPI Local Parallel” (Figure 5).

fig5

Figure 5 – Set the Run Mode

Step 7: Partitioner Settings

a) Go to the “Partitioner” tab (Figure 6)

b) Under “Partitioning Detail” select “Multidomain Option – Coupled Partitioning” (Figure 6)

fig6

Figure 6 – Partitioner Settings

Step 8: Add partitions and Run

a) Click the “plus” sign to add partitions (the number of partitions should be the same as the number of processors for the run) (Figure 7).

b) Select “Start Run” (Figure 7).

fig7

Now, your job should start up and you will see the residuals/imbalances:

fig8

Figure 8  – CFX-Solver Manager with running job

Happy solving…