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

Continue to run parallel

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By lovecraft22

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2012, 13:12
Default Continue to run parallel
  #1
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 109
Rep Power: 14
zxj160 is on a distinguished road
Dear foamers,

I run a case in parallel from 0s to 2000s. The job has finished. But I want to continue to run the case in parallel from 2000s to 4000s. How can I achieve that?
zxj160 is offline   Reply With Quote

Old   May 10, 2012, 13:32
Default
  #2
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
Just change your controlDict file accordingly setting 2000 as startTime and 4000 as endTime.
dcan likes this.
lovecraft22 is offline   Reply With Quote

Old   May 10, 2012, 13:44
Default
  #3
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 109
Rep Power: 14
zxj160 is on a distinguished road
blockMesh
setFields
funkySetFields -time 0
decomposePar
mpirun --hostfile $PBS_NODEFILE -np $np myFoamd -parallel

Is it mean that I only need to run the last command "mpirun --hostfile $PBS_NODEFILE -np $np myFoamd -parallel" after I change the controlDict?

Or can I use mapFields utility?
zxj160 is offline   Reply With Quote

Old   May 10, 2012, 13:48
Default
  #4
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 109
Rep Power: 14
zxj160 is on a distinguished road
I have run the reconstructPar command for the first 2000s. How can I reconstructPar from 2000s to 4000s?
zxj160 is offline   Reply With Quote

Old   May 10, 2012, 14:09
Default
  #5
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 460
Rep Power: 18
lovecraft22 is on a distinguished road
Send a message via Skype™ to lovecraft22
You just need the solver command and at the end you should run reconstructPar again.
lovecraft22 is offline   Reply With Quote

Old   May 11, 2012, 03:01
Default
  #6
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 22
Bernhard is on a distinguished road
Quote:
Originally Posted by lovecraft22 View Post
Just change your controlDict file accordingly setting 2000 as startTime and 4000 as endTime.
Or startFrom latestTime. Then if you copy the case to another location, (using pyFoam of course), you do not have to take care of this controlDict entry.
Bernhard is offline   Reply With Quote

Old   May 11, 2012, 03:42
Default
  #7
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Location: Auckland
Posts: 627
Rep Power: 19
Phicau is on a distinguished road
Quote:
Originally Posted by zxj160 View Post
I have run the reconstructPar command for the first 2000s. How can I reconstructPar from 2000s to 4000s?
As easy as: reconstructPar -time 2000:4000
Phicau is offline   Reply With Quote

Old   May 11, 2012, 10:30
Default
  #8
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 109
Rep Power: 14
zxj160 is on a distinguished road
Many thanks for your ideas. It can work now.
zxj160 is offline   Reply With Quote

Reply

Tags
parallel decomposepar


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
Parallel run in fluent for multiphase flow apurv FLUENT 2 August 3, 2011 20:44
Unable to run OF in parallel on a multiple-node cluster quartzian OpenFOAM 3 November 24, 2009 14:37
Parallel run diverges, serial does not SammyB OpenFOAM Running, Solving & CFD 1 May 10, 2009 04:28
Run in parallel a 2mesh case cosimobianchini OpenFOAM Running, Solving & CFD 2 January 11, 2007 07:33
Minimum number of nodes to run CFX in parallel Rui CFX 3 April 11, 2005 21:46


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