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

determination of time step in transient simulation

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By Mani

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 4, 2007, 23:13
Default determination of time step in transient simulation
  #1
Guillaume Jolly
Guest
 
Posts: n/a
Hi guys

Just a quick question. (maybe with a long answer) How do you determine the time step duration in a transient simulation?

  Reply With Quote

Old   April 5, 2007, 04:26
Default Re: determination of time step in transient simula
  #2
p
Guest
 
Posts: n/a
cfl crit 1 of many.
  Reply With Quote

Old   April 5, 2007, 08:37
Default Re: determination of time step in transient simula
  #3
Mani
Guest
 
Posts: n/a
I'll try to make it short. The time step in transient simulations is determined by two considerations: numerical stability and accuracy.

Stability may require small time steps, depending on the type of numerical scheme you are using to advance the solution in time. It's typically only an issue with explicit schemes, whereas implicit schemes can handle large time steps.

For accuracy, the time step has to be small enough to resolve all essential flow phenomena. How do you know the important time scales in advance, before even running the simulation? Well, you don't exactly know it, but you should know enough about your case to make a reasonable estimate. For example, to solve the unsteady flow on an oscillating airfoil, you would choose the time step small enough to have a certain number of steps (say 50) within each oscillation period. Likewise, you would want to resolve the motion of a piston in the cylinder of a combustion engine with a resonable number of time steps per cycle. If you're solving a case with intrinsically unsteady flow (like vortex shedding), you need to estimate the dominant frequency (maybe known from experiements) and again choose a reasonable number of time steps per period to resolve the flow. All these cases are periodic in some sense, but even if it's not periodic, you need to know enough to get a ball-park figure of the time step necessary to resolve the dominant time scale.

It should be obvious that the stronger consideration (stability or accuracy) will determine the time step. For example, if your explicit scheme requires a time step of 1 sec, and accuracy demands a time step of 2 sec, you'll have to go with 1 sec. (Implicit schemes are very popular for the reason that you can concentrate on accuracy, without having to worry about stability).

All the above will get you started, but when you are facing a new problem, you will ultimately perform a (grid and) time resolution study, i.e. use various time steps, around the order of magnitude of your initial estimate, in order to find the actual requirements. You may sometimes be surprised by a flow phenomenon you did not expect.
kurubin likes this.
  Reply With Quote

Old   April 9, 2007, 20:13
Default Re: determination of time step in transient simula
  #4
Guillaume Jolly
Guest
 
Posts: n/a
Thanks a lot for that mani, that really helps me to understand the whole picture.
  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
Adding heat source to chtMultiRegionFoam maddalena OpenFOAM Programming & Development 61 February 17, 2018 08:33
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
time step and iterations in steady state problem using transient solver jing113cn FLUENT 2 January 15, 2010 03:18
transient behavior dependent on time step Fab Main CFD Forum 2 May 29, 2008 11:38
Could anybody help me see this error and give help liugx212 OpenFOAM Running, Solving & CFD 3 January 4, 2006 18:07


All times are GMT -4. The time now is 10:05.