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

How to kill OF job gracefully

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By philippose

Reply
 
LinkBack Thread Tools Search this Thread 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: 17
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: 552
Rep Power: 25
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
qutadah.r likes this.
philippose is offline   Reply With Quote

Reply


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
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 Siemens 3 November 29, 2002 05:19


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