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

mpiRun Stop AND Re-Start

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By JR22

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   April 2, 2013, 21:11
Question mpiRun Stop AND Re-Start
  #1
Senior Member
 
JR22's Avatar
 
Jose Rey
Join Date: Oct 2012
Posts: 134
Rep Power: 17
JR22 will become famous soon enough
How do I stop and then re-start mpirun for a case?.


I use mpirun from within my case directory in the following way:
Code:
mpirun -np 4 simpleFoam -parallel | tee log/simpleFoam.log
This is the content of my controlDict (set to save @ iter 1000); I want to change a few parameters (related to convergence) and then restart (as described in this post : http://www.cfd-online.com/Forums/ope...tml#post412941 ) :
Code:
FoamFile
{
    version 2.0;
    format ascii;
    class dictionary;
    location system;
    object controlDict;
}

    startFrom startTime;
    startTime 0;
    stopAt endTime;
    endTime 2000.0;
    deltaT 1.0;
    writeControl timeStep;
    writeInterval 1000.0;
    purgeWrite 0;
    writeFormat ascii;
    writePrecision 10;
    writeCompression uncompressed;
    timeFormat general;
    timePrecision 6;
    graphFormat raw;
    runTimeModifiable true;
I've made the effort to look around and truly have not found an answer that can help me. The original file was created using helyx-OS. Thank you very much in advance.

Last edited by JR22; April 2, 2013 at 21:48. Reason: relevant information to changing parameters for convergence
JR22 is offline   Reply With Quote

 

Tags
helyx-os, mpirun, openfoam 2.1.x, parallel execution, restart


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



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