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

Resuming OpenFoam with different number of processors

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 2, 2014, 09:36
Default Resuming OpenFoam with different number of processors
  #1
New Member
 
Join Date: May 2014
Posts: 1
Rep Power: 0
skylark is on a distinguished road
Hi everbody,

Is there a way to stop an OpenFoam execution and re-run it later with more processors? I've searched the forums and tried to use reconstructPar and redistributePar, but I've had trouble getting them to work. Could anybody provide more detailed steps on how to achieve this?

Any help would be greatly appreciated,

Thanks.
skylark is offline   Reply With Quote

Old   May 2, 2014, 12:18
Default restarting with MPU changes
  #2
New Member
 
Jim Conger
Join Date: Jan 2014
Location: California, USA
Posts: 21
Rep Power: 12
james.conger is on a distinguished road
No guarantees, but what I would try would be:

1) At completion of first set of runs, run reconstructPar. This will reassemble the solution from all separated MPU runs into single directories - just as if you had run the whole problem on one CPU.
2) Delete the processorN directories
3) Make sure your controlDict file has "startFrom latestTime;" and an endTime greater than your last solution.
4) Restart the problem with a different number of processors by changing your MPU settings and then running decomposePar, mpirun, reconstructPar as usual.

I have only done this going from one to many to one processor.
james.conger 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
AMI interDyMFoam for mixer danny123 OpenFOAM Running, Solving & CFD 4 June 19, 2013 04:49
New OpenFOAM Forum Structure jola OpenFOAM 2 October 19, 2011 06:55
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
stability and number of processors ?? sersunzo OpenFOAM Running, Solving & CFD 0 June 9, 2009 11:45
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 10:37


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