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 Tree5Likes
  • 1 Post By einstein_zee
  • 4 Post By RobertHB

Reply
 
LinkBack Thread Tools Search this Thread 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: 14
Rep Power: 7
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
Join Date: Nov 2011
Location: Germany
Posts: 93
Rep Power: 14
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).
Haitham Osman CFD likes this.
einstein_zee is offline   Reply With Quote

Old   April 8, 2018, 14:03
Default
  #3
New Member
 
Join Date: Apr 2018
Posts: 14
Rep Power: 7
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: 292
Rep Power: 11
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.
RobertHB is offline   Reply With Quote

Old   April 10, 2018, 06:36
Default
  #5
New Member
 
Join Date: Apr 2018
Posts: 14
Rep Power: 7
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 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
Time Step Continuity Errors simpleFoam Dorian1504 OpenFOAM Running, Solving & CFD 1 October 9, 2022 10:23
[DesignModeler] DesignModeler Scripting: How to get Full Command Access ANT ANSYS Meshing & Geometry 53 February 16, 2020 16:13
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 09:21.