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

is it possible to decompose a case from an already obtained time step?

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

Like Tree1Likes
  • 1 Post By RobertHB

Reply
 
LinkBack Thread Tools Display Modes
Old   April 8, 2018, 12:47
Smile is it possible to decompose a case from an already obtained time step?
  #1
New Member
 
Join Date: Apr 2018
Posts: 10
Rep Power: 2
eric-meng is on a distinguished road
I am very curious about the possibility of decomposing a case from a determined time step

I ran my case with 30 nodes while after running of several hours, I think 30 nodes may not be the best choice..

So I hope to decompose my case again meanwhile I hope the results already obtained can be saved

Is this possible or I have to configure it on a new case?
eric-meng is offline   Reply With Quote

Old   April 8, 2018, 13:53
Default
  #2
Member
 
Hosein Heidarifatasmi
Join Date: Nov 2011
Location: Germany
Posts: 45
Rep Power: 9
einstein_zee is on a distinguished road
Quote:
Originally Posted by eric-meng View Post
I am very curious about the possibility of decomposing a case from a determined time step

I ran my case with 30 nodes while after running of several hours, I think 30 nodes may not be the best choice..

So I hope to decompose my case again meanwhile I hope the results already obtained can be saved

Is this possible or I have to configure it on a new case?
Hey there,

What you can do is that you reconstruct your simulation only for the latest time step, then create a new case and initialize your fields with the results of your latest reconstructed time step. The rest is straight forward I guess... (just decompose the case with the new number of processors/nodes).
einstein_zee is offline   Reply With Quote

Old   April 8, 2018, 14:03
Default
  #3
New Member
 
Join Date: Apr 2018
Posts: 10
Rep Power: 2
eric-meng is on a distinguished road
Quote:
Originally Posted by einstein_zee View Post
Hey there,

What you can do is that you reconstruct your simulation only for the latest time step, then create a new case and initialize your fields with the results of your latest reconstructed time step. The rest is straight forward I guess... (just decompose the case with the new number of processors/nodes).
Thank you einstein-zee, let me try what you said
eric-meng is offline   Reply With Quote

Old   April 10, 2018, 05:58
Default
  #4
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 245
Rep Power: 6
RobertHB is on a distinguished road
Another solution, without setting up a new case and initializing your previous results:
1) reconstructPar your simulation as far as you want to keep your results (or -latestTime to only reconstruct the last timestep)
2) change your decomposeParDict settings
3) decomposePar -latestTime
This should decompose your case with new settings while keeping your simulation results and avoiding the hazzle of setting up a new case and mapping the fields.
sk11 likes this.
RobertHB is offline   Reply With Quote

Old   April 10, 2018, 06:36
Default
  #5
New Member
 
Join Date: Apr 2018
Posts: 10
Rep Power: 2
eric-meng is on a distinguished road
Quote:
Originally Posted by RobertHB View Post
Another solution, without setting up a new case and initializing your previous results:
1) reconstructPar your simulation as far as you want to keep your results (or -latestTime to only reconstruct the last timestep)
2) change your decomposeParDict settings
3) decomposePar -latestTime
This should decompose your case with new settings while keeping your simulation results and avoiding the hazzle of setting up a new case and mapping the fields.
Thank you @RobertHB this is quite clear
eric-meng is offline   Reply With Quote

Reply

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
Time Step Continuity Errors simpleFoam Dorian1504 OpenFOAM Running, Solving & CFD 0 January 17, 2018 05:18
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 48 November 17, 2016 05:12
simpleFoam error - "Floating point exception" mbcx4jc2 OpenFOAM Running, Solving & CFD 12 August 4, 2015 03:20
Help for the small implementation in turbulence model shipman OpenFOAM Programming & Development 25 March 19, 2014 11:08
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 03:58


All times are GMT -4. The time now is 03:58.