|
[Sponsors] |
determination of time step in transient simulation |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 5, 2007, 00:13 |
determination of time step in transient simulation
|
#1 |
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? |
|
April 5, 2007, 05:26 |
Re: determination of time step in transient simula
|
#2 |
Guest
Posts: n/a
|
cfl crit 1 of many.
|
|
April 5, 2007, 09:37 |
Re: determination of time step in transient simula
|
#3 |
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. |
|
April 9, 2007, 21:13 |
Re: determination of time step in transient simula
|
#4 |
Guest
Posts: n/a
|
Thanks a lot for that mani, that really helps me to understand the whole picture.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Adding heat source to chtMultiRegionFoam | maddalena | OpenFOAM Programming & Development | 61 | February 17, 2018 09:33 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
time step and iterations in steady state problem using transient solver | jing113cn | FLUENT | 2 | January 15, 2010 04:18 |
transient behavior dependent on time step | Fab | Main CFD Forum | 2 | May 29, 2008 12:38 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |