Functions
pisoScalarFoam.C File Reference

Transient solver for incompressible flow. More...

Include dependency graph for pisoScalarFoam.C:

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 

Detailed Description

Transient solver for incompressible flow.

Original source file pisoScalarFoam.C


Solver details
The solver uses the PISO algorithm to solve the continuity equation:

\[ \div \vec{U} = 0 \]

and momentum equation:

\[ \ddt{\vec{U}} + \div \left( \vec{U} \vec{U} \right) - \div \gvec{R} = - \grad p \]

Where:

$ \vec{U} $ = Velocity
$ p $ = Pressure
$ \vec{R} $ = Stress tensor

Sub-models include:


Required fields

U : Velocity [m/s]
p : Kinematic pressure, p/rho [m2/s2]
<turbulence fields> : As required by user selection

Definition in file pisoScalarFoam.C.

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 96 of file pisoScalarFoam.C.

References singlePhaseTransportModel::correct(), pimpleControl::correct(), Foam::endl(), Foam::Info, laminarTransport(), mesh, Foam::nl, and turbulence.

Here is the call graph for this function: