CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Running, Solving & CFD

How to kill OF job gracefully

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

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

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

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.

Enjoy!

Philippose
philippose is offline   Reply With Quote

Reply

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 03:43
to kill a job with files written Ossi CD-adapco 3 November 29, 2002 05:19


All times are GMT -4. The time now is 08:44.