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

parallel run does nto restart correctly

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 16, 2022, 16:42
Default parallel run does nto restart correctly
  #1
Senior Member
 
Join Date: Jan 2019
Posts: 125
Blog Entries: 1
Rep Power: 0
Michael@UW is on a distinguished road
OpenFOAM v2106:
I have the following controlDict and run in parallel.
Code:
startFrom       latestTime;
startTime       0;
stopAt          endTime;
endTime         50;
deltaT          0.001;
writeControl    runTime;
writeInterval   1;
After it finishes at t=50s, I modify the endTime to 60, but it does not continue. I found there is a system/controlDict in each processor folder, and it just read the controlDict in the processor folders so the change in the case/system/controlDict has no effect.

So I have to do the following:
1. change the endTime in case/system/controlDict
2. reconstructPar -latestTime

3. decomposePar -latestTime -force
4. mpirun -np 4 pimpleFoam -parallel

It works but is annoying. I expect I just need to modify the case/system/controlDict and continue running the case in parallel.

Does anyone have the same problem or I miss something?
Michael@UW 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
Best practice for smooth restart in parallel run of OpenFOAM yek_irani OpenFOAM Running, Solving & CFD 9 August 9, 2023 12:19
Error running simpleFoam in parallel Yuby OpenFOAM Running, Solving & CFD 14 October 7, 2021 05:38
The problem when i use parallel computation for mesh deforming. Hiroaki Sumikawa OpenFOAM Running, Solving & CFD 0 November 20, 2018 03:58
Can not run OpenFOAM in parallel in clusters, help! ripperjack OpenFOAM Running, Solving & CFD 5 May 6, 2014 16:25
parallel Grief: BoundaryFields ok in single CPU but NOT in Parallel JR22 OpenFOAM Running, Solving & CFD 2 April 19, 2013 17:49


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