|
[Sponsors] |
November 30, 2013, 00:48 |
Minimum Time Step with Navier Stokes
|
#1 |
New Member
Join Date: Nov 2013
Posts: 5
Rep Power: 13 |
Hello,
I am a bit of a newbie at CFD. I am trying to determine what the minimum time step would be when solving the N-S equations for a lid-driven cavity flow (2D) in order to achieve stability. The flow is incompressible, viscous, and the results I am interested in are at steady state. I am using a finite difference method with a co-located grid. I'm really not sure how to even approach this problem and any advice on what I need to do to find the time step would be greatly appreciated. Thank you very much for any and all replies. |
|
November 30, 2013, 05:27 |
|
#2 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
I don't see your type of discretization, Re number and number of cells. I can suggest a rude approximation for evaluating a practical dt in case of Re sufficiently high: dt_p*(umax/dx+vmax/dy)<1 --> dt = alpha*dt_p (alpha = 0.1 - 0.5) |
||
November 30, 2013, 11:18 |
|
#3 | |
New Member
Join Date: Nov 2013
Posts: 5
Rep Power: 13 |
Quote:
I'm not sure exactly what you mean by dt_p? And the value of alpha is dependent on Re? |
||
November 30, 2013, 11:26 |
|
#4 |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
what about the time-integration scheme?
|
|
November 30, 2013, 11:40 |
|
#5 |
New Member
Join Date: Nov 2013
Posts: 5
Rep Power: 13 |
I am using an Explicit Time Advance scheme.
I calculate the combination of the advective and viscous terms and its divergence from the initial velocity field. I solve Poisson's equation for pressure and then compute the velocity field at the next time step. I hope that answers your question. |
|
November 30, 2013, 12:42 |
|
#6 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
dt_d*(1/dx^2 + 1/dy^2)/Re <1/2. As your sistem is non linear such value should be furhter reduced |
||
November 30, 2013, 12:52 |
|
#7 |
New Member
Join Date: Nov 2013
Posts: 5
Rep Power: 13 |
Well perhaps I have other errors in my code but this produces a far larger time step than I have been using and it is immediately unstable. From where did you derive this equation for stability?
If I have a square that I have divided into a grid of 100 points with delta x = delta y = 0.1 that gives me a time step of 1 second per your equation? |
|
November 30, 2013, 13:23 |
|
#8 | |
Senior Member
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,896
Rep Power: 73 |
Quote:
The constraint comes from the linear stabilty analysis of the parabolic equation dphi/dt=Gamma* Lap Phi, discretized with the FTCS scheme Assuming a grid formed by 10x10 cells (dx=dy=0.1) you simply have dt_d < 0.25. Therefore dt =0.1 should work. If you see instability after few time-steps then there is an error in the code |
||
November 30, 2013, 13:27 |
|
#9 | |
New Member
Join Date: Nov 2013
Posts: 5
Rep Power: 13 |
Quote:
|
||
Tags |
finite difference method, navier-stokes, stability |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
High Courant Number @ icoFoam | Artex85 | OpenFOAM Running, Solving & CFD | 11 | February 16, 2017 14:40 |
Rapidly decreasing deltaT for interDyMFoam | chrisb2244 | OpenFOAM Running, Solving & CFD | 3 | July 1, 2014 17:40 |
Sudden jump in Courant number | NJG | OpenFOAM Running, Solving & CFD | 7 | May 15, 2014 14:52 |
Full pipe 3D using icoFoam | cyberbrain | OpenFOAM | 4 | March 16, 2011 10:20 |
Could anybody help me see this error and give help | liugx212 | OpenFOAM Running, Solving & CFD | 3 | January 4, 2006 19:07 |