OpenFOAM guide/The SIMPLE algorithm in OpenFOAM
1 The SIMPLE algorithm
The Navier-Stokes equations for a single-phase flow with a constant density and viscosity are the following:
The solution of this couple of equations is not straightforward because an explicit equation for the pressure is not available. One of the most common approaches is to derive an equation for the pressure by taking the divergence of the momentum equation and by substituting it in the continuity equation.
The momentum equation can be re-written in a semi discretised form as follows:
where
The first term of represents the matrix coefficients of the neighbouring cells multiplied by their velocity, while the second part contains the unsteady term and all the sources except the pressure gradient.
The continuity equation is discretised as:
where is outward-pointing face area vector and the velocity on the face.
The velocity on the face is obtained by interpolating the semi discretised form of the momentum equation as follows:
By substituting this equation into the discretised continuity equation obtained above, we obtain the pressure equation: