CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > CFX

Manually creating a results file after next iteration

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By Opaque
  • 1 Post By Ludvik

LinkBack Thread Tools Search this Thread Display Modes
Old   January 4, 2021, 12:38
Default Manually creating a results file after next iteration
New Member
Join Date: Dec 2020
Posts: 7
Rep Power: 5
luk1 is on a distinguished road

I am running simulations on a cluster using the command line in TUI. Before, I create the .def-file for the simulations with the regular CFX-Pre on my local PC. Doing this I set the interruption criteria for the simulation, e.g. maximum iterations = 1000. A backup is created every 100 iterations (steady-state).

While the simulation itself is running, I look at the out-file to see what is going on with the residuals etc.

I've determined that the calculation is about to diverge and so I wanted to stop the simulation as soon as possible (let's say after the 800th iteration) in order to avoid an irregular automatic abort due to an error.

Which command do I have to execute in the command line in order to stop the simulation properly, i.e. to receive a regular .res-file that can be used in CFD-Post?

Concerning a hint I found elsewhere: The .dir-folder of the simulation does not contain a .res-file at any time during the run.

Thanks for helping!

In case this answer was already answered anywhere on the forum, please send the link. I couldn't find anything about it...
luk1 is offline   Reply With Quote

Old   January 4, 2021, 15:10
Senior Member
Join Date: Jun 2009
Posts: 1,831
Rep Power: 33
Opaque will become famous soon enough
cfx5stop -help
aero_head likes this.
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque is offline   Reply With Quote

Old   January 5, 2021, 06:20
Join Date: Apr 2009
Location: Czech Republic
Posts: 65
Rep Power: 18
Ludvik is on a distinguished road
cfx5control <directory> -backup
aero_head likes this.
Ludvik is offline   Reply With Quote


cluster computing, command line, iteration, results file, stop simulation

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using PengRobinsonGas EoS with sprayFoam Jabo OpenFOAM Running, Solving & CFD 36 July 16, 2024 03:52
[Other] Tabulated thermophysicalProperties library chriss85 OpenFOAM Community Contributions 62 October 2, 2022 03:50
what is swap4foam ?? AB08 OpenFOAM 28 February 2, 2016 01:22
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 16:02
"parabolicVelocity" in OpenFoam 2.1.0 ? sawyer86 OpenFOAM Running, Solving & CFD 21 February 7, 2012 11:44

All times are GMT -4. The time now is 01:11.