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

Continue to run parallel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   May 10, 2012, 12:12
Default Continue to run parallel
  #1
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 108
Rep Power: 5
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, 12:32
Default
  #2
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 463
Rep Power: 9
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.
lovecraft22 is offline   Reply With Quote

Old   May 10, 2012, 12:44
Default
  #3
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 108
Rep Power: 5
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, 12:48
Default
  #4
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 108
Rep Power: 5
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, 13:09
Default
  #5
Senior Member
 
lore
Join Date: Mar 2010
Location: Italy
Posts: 463
Rep Power: 9
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, 02:01
Default
  #6
Senior Member
 
Bernhard
Join Date: Sep 2009
Location: Delft
Posts: 790
Rep Power: 12
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, 02:42
Default
  #7
Senior Member
 
Pablo Higuera
Join Date: Jan 2011
Posts: 233
Rep Power: 7
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, 09:30
Default
  #8
Senior Member
 
Jian Zhong
Join Date: Feb 2012
Location: Birmingham
Posts: 108
Rep Power: 5
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

Thread Tools
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 On
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 19: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 03: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 20:46


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