CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Restarting a case using latestTime in parallel

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

LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2016, 06:46
Default Restarting a case using latestTime in parallel
Senior Member
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
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!

arieljeds is offline   Reply With Quote

Old   May 11, 2016, 07:55
New Member
Tommaso Pascon
Join Date: Mar 2016
Posts: 18
Rep Power: 10
Pervispasco is on a distinguished road
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.
Pervispasco is offline   Reply With Quote

Old   May 11, 2016, 11:30
Senior Member
Join Date: Aug 2015
Posts: 127
Rep Power: 10
arieljeds is on a distinguished road
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:

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
I checked though and all of the data does look like it was saved correctly so I don't understand why it won't work?

Also, I am trying to view the solution in paraview for one of the processors, so I tried (from within the specific processor directory):

 touch processor9.OpenFOAM
Which did create the file, but did not transfer of the fields so again, I'm quite confused if there's some problem in saving the fields...

Again, any help or advice is greatly appreciated.

arieljeds is offline   Reply With Quote


controldict, deconstructpar, hpc cluster, parallel, reconstructpar

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
implementation of mapFields into parallel transient case simpomann OpenFOAM Pre-Processing 4 August 2, 2016 04:41
Running AMI case in parallel Kaskade OpenFOAM Running, Solving & CFD 3 March 14, 2016 15:58
Case running in parallel gives error whereby running in serial works Harak OpenFOAM Running, Solving & CFD 8 October 17, 2015 11:12
simpleFoam parallel AndrewMortimer OpenFOAM Running, Solving & CFD 12 August 7, 2015 18:45
Run in parallel a 2mesh case cosimobianchini OpenFOAM Running, Solving & CFD 2 January 11, 2007 06:33

All times are GMT -4. The time now is 23:07.