CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   CFX (http://www.cfd-online.com/Forums/cfx/)
-   -   Trying to stop CFX running mannually (http://www.cfd-online.com/Forums/cfx/67522-trying-stop-cfx-running-mannually.html)

cfxmar August 18, 2009 04:55

Trying to stop CFX running mannually
 
Hello to everybody,

I have been running a simulation with CFX 11 for one week and, for some reason I donīt know, I cannot access to CFX Post to save the results and stop the simulation but I know itīs still running.
I would like to know if there is any way to stop the running without loosing the results. Perhaps killing it directly from DOS?

Thank you in advance.

mhsr August 18, 2009 08:05

You can use the CFX command cfx5stop to stop the solver after the current iteration using:
cfx5stop.exe -dir <directory_path_where_solver_runs>

The path name of the current solver run usually looks like Name-of-Simulation_<Number-of-Run>.dir

sans August 18, 2009 08:07

Hi, Check the help files for stopping a run from the command line. Your can also put a stp file in the wrking dir.
-Sans

cfxmar August 18, 2009 08:56

Thank you, Martin.
When I am in the directory path I write:
cfx5stop.exe -dir Nameofsimulation_numberofrun.dir
ŋIs it correct?

mhsr August 18, 2009 09:07

You don't have to be in the directory. But better give the full path as argument to the -dir option...just in case there's another solver running

cfxmar August 18, 2009 09:41

Martin, thanks a lot. Your information was really helpful.

ijk August 26, 2010 14:29

STP file
 
What is an stp file like - I would like to use them to stop my runs?

stumpy August 26, 2010 17:12

Create a file named "stp" inside the run directory (the one ending in .dir). Nothing in the file, no file extension, just name it "stp" and that's it.

ijk August 27, 2010 12:00

Thanks that did the trick.


All times are GMT -4. The time now is 10:21.