COMBINE
COMBINE,
FileType
, NUM
Combines distributed memory parallel (DMP)
files.
FileType
Type of solution file to combine. There is no default; if (blank), the command is ignored.
RST
—
Structural results file (.rst)
RTH
—
Thermal results file (.rth)
RMG
—
Magnetics results file (.rmg)
RSTP
—
Linear perturbation results file (.rstp)
EMAT
—
Element matrix file (.emat).
ESAV
—
Element saved data file (.esav)
MODE
—
Modal results file (.mode)
MLV
—
Modal load vector file (.mlv)
IST
—
Initial state file (.ist)
FULL
—
Full matrix file (.full)
RFRQ
—
Reduced complex displacement file (.)
RDSP
—
Reduced displacement file (.rdsp)
RNNN
—
Multiframe restart files (.r
nnn
)NUM
Number of .r
nnn
files to combine:ALL
—
Combine all .r
nnn
files (default).N
—
Combine only .r
n
files, where N is an integer from 1 to 999.
Notes
The COMBINE command is used within the AUX2 auxiliary processor to combine local solution files from a distributed memory parallel solution into a single, global file. Before using this command, you must enter the AUX2 processor by issuing the /AUX2 command.
In a distributed-memory parallel (DMP) solution, you can use the
DMPOPTION command to bypass the file combination step, causing all
individual local files to be kept on the local disks in the current working directory. Later
on, you can start a new distributed memory parallel solution and use the
COMBINE command to combine local files into a global file for a
downstream solution or another operation (such as postprocessing with
/POST1). For example, the command COMBINE,RST will
combine local results files (Jobnamen
.rst)
into a global results file (Jobname.rst).
The COMBINE command cannot be used to combine local files generated during a distributed memory parallel solution that used the frequency or cyclic harmonic index domain decomposition method (DDOPTION,FREQ or DDOPTION,CYCHI).
If COMBINE,RNNN is specified, all of the multiframe restart files named
Jobname.r001 to Jobname.r999 will automatically be
combined. To combine only one set of .rnnn
restart files, place only that set of restart files in your current working directory, or use
the NUM
argument to specify which set of
.rnnn
files to combine.
When the COMBINE command is used in a subsequent distributed memory parallel (DMP) session, the number of processors must be the same as in the DMP solution that generated the files.
When running on a cluster, the local solution files must be available in the working directory on each node in the subsequent session. As an example, consider the following command line used to generate local solution files:
ansys242 -dis -machinesmachine1
:4
:machine2
:1
:machine3
:2
-i input -o output
Different machines can be used in the subsequent session to combine these files. However, the total number of cores must remain unchanged (seven in the above case), and the local files must be copied to the working directory (or directories) on each of the machines used in the subsequent session.