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

Restart slolution doesn't work

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 29, 2013, 18:29
Smile Restart slolution doesn't work
  #1
Member
 
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17
liujmljm is on a distinguished road
Dear developer,
I use the newest version of SU2 on the github. But I find a problem, the restart solution process doesn't work, and show :

Requesting a negative iteration number for the restart file!!
Press any key to exit...

the configure file is attached.

Many thanks.
Attached Files
File Type: txt naca0012.txt (12.9 KB, 24 views)
liujmljm is offline   Reply With Quote

Old   September 2, 2013, 12:49
Default
  #2
Member
 
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17
liujmljm is on a distinguished road
Dear,
I have found the problem, for unsteady computation, I should set the value of UNST_RESTART_ITER in the configure file. If set UNST_RESTART_ITER=1, and SOLUTION_FLOW_FILENAME= solution_flow.dat, then there should be a restart file: solution_flow_00000.dat in the work directory.

In my case, I want to simulation the oscillating airfoil with the specified moving (\alpha=\alpha_0+\delta\alpha\sin(\omega t)). I want to use the converged result at the mean AoA=\alpha_0 as the restart data, then perform the oscillating moving of the airfoil. Now the output restart file of the computation of the static airfoil do not include the date of "Grid_Velx", "Grid_Vely", in this case they should be zero. So I must add it to as the restart file of the unsteady computation. Could you please tell me if there is other method?

Thank you.
liujmljm is offline   Reply With Quote

Old   September 2, 2013, 22:07
Default
  #3
Member
 
Eduardo Molina
Join Date: Sep 2010
Location: Brazil
Posts: 35
Rep Power: 16
EMolina is on a distinguished road
Hi all.

I am facing the same problem of liujmljm, I was doing a pure dual time step unsteady simulation with Su2, but after I pull the newest version of SU2 available on Github I cannot restart my simulations anymore. I tried put on the configure file the UNST_RESTART_ITER=1 option to read the solution_flow_00000.dat like liujmljm said but the 'Requesting a negative iteration number for the restart file!!' error persists.

Can someone clarify this new option on SU2?

Thanks in advance
EMolina is offline   Reply With Quote

Old   September 7, 2013, 08:20
Default
  #4
Member
 
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17
liujmljm is on a distinguished road
Based on the definition of CEulerSolver::CEulerSolver(CGeometry *geometry, CConfig *config, unsigned short iMesh) in the file solver_direct_mean.cpp.

As the setting by above description, UNSTEADY_SIMULATION should be set as DUAL_TIME_STEPPING-1ST_ORDER. If it is DUAL_TIME_STEPPING-2ST_ORDER, I think
UNST_RESTART_ITER might be equal to 2, and su2 will
read the solution_flow_00000.dat

HTML Code:
    if (dual_time) {
      int Unst_RestartIter;
      if (config->GetUnsteady_Simulation() == DT_STEPPING_1ST)
        Unst_RestartIter = int(config->GetUnst_RestartIter())-1;
      else
        Unst_RestartIter = int(config->GetUnst_RestartIter())-2;
      filename = config->GetUnsteady_FileName(filename, Unst_RestartIter);
    }

Quote:
Originally Posted by EMolina View Post
Hi all.

I am facing the same problem of liujmljm, I was doing a pure dual time step unsteady simulation with Su2, but after I pull the newest version of SU2 available on Github I cannot restart my simulations anymore. I tried put on the configure file the UNST_RESTART_ITER=1 option to read the solution_flow_00000.dat like liujmljm said but the 'Requesting a negative iteration number for the restart file!!' error persists.

Can someone clarify this new option on SU2?

Thanks in advance
liujmljm is offline   Reply With Quote

Old   September 12, 2013, 04:36
Default
  #5
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road
Hi guys,

Thrilled to hear that you are using the most recent version of the code for unsteady flows with dynamic meshes! Good news: we are overhauling this section of the code to make it easier to use and more capable for the V3.0 release. Unfortunately, that means that some of the config options and capabilities are being modified slightly (and may change more in the near future while we get everything settled).

The current version of the code works as expressed above in the post by Jianming (as of 09.11.2013). Use the new option UNST_RESTART_ITER to choose the iteration number that you would like to restart a simulation from (this is the iteration number appended to the files). Note that for 1st-order dual time, a single restart file is required (iter-1), but for 2nd-order, two previous time levels are required for a proper restart.

Lastly, we will soon be adding a separate option for starting an unsteady flow from a converged, steady solution without needing to worry about the iteration numbers, etc. Stay tuned for this in the near future.

Hope this helps, and thanks for using SU2,
Tom
economon is offline   Reply With Quote

Old   February 4, 2014, 00:45
Default
  #6
Member
 
Anant Diwakar
Join Date: Jan 2013
Posts: 68
Rep Power: 13
diwakaranant is on a distinguished road
Hi

I am trying to restart an unsteady NACA0012 airfoil simulation
from a steady state restart file.

How can I run Dual time stepping (2nd order) as there is single restart file
obtained from steady state simulation ?

Thanks
Anant
diwakaranant is offline   Reply With Quote

Old   February 5, 2014, 18:19
Default
  #7
Super Moderator
 
Thomas D. Economon
Join Date: Jan 2013
Location: Stanford, CA
Posts: 271
Rep Power: 14
economon is on a distinguished road
Hi Anant,

An unsteady restart could be performed by copying the steady restart file to two files named solution_flow_00000.dat and solution_flow_00001.dat and then choosing the following options in the config file:

% Restart solution (NO, YES)
RESTART_SOL= YES

% Iteration from which to restart the unsteady calc
UNST_RESTART_ITER= 2

% Restart flow input file
SOLUTION_FLOW_FILENAME= solution_flow.dat

It should load in the two identical files as the solution at the two previous time levels and start the calculation on iteration 2.

Hope this helps,
Tom
economon 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
/MP 3.0 and restart Armen A. Ghirghidov FLOW-3D 5 December 10, 2008 10:24
Restart of FSI simulation V. Kumar CFX 3 July 20, 2006 14:23
Why do the Plant library cases don't work? Alumna Phoenics 6 June 22, 2004 13:08
why my In-Form doesn't work? green Phoenics 2 May 27, 2004 22:03
restart Dmitry Siemens 1 March 27, 2002 11:26


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