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

Explanation of screen output, Time(s)

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 26, 2017, 17:37
Default Explanation of screen output, Time(s)
  #1
New Member
 
Savio Poovathingal
Join Date: Sep 2017
Posts: 5
Rep Power: 9
Savio Poovathingal is on a distinguished road
Hi All,

1) I was hoping to get help with the meaning of the output Time(s) when the solver is run in steady state mode.

2) I am trying to simulate flow in a nozzle. There is high pressure at one end and very low pressure at the other and I am trying to determine the density in the nozzle after 1 micro second. I am running the code with no multi-grid, euler explicit time integration, and no CFL adaptation. Based on the output, min dT = 1.6145e-08. If I run the solver for 100 time steps and exit, my physical time should be 1.6145e-06 s. Am I correct? I am confused because the solver outputs min dT and max dT and I am struggling with the meaning of Time(s).

3) Is there an elegant way of customizing what can be output in the convergence history file and the screen? I managed to hack the source code but if there is a smarter way, without rebuilding every time, it would be helpful.

Thanks,
Savio
Savio Poovathingal is offline   Reply With Quote

Old   November 3, 2017, 08:38
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 195
Rep Power: 11
talbring is on a distinguished road
Hi Savio,

the min DT and and max DT are related to the local time stepping technique for the pseudo-time. Every cell uses its own time step to advance. minDT and maxDT just represent the minimal and maximal time-step over the whole mesh.

So it is not related to the physical time. Same for the number in "Time(s)". This is just the wall-clock time of one iteration.

Your last question: Unfortunately that is not possible at the moment.

Tim
__________________
Developer Director @ SU2 Foundation

Get involved:
talbring is offline   Reply With Quote

Old   November 4, 2017, 09:23
Default Explanation of screen output, Time(s)
  #3
Member
 
Mehdi Mortazawy
Join Date: Mar 2017
Posts: 30
Rep Power: 9
mhd_mrt is on a distinguished road
Hello guys!

Quick question related to time stepping:

I am running Navier-Stokes Laminar simulation of moving normal shock in a moderately well refined mesh (~10million).
I am using the simple “time stepping” option for my unsteady simulation. And I define a time step. As Savio mentioned, unlike the inviscid case, it throws two values of min DT and max DT and a user specified DT. Are the min and max DT automatically calculated by the code using the specified CFL number and the min and max cell size of the .su2 mesh?

For the inviscid (EULER) case, my mesh was uniform and structured (squares everywhere) and the simulation took only a few hours for the normal shock to move from left to right (in the case of a shock tube). However, for the laminar viscous case (NAVIER-STOKES) I refined the mesh close the wall (higher concentration of points to capture boundary layer= 4times smaller dx near the wall compared to the uniform dx of inviscid case) and my simulation is taking wayyyyyy wayyyyyyy longer (in fact I think more than few weeks to simulate the same case of notmal shock passing from left to right).

It clearly seems to me that SU2 is ignoring my specified time step and using the min DT which is why my simulation is taking forever??! So my question is does SU2 automatically figure out that my solution will diverge if it uses my specified DT and hence decides to use the min DT instead or is there any control over how I can strictly run the simulation with my specified time step? (Even though it will diverge)

I should mention that for the sake of comparison, I am using explicit RK for both inviscid and viscous case (hence trying to avoid implicit time stepping) which could be one of the contributing reasons??!

I understand that the simulation will take longer compared to inviscid because of the extra terms (viscosity ,...) calculation.
However, I didn’t expect that it would be represented in the total iterations (in this case every 30 viscous iterations = 1 inviscid iteration in terms of same distance travelled by shocks in both cases) and would only take longer (physical time) for the CPU Cores to write the equal number of iterations as compared to the inviscid case.

I hope I am clear, if not I can post my .cfg file if that will help explaining it better.


Any advice / suggestions / similar experience is highly appreciated as I am a fairly new user of SU2 and Im trying to simulate moving shocks.

Cheers,
Mehdi
mhd_mrt is offline   Reply With Quote

Old   November 6, 2017, 13:07
Default
  #4
New Member
 
Savio Poovathingal
Join Date: Sep 2017
Posts: 5
Rep Power: 9
Savio Poovathingal is on a distinguished road
Tim: Thanks for your help. Things make sense now.

Mehdi: I suggest using the dual_timestepping scheme. Combining it with multi grid worked well for me. I am still running my case but the solution so far looks meaningful.

Savio
Savio Poovathingal 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
[ICEM] Appropriate bocos for POPINDA output FlorisvdBeek ANSYS Meshing & Geometry 1 November 19, 2017 04:22
Generating output data on AQWA Naut afitriadhy ANSYS 0 July 2, 2015 02:37
Improved solver data output / tracking / visualization chriss85 OpenFOAM Running, Solving & CFD 1 May 13, 2015 07:55
benchmark: flow over a circular cylinder goodegg Main CFD Forum 12 January 22, 2013 11:47
Output transient file to csv Ben CFX 3 September 23, 2008 08:17


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