CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

when to use totally explicit schemes or dual time-stepping in transient flow?

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By mprinkey
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 5, 2016, 07:40
Default when to use totally explicit schemes or dual time-stepping in transient flow?
  #1
dli
New Member
 
dengli
Join Date: Mar 2015
Posts: 22
Rep Power: 11
dli is on a distinguished road
Hi,guys.In the simulation of a transient phenomenon, we can choose explicit time marching schemes or implicit time stepping(dual time-stepping), but which schemes was better for the phenomenon? I saw some tips about this, for example,when the time scale are comparable to the spatial scales over the eigenvalue,i.e. when the CFL number dictated by the physics is of the order of unity. so what is the time scale? and the spatial scales is the length of computational domain or the grid length? and the eigenvalue of the problem is the u+c ??
thanks
dli is offline   Reply With Quote

Old   March 6, 2016, 13:50
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I think that for transient simulation you should take care of the accuracy... implicit or explicit schemes is a secondary issue
FMDenaro is offline   Reply With Quote

Old   March 8, 2016, 08:29
Default
  #3
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
While I agree with Prof Denaro, I would mention that understanding all of the timescales in your problem is really critical. These do not need to necessarily involve complex computations either. Just per-term dimensional analysis will give you a lot of guidance. Length scales are the smallest cell length and the domain length. Velocities are typical and maximum. Timescales (for transient simulations) are the timestep and the final simulation time. If you juggle those in as representative numbers in your transport equations, you will see timescale emerge. Generally, you can balance the transient term against each term in the transport equation (turn off the other effects and look at the time scale for each phenomena).

Once you have those timescales, you can see which effects group together. In the incompressible limit, you will see "flow" timescales that are relatively large compared to acoustic timescales. That leads us to chose pressure-implicit schemes like Fractional Step/Projection methods that implcitly treats the pressure/mass conservation and removes that acoustic timescale from the stability analysis but (as Prof Denaro notes) NOT from accuracy considerations.

Similarly, with reacting flows, the timescale of reactions can be very small relative to flow/acoustic timescales. That naturally leads to so-called stiff combustion solvers where computational cells are treated as independent reactors and time integrated with stiff ODE solvers to the next fluid timestep.

IMO, understanding the various timescales is critical for simulations that involve transport more complicated than single-phase cold non-reacting flow. This is the only way to both make a solver that captures all important phenomena while not wasting lots of CPU time resolving irrelevant details.
FMDenaro likes this.
mprinkey is offline   Reply With Quote

Old   March 8, 2016, 10:02
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
from my experience, using explicit time-marching schemes fulfilling the numerical stability constraints are also a requirement for a good physical resolution of the relevant scales of the flow (apart form formulation where the scales are filtered out and then modelled).
FMDenaro is offline   Reply With Quote

Old   March 8, 2016, 10:59
Default
  #5
dli
New Member
 
dengli
Join Date: Mar 2015
Posts: 22
Rep Power: 11
dli is on a distinguished road
Quote:
Originally Posted by mprinkey View Post
While I agree with Prof Denaro, I would mention that understanding all of the timescales in your problem is really critical. These do not need to necessarily involve complex computations either. Just per-term dimensional analysis will give you a lot of guidance. Length scales are the smallest cell length and the domain length. Velocities are typical and maximum. Timescales (for transient simulations) are the timestep and the final simulation time. If you juggle those in as representative numbers in your transport equations, you will see timescale emerge. Generally, you can balance the transient term against each term in the transport equation (turn off the other effects and look at the time scale for each phenomena).

Once you have those timescales, you can see which effects group together. In the incompressible limit, you will see "flow" timescales that are relatively large compared to acoustic timescales. That leads us to chose pressure-implicit schemes like Fractional Step/Projection methods that implcitly treats the pressure/mass conservation and removes that acoustic timescale from the stability analysis but (as Prof Denaro notes) NOT from accuracy considerations.

Similarly, with reacting flows, the timescale of reactions can be very small relative to flow/acoustic timescales. That naturally leads to so-called stiff combustion solvers where computational cells are treated as independent reactors and time integrated with stiff ODE solvers to the next fluid timestep.

IMO, understanding the various timescales is critical for simulations that involve transport more complicated than single-phase cold non-reacting flow. This is the only way to both make a solver that captures all important phenomena while not wasting lots of CPU time resolving irrelevant details.
Thanks for your answer. If I have found the timescale of the transient problem, I can choose which time integration schemes is better for my problem, the method to determine the timescale is very helpful to me.But I am little confused by the first example, the "flow" timescales that are relatively large compared to acoustic timescales in incompressible flow, in this problem,we want to resolve the physical characteristics of this phenomenon, so use the acoustic timescale as the time step? I'm not really sure about this.
dli is offline   Reply With Quote

Old   March 8, 2016, 11:14
Default
  #6
Senior Member
 
Michael Prinkey
Join Date: Mar 2009
Location: Pittsburgh PA
Posts: 363
Rep Power: 25
mprinkey will become famous soon enough
Quote:
Originally Posted by dli View Post
Thanks for your answer. If I have found the timescale of the transient problem, I can choose which time integration schemes is better for my problem, the method to determine the timescale is very helpful to me.But I am little confused by the first example, the "flow" timescales that are relatively large compared to acoustic timescales in incompressible flow, in this problem,we want to resolve the physical characteristics of this phenomenon, so use the acoustic timescale as the time step? I'm not really sure about this.
If you want to resolve acoustic waves, then you have no choice but to choose your timestep based on the dx/|u+c|. Physically, this implies that an acoustic wave cannot travel more than one computational cell in a timestep. And that implies a fully explicit scheme.
mprinkey is offline   Reply With Quote

Old   March 8, 2016, 12:03
Default
  #7
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,882
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by dli View Post
Thanks for your answer. If I have found the timescale of the transient problem, I can choose which time integration schemes is better for my problem, the method to determine the timescale is very helpful to me.But I am little confused by the first example, the "flow" timescales that are relatively large compared to acoustic timescales in incompressible flow, in this problem,we want to resolve the physical characteristics of this phenomenon, so use the acoustic timescale as the time step? I'm not really sure about this.

Using the incompressible model, your governing equations will be not well suitable...Often the acoustic problem is decoupled from the flow solutions and obeys to a different set of equations solved after the incompressible solution is obtained.
Alternatively, you can solve the full compressible problem if your Mach is not too low.
mprinkey likes this.
FMDenaro is offline   Reply With Quote

Old   March 9, 2016, 20:43
Default
  #8
dli
New Member
 
dengli
Join Date: Mar 2015
Posts: 22
Rep Power: 11
dli is on a distinguished road
Quote:
Originally Posted by mprinkey View Post
If you want to resolve acoustic waves, then you have no choice but to choose your timestep based on the dx/|u+c|. Physically, this implies that an acoustic wave cannot travel more than one computational cell in a timestep. And that implies a fully explicit scheme.
Does that mean,in a real flow, it involves many timescales,but the time march step size or the time integration scheme depends on our need? for example, in the finite rate reacting flow, the involves convection/diffusion and reacting of different time scale, but I only focus on the change of a specific species(if the reacting time scale of this species is neither the largest or the smallest),so we can ignore the other species which have smaller time scale by implicit way( if the can treat individually)?

So my opinion is ,in a transient flow simulation, we can only focus on the specific time scale we want to know, and ignore the other time scales?( fulfill the stability criterion)

Thanks.
dli is offline   Reply With Quote

Reply

Tags
time integration, transient problem


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
High Courant Number @ icoFoam Artex85 OpenFOAM Running, Solving & CFD 11 February 16, 2017 14:40
mixerVesselAMI2D's mass is not balancing sharonyue OpenFOAM Running, Solving & CFD 6 June 10, 2013 10:34
Low Mixing time Problem Mavier CFX 5 April 29, 2013 01:00
Convergence criterion when using dual time stepping abonfi SU2 7 April 18, 2013 14:05
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03


All times are GMT -4. The time now is 21:34.