4.3. Starting and Stopping an MFX Analysis

You can start an MFX analysis via the command line. The process is explained here.

4.3.1. Starting an MFX Analysis via the Command Line

You can start an MFX analysis via the command line using the following procedure.

ANSYS Master To launch the master ANSYS process, issue the following command:

ansys182 -p productname -mfm fieldname -ser port# -i inputname -o outputname

Where:

  • productname is the ansys product variable.

  • fieldname is the master field solver name as specified with the MFLCOMM and MFPSIMUL commands.

  • port# is the listening port number. ANSYS, Inc. recommends using a port number between 49512 and 65535. ANSYS will create a jobname.port file that contains the port number if you do not include the -ser port# option on the command line. You can then use this port number for the CFX run. You must start ANSYS first to generate the jobname.port file.

  • inputname and outputname are the input and output filenames.

CFX Slave To launch the slave CFX process, issue the following command:

cfx5solve -def inputfile -cplg-slave fieldname -cplg-host port#@ansys_hostname

Where:

  • inputname is the CFX input (definition) file

  • fieldname is the slave field solver name as specified with the MFLCOMM and MFPSIMUL commands.

  • port#@ansys_hostname is the listening port number initialized by the ANSYS master and the host name of the master machine.

4.3.2. Stopping an MFX Run Manually

To stop an MFX run, create a text file named Jobname_mfx.ABT, with MFX in the first line. This file must reside in the master's working directory. Once this file is in place, MFX will stop cleanly after finishing the current multi-field time step.

To monitor the progress and field convergence in an MFX analysis, you can manually launch the convergence tracker in ANSYS by issuing NLHIST182. In order to monitor the analysis, you must include /GST,ON,ON in your input file. This command will create the Jobname.NLH file for interface convergence and the ANSYS.GST file for the ANSYS field convergence. You must use the CFX Solver Manager to monitor CFX convergence.


Release 18.2 - © ANSYS, Inc. All rights reserved.