CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   Courant Number (

NickolasPl August 30, 2011 03:38

Courant Number
Hello everyone,

I m working on a steady state problem in simpleFoam folder with turbulence off, as I study steady-state, incompressible and laminar flows (polymers to be exact)
with power - law or Bird - Carreau viscosity models. As simpleFoam runs in "steady state" does the Courant number comes into the solution? I mean, the timesteps performed in simpleFoam are actually the time of iterations until the solution is obtained?
And based on the above, should I choose a small timestep (e.g. 0.0001) and perform simulations from 0 to 1 or should I broaden it from 0 to say 100??

Thank you in advance!


eysteinn August 30, 2011 04:33

Hi Nickolas.

The CFL number is used for unsteady flow.
And yes you are correct the timesteps are actually the iterations.
( For steady flow your deltaT should be 1 and then end time is your
max number of iterations. )


NickolasPl August 30, 2011 04:48

Ah okay....I understand now, thanks a lot!
Did you read this on OF manual or somewhere else?


eysteinn August 30, 2011 04:59

I can't remember where I got this from.

Did a very quick search in the documentation and the best
I could find now was this:
see Control

The time step is not important since this is a steady state case; in this situation it is best to set the time step deltaT to 1 so it simply acts as an iteration counter for the steady-state case. The endTime, set to 100, then acts as a limit on the number of iterations.


All times are GMT -4. The time now is 01:24.