How can I stop an ANSYS CFX Solver run smoothly directly from the command line without using the ANSYS CFX Solver Manager or the Workbench/Remote Solver Manager (RSM) interrupt button? Also, how can I create a backup file from the command line?
Tagged: 19, cfx, fluid-dynamics, General - CFX
-
-
April 5, 2023 at 2:32 pm
FAQ
ParticipantThe following commands will stop the ANSYS CFX solver at the end of the next timestep and the solver will write a result file (res file). The solver runs in the “runtime” directory, e.g. example_001.dir. You can stop the solver by cfx5stop -dir
-dir Name of directory in which the ANSYS CFX Solver is running. When the supplied directory is the the overall run directory for a multi-configuration or operating point case, prevent the run from starting new configurations or individual operating points, but allow running configurations or operating points to complete. E.G: cfx5stop -dir example_001.dir Alternatively you can use the following Unix command on Linux to create the file “stp” in the runtime directory, which will have the same result as using cfx5stop: touch example_001.dir/stp On Windows, the equivalent command would be: type nul > example_001.dir/stp Saving a backup You can use the following Unix command on Linux to create the file “trn” in the runtime directory, which will save a backup file. Creating a “bak” file in the runtime directory will also save a backup file. touch example_001.dir/trn OR touch example_001.dir/bak On Windows, the equivalent command would be: type nul > example_001.dir/trn OR type nul > example_001.dir/bak
-

Introducing Ansys Electronics Desktop on Ansys Cloud
The Watch & Learn video article provides an overview of cloud computing from Electronics Desktop and details the product licenses and subscriptions to ANSYS Cloud Service that are...

How to Create a Reflector for a Center High-Mounted Stop Lamp (CHMSL)
This video article demonstrates how to create a reflector for a center high-mounted stop lamp. Optical Part design in Ansys SPEOS enables the design and validation of multiple...

Introducing the GEKO Turbulence Model in Ansys Fluent
The GEKO (GEneralized K-Omega) turbulence model offers a flexible, robust, general-purpose approach to RANS turbulence modeling. Introducing 2 videos: Part 1 provides background information on the model and a...

Postprocessing on Ansys EnSight
This video demonstrates exporting data from Fluent in EnSight Case Gold format, and it reviews the basic postprocessing capabilities of EnSight.
- How to overcome the model information incompatible with incoming mesh error?
- What are the requirements for an axisymmetric analysis?
- How to create and execute a FLUENT journal file?
- Skewness in ANSYS Meshing
- What is a .wbpz file and how can I use it?
- How can I Export and import boxes / Systems from one Workbench Project to another?
- What are pressure-based solver vs. density-based solver in FLUENT?
- How can I select interior faces and other entities that are inside the model?
- How to get information about mesh cell count and cell types in Fluent?
- Error: Update failed for the Mesh component in Fluid Flow (Fluent). Error updating cell Mesh in system Fluid Flow (Fluent). View the messages in the Meshing editor for more details.
© 2025 Copyright ANSYS, Inc. All rights reserved.