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

Restarting a case using latestTime in parallel

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 11, 2016, 07:46
Default Restarting a case using latestTime in parallel
  #1
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 11
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!

Ariel
arieljeds is offline   Reply With Quote

Old   May 11, 2016, 08:55
Default
  #2
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, 12:30
Default
  #3
Senior Member
 
ArielJ
Join Date: Aug 2015
Posts: 127
Rep Power: 11
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:

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
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):

Code:
 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.

Regards,
Ariel
arieljeds is offline   Reply With Quote

Reply

Tags
controldict, deconstructpar, hpc cluster, parallel, reconstructpar


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 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


All times are GMT -4. The time now is 12:14.