simpleFoam.C File Reference

Steady-state solver for incompressible, turbulent flows. More...

Go to the source code of this file.

Steady-state solver for incompressible, turbulent flows.

**Original source file** simpleFoam.C

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

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

and momentum equation:

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

Where:

\( \vec{U} \) | = | Velocity |

\( p \) | = | Pressure |

\( \vec{R} \) | = | Stress tensor |

\( \vec{S}_U \) | = | Momentum source |

**Required fields**

U | : | Velocity [m/s] |

p | : | Kinematic pressure, p/rho [m2/s2] |

<turbulence fields> | : | As required by user selection |

Definition in file simpleFoam.C.