CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   SU2 7.0 - Restart run (https://www.cfd-online.com/Forums/su2/222715-su2-7-0-restart-run.html)

hyunko December 5, 2019 09:49

SU2 7.0 - Restart run
 
Hi,

Now I am trying to use su2 7.0.

I have a question for the restart run of steady-state case.

In SU2 6.2,

When I want to restart the calculation at a previous run,

I have used following.

RESTART_SOL=YES

In that case, the calculation begins from the previous iteration number.

But, In SU2 7.0

"RESTART_SOL=YES" does not change the restarting iteration number.

When I use "RESTART_SOL=YES", SU2 asks a solution_flow.dat but the iteration number begins from 1 not the previous iteration number.

How can I have the iteration number as SU2 6.2 for the restart run?

Thanks in advance.

TKatt December 6, 2019 07:01

Hi hyunko,

SU2 currently does not pick up the "old" iteration number as that information (metadata) is not written (and not read in at restart). The code responsible for output was rewritten for v7 and this feature was not migrated.

If you look on the bottom of your old restart/solution files you should have some information (flow metadata) like 'EXT_ITER= 14' there which is not done in v7 anymore.

Unfortunatley there is no short term fix for that. But I recognized that as a useful feature as well and have that somewhere on my to-do list to implement a nice way to store and load metadata (but not prio A ;) )

If you are interested to get involved in the code yourself you are more than welcome. Let me know :)

Cheers, Tobi

hyunko December 6, 2019 10:38

Thank you TKatt.

I have checked that the restart run works properly even though the iteration number is not reflected.

Thanks.


All times are GMT -4. The time now is 09:23.