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

Continue OpenFoam parallel run with different number of processors

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 15, 2021, 06:33
Default Continue OpenFoam parallel run with different number of processors
  #1
New Member
 
Join Date: Aug 2021
Posts: 5
Rep Power: 2
orbitaljet is on a distinguished road
Hi all. I am running a large case on a cluster. I have a job completed on 16 cores up to a timestep of 10000s. I have reconstructed the data using reconstructPar and deleted all the processor directories (processor0, processor1...).


How do I continue the job to a timestep of 20000s using 32 cores instead?


This is my script:



Code:
decomposePar -force
mpirun -np 16 renumberMesh -overwrite -parallel
mpirun -np 16 overPimpleDyMFoam -parallel | tee log.solver

I have edited the controlDict to start from the latestTime and the decomposeParDict has been changed for 32 processors now. After the decomposePar command, do I need to renumber the mesh again with 32 cores before running the solver itself?
orbitaljet is offline   Reply With Quote

Old   August 16, 2021, 03:53
Default
  #2
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 449
Rep Power: 11
Tobermory will become famous soon enough
From a quick look at the source code (https://github.com/OpenFOAM/OpenFOAM...renumberMesh.C), I don't see any reference to the number of processors in the run in the coding, so I don't think that the way you have decomposed the problem matters. Instead, the utility is used to make the LDU matrix addressing more efficient - see eg this post.
Tobermory is offline   Reply With Quote

Old   August 16, 2021, 23:18
Default
  #3
New Member
 
Join Date: Aug 2021
Posts: 5
Rep Power: 2
orbitaljet is on a distinguished road
Great, just needed some confirmation before submitting the job. Thank you!
orbitaljet is offline   Reply With Quote

Reply

Tags
decomposepar, 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
Decomposing meshes Tobi OpenFOAM Pre-Processing 20 October 1, 2021 10:51
GenerateVolumeMesh Error - Surface Wrapper Self Interacting (?) AndreP STAR-CCM+ 10 August 2, 2018 07:48
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library aylalisa OpenFOAM Installation 23 June 15, 2015 14:49
Can not run OpenFOAM in parallel in clusters, help! ripperjack OpenFOAM Running, Solving & CFD 5 May 6, 2014 15:25
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01


All times are GMT -4. The time now is 00:39.