|
[Sponsors] |
Restarting a case using latestTime in parallel |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 11, 2016, 07:46 |
Restarting a case using latestTime in parallel
|
#1 |
Senior Member
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 11 |
Hi there,
I'm a bit confused about post-processing or restarting a case that's been run in parallel. I am currently running a large simulation on a cluster over 24 processors. However, my space is limited so I ran the case for the first half of the time I plan to run it, and then I was going to begin the second simulation from the latestTime after removing the earlier data. What I'm confused about is: if the case has been deconstructed over 24 processors, should I remove the time steps (except for the last one) from each individual processor and keep the case decomposed before running? Or else, reconstruct the case completely, keep the latest time, remove all of the processor directories, set the time in controlDict to latestTime and start again from the beginning (including deconstructing the case, etc). Does anyone have experience with this and can offer advice? Thanks in advance! Ariel |
|
May 11, 2016, 08:55 |
|
#2 |
New Member
Tommaso Pascon
Join Date: Mar 2016
Posts: 18
Rep Power: 10 |
You can reconstructPar -latestTime so you have your reconstructed case directory. Then you can delete or move elsewhere all the 24 folders of the early decomposed case. Then use deconstructPar again making sure that in your controlDict file you set start from latestTime and not startTime.
|
|
May 11, 2016, 12:30 |
|
#3 |
Senior Member
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 11 |
Hi @Pervispasco,
Thanks very much for your answer. I tried this on a small test case and it worked well. However, I'm having some trouble now using the same method for a much larger case spread across 24 processors. I am getting the error: Code:
--> FOAM FATAL IO ERROR: error in IOstream "/ichec/work/uceng004c/case1/221.6/nut" for operation Ostream& operator<<(Ostream&, const char) file: /ichec/work/uceng004c/case1/221.6/nut at line 18. From function IOstream::check(const char*) const in file db/IOstreams/IOstreams/IOstream.C at line 99. FOAM exiting Also, I am trying to view the solution in paraview for one of the processors, so I tried (from within the specific processor directory): Code:
touch processor9.OpenFOAM Again, any help or advice is greatly appreciated. Regards, Ariel |
|
Tags |
controldict, deconstructpar, hpc cluster, parallel, reconstructpar |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
implementation of mapFields into parallel transient case | simpomann | OpenFOAM Pre-Processing | 4 | August 2, 2016 05:41 |
Running AMI case in parallel | Kaskade | OpenFOAM Running, Solving & CFD | 3 | March 14, 2016 16:58 |
Case running in parallel gives error whereby running in serial works | Harak | OpenFOAM Running, Solving & CFD | 8 | October 17, 2015 12:12 |
simpleFoam parallel | AndrewMortimer | OpenFOAM Running, Solving & CFD | 12 | August 7, 2015 19:45 |
Run in parallel a 2mesh case | cosimobianchini | OpenFOAM Running, Solving & CFD | 2 | January 11, 2007 07:33 |