3.2.15. CFX-Solver Results File

The CFX-Solver results file is generated by the CFX-Solver and contains a full description of the flow simulation including:

  • Volume mesh

  • Flow solution

The CFX-Solver will generate a results file with a name based on the CFX-Solver input file. For example, running the CFX-Solver using the input file named file.mdef in a clean working directory will generate a results file named file_001.res. Given a clean working directory, the CFX-Solver will generate a results file with a name based on the CFX-Solver input file. This results file contains the calculated solution values at each mesh node in addition to the original information contained in the CFX-Solver input file. The integer index is incremented each time subsequent simulations are executed in the working directory from the same CFX-Solver input file.


Note:  CFX-Solver input files must not contain spaces when run with an associated Ansys input file (inp).


In CFX, there are two additional types of files that may contain results: transient results and backup files. All backup and transient files are placed in a subdirectory beneath the working directory that is named according to the results file. For example, if the working directory contains the results file file_001.res, then backup and transient results files are placed in the subdirectory named file_001. Backup and transient files all have names with extension .bak and .trn, respectively. For details on how to create these results files in CFX-Pre, see Backup Tab in the CFX-Pre User's Guide and Transient Results Tab in the CFX-Pre User's Guide. For details on how to create backup results files while the run is executing, see Backup Run Command. Note that transient results files are only created during transient simulations.

The naming convention for each backup and transient results file is outlined as follows:

  • If a file has a name including _full, then it is a full results file that contains a complete set of results and the mesh (for example, 32_full.trn or 32_full.bak). These files can be loaded into CFD-Post directly if required, and can be to restart a simulation.

  • If a file has a name that does not include _full, then it is not a full results file and may contain only selected variables and no mesh (for example, 32.trn or 32.bak). Do not try to load one of these files directly into CFD-Post; instead, load the Ansys CFX results file (named file_001.res in the example described above) and use the transient selector to switch between the final results and the results contained in these files.

  • In general, transient and backup files contain results for the timestep corresponding to the integer prefix in the file name. For example, 32_full.trn contains results from the 32nd timestep or outer iteration.

  • For simulations involving couplers with external solvers, files with a name including _CS (such as 3_CS.trn or 7_CS_full.bak) may be present. These backup or transient files are indexed by the coupling step rather than the CFX timestep or outer iteration. For example, 3_CS.trn corresponds to the results at the end of the 3rd coupling step, not necessarily the 3rd timestep (although the two may be coincident). These files are created in the same way as standard transient and backup files in CFX-Pre, but with a frequency of Every Coupling Step or Coupling Step Interval.

3.2.15.1. CFD-Post

The CFX-Solver Results file may be used as input to CFD-Post in order to view the results and produce hard copy output. It may also be used to produce files that are suitable for use with other post-processors by using the CFX Export facility. For details, see File Export Utility.

3.2.15.2. CFX-Solver

The CFX-Solver Results file may also be used as input to the CFX-Solver. The solution is used as the initial values field from which to start a further analysis. For details, see Files Used by the CFX-Solver.