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

Stop and start from the last time step

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By ali_b124

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 27, 2021, 04:08
Default Stop and start from the last time step
  #1
New Member
 
Ali Burhan
Join Date: Apr 2017
Location: İstanbul
Posts: 13
Rep Power: 9
ali_b124 is on a distinguished road
Hello sir,

I want to stop a running simulation and start it after a while from the latest time step? Is that possible ?

Best regards.
fturkmen and Bingcz like this.
ali_b124 is offline   Reply With Quote

Old   May 27, 2021, 05:35
Default
  #2
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14
kamath is on a distinguished road
Hi Ali,
Yes, you can do that. But you also need to plan for this in advance.
This means, when you run your first simulation, use the P 40 and P41/ P42 options. This saves a state file in intervals specified by the commands above.

In order to continue the simulation, include I 40 /I 41 options. The simulation will load the previous state file selected using I 41 and continue from that point.

Be aware that files that print time series will be overwritten, so take care to save them separately before hot starting the second simulation.
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   May 27, 2021, 09:19
Default
  #3
New Member
 
Ali Burhan
Join Date: Apr 2017
Location: İstanbul
Posts: 13
Rep Power: 9
ali_b124 is on a distinguished road
Hi Arun,

Thanks for reply.

Best regards.
ali_b124 is offline   Reply With Quote

Old   August 25, 2021, 06:48
Default Restart problem
  #4
New Member
 
Bingchang Zhang
Join Date: Aug 2021
Posts: 9
Rep Power: 5
Bingcz is on a distinguished road
Hello Sir,

I met a problem when I want to restart a simulation from the previous state file.

I have included P40 and P41, so I have state files, but when I include I40 and I41, then restart the case, the step and simtime are not right as shown in pictures attached. Could you please help about this?

Regards.
restart.jpg

save.jpg
Bingcz is offline   Reply With Quote

Old   August 19, 2023, 14:09
Default
  #5
Member
 
Bhargav
Join Date: Aug 2022
Posts: 30
Rep Power: 4
Varada is on a distinguished road
Hello REED3D team,

Is it necessary to use the same number of cores as before when reinitializing a simulation? I ran a simulation using 80 cores for a certain period. Later, I tried to restart the simulation using a state file, but this time with 40 cores and the command "I 40 1". However, I observed that the simulation started again from t=0.

Thank you.
Varada is offline   Reply With Quote

Old   August 20, 2023, 15:47
Default
  #6
Senior Member
 
Arun Kamath
Join Date: Nov 2014
Location: Trondheim, Norway
Posts: 265
Rep Power: 14
kamath is on a distinguished road
Not necessary. But you will have to provide an input (I 241) stating the start point.
Also afaik, the hot start option is currently under reconstruction, so it might be not working as needed.
__________________
Arun
X years with REEF3D
kamath is offline   Reply With Quote

Old   August 21, 2023, 01:57
Default
  #7
Member
 
Bhargav
Join Date: Aug 2022
Posts: 30
Rep Power: 4
Varada is on a distinguished road
I conducted a 2D simulation focused on generating irregular waves without utilizing any structures. The simulation was carried out on my 12-core desktop system. The simulation runs smoothly when I pause it and then re-initialize. However, I encountered a contrasting situation when I attempted the same simulation on HPCE (High-Performance Computing Environment). In this case, the simulation starts from the initial time (t=0) whenever I re-initialize it.

I'm curious to understand the possible reasons behind this discrepancy in behavior between the desktop and HPCE runs.

Thank you in advance for your help.
Varada is offline   Reply With Quote

Reply


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 size and max iterations per time step pUl| FLUENT 31 October 23, 2020 23:50
DPM-SteadyFlow-About Stop/Stard Time Properties and Particle Time Step Size souria FLUENT 2 October 9, 2014 04:36
Transient DPM-About Start Stop times Julie FLUENT 3 January 24, 2014 08:39
About changing time step at the CFX-solver Anna Tian CFX 6 September 16, 2012 08:47
rhoPisoFoam and time step issue: small dt INcreases INstability francescomarra OpenFOAM Running, Solving & CFD 2 October 15, 2010 13:05


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