CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   SLTS (local time step) example (https://www.cfd-online.com/Forums/openfoam/64952-slts-local-time-step-example.html)

CapSizer May 29, 2009 09:13

SLTS (local time step) example
 
In a lot of CFD methods it is standard practice to use local time-stepping to obtain steady-state answers much more quickly from a transient solver. I see that SLTS (Stabilised Local Time Step) is a ddt scheme that is available, but I cannot find any meaningful advice on how to use it. The source code asks for "The name of the flux field used to calculate the local time-step" as an option, and when you run the solver, it says that it wants a surfaceScalarField for this. Has anybody here used SLTS?

AcfdO November 29, 2011 18:49

This should work:

ddtSchemes
{
default SLTS phi rho 0.5
}

The first term is surfaceScalarFiled the second is the density, for example if you are using buoyantBoussinesqFoam you may need to use rhok as density, and the last term is max CFL number.


All times are GMT -4. The time now is 04:03.