CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   SU2 (https://www.cfd-online.com/Forums/su2/)
-   -   How to initialize the shock tube problem by modifying the restart file (https://www.cfd-online.com/Forums/su2/200462-how-initialize-shock-tube-problem-modifying-restart-file.html)

zjqzjs April 3, 2018 20:59

How to initialize the shock tube problem by modifying the restart file
 
Hi SU2ers,

I would like to simulate shock tube problem, for which I need to set two different initial conditions.I have tried the comments and advice of the following links to set "SetInitialCondition" class and it can work.However, It cannot be directly used for unsteady simulation.So I tried another method suggested, set up a restart file that has the initial conditions you want.But when I restart from the solution_flow_00000.dat and solution_flow_00001.dat after one time step, the density field looks normal and the pressure field becomes very uniform.Btw, the version I used is SU2 v6.0.0.

https://www.cfd-online.com/Forums/su...e-problem.html
https://www.cfd-online.com/Forums/su...lation-bc.html

I don't know how to eliminate this error. Any help would be appreciate, thanks!

Best


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