CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

How to kill OF job gracefully

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

LinkBack Thread Tools Display Modes
Old   February 19, 2008, 17:15
Default How to kill OF job gracefully?
New Member
Mike Ebert
Join Date: Mar 2009
Posts: 6
Rep Power: 8
ebertmp is on a distinguished road
How to kill OF job gracefully?
ebertmp is offline   Reply With Quote

Old   February 19, 2008, 17:26
Default Hi, Use "foamEndJob
Senior Member
Philippose Rajan
Join Date: Mar 2009
Location: Germany
Posts: 531
Rep Power: 16
philippose will become famous soon enough

Use "foamEndJob <root> <case> <pid>"

This kills a running case at the next write to disk operation (as specified by the "writeControl" and "writeInterval" options).

To kill a simulation immediately, you need to go to the "<case>/system/controlDict" file, and change the "stopAt" option from whatever it is to "writeNow".

This causes OpenFOAM to write to disk immediately after the current iteration, and stops the simulation.


philippose is offline   Reply With Quote


Thread Tools
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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Kill script file? Edu FLUENT 11 July 22, 2009 06:02
Will the ANSYS - FLUENT- CFX kill freedom of CFD? Ben Main CFD Forum 17 September 20, 2006 03:36
kill-fluent warning gh FLUENT 2 May 2, 2005 10:01
Kill Script DAE FLUENT 3 March 31, 2003 04:43
to kill a job with files written Ossi CD-adapco 3 November 29, 2002 06:19

All times are GMT -4. The time now is 13:58.