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

Restarting simulation does not work

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By bigfootedrockmidget
  • 1 Post By bigfootedrockmidget

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 7, 2024, 11:07
Exclamation Restarting simulation does not work
  #1
Senior Member
 
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 151
Rep Power: 7
Sakun is on a distinguished road
Hi,


I am trying to restart the simulation using initial set of data (100 iterations).
So i have set up the .cfg file as follows,


Code:
% Output file restart flow
RESTART_FILENAME= flow100.dat


% Output file flow (w/o extension) variables
VOLUME_FILENAME= flow100
And it got simulated without an issue (“Initial data set” picture).


Then I have set,



Code:
% Restart solution (NO, YES)
RESTART_SOL= YES


SOLUTION_FILENAME= flow100.dat
But simulation still runs from the 1 to 99 not starting from 99th iteration (“Secondary data set” picture). (Used mpirun -n 12 SU2_CFD naca0012.cfg code to run the simulation).


Any guide is appreciated,
Attached Images
File Type: png Initial data set.png (121.2 KB, 4 views)
File Type: png Secondary data set.png (119.1 KB, 5 views)
Sakun is offline   Reply With Quote

Old   October 7, 2024, 13:42
Default
  #2
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
When restarting, the iterations start at 0 again. We do not keep track of the number of iterations of previous runs.
giovanni.medici likes this.
bigfootedrockmidget is offline   Reply With Quote

Old   October 7, 2024, 14:02
Default
  #3
Senior Member
 
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 151
Rep Power: 7
Sakun is on a distinguished road
Hi,



Appreciate for the clarification


So, I assume same concept apply for the convergence history file as well? Cause when I check that file, it has only recorded from 0 to 99 iteration too.


Is there a way to confirm that simulation is definitely continuing from the previous data file?


Thank you again,
Sakun is offline   Reply With Quote

Old   October 7, 2024, 14:17
Default
  #4
Senior Member
 
bigfoot
Join Date: Dec 2011
Location: Netherlands
Posts: 676
Rep Power: 21
bigfootedrockmidget is on a distinguished road
For simulation 2, the residuals at iteration 0 should correspond to the final residuals of simulation 1.
If you concatenate the old and the new residual file, it should show a continuous line for the residual values, preferably decreasing.
Sakun likes this.
bigfootedrockmidget is offline   Reply With Quote

Old   October 7, 2024, 14:53
Default
  #5
Senior Member
 
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 151
Rep Power: 7
Sakun is on a distinguished road
Hi,


I haven’t tried setting up the residuals/plots yet so I missed that point. Thanks for suggesting me that, it is actually a good tactic.


Can I make residuals recorded in the convergence history file or do I have to generate it in a different file?


Thank you for your help,
Sakun is offline   Reply With Quote

Reply

Tags
post processing, source code, su2


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
thesis work - microturbine simulation - zero torque Exe FLUENT 0 May 21, 2024 09:53
CFD simulation (using FLUENT) of gas flow in shock tube - Willing to pay for the work selvam2487 CFD Freelancers 0 October 19, 2022 05:19
Mapping Field Data for Mesh Regions from Another Simulation veterator OpenFOAM Pre-Processing 1 July 10, 2018 06:28
Restarting a CFX simulation from last stop selvam2487 CFX 9 September 9, 2014 12:00
work piece simulation and analysis anilmnv Main CFD Forum 0 March 27, 2011 14:32


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