TRUST 1.9.8
HPC thermohydraulic platform
Loading...
Searching...
No Matches
Description of the initial projection

In TRUST, an initial pressure is not required from the user. The determination of the initial pressure is handled in Navier_Stokes_std::preparer_calcul, using an approach similar to the correction step of the Chorin algorithm.

Goal

We need to find the initial pressure that corrects the initial velocity to be divergence-free at every cell. Even if the initial velocity is globally divergence-free, it is not necessarily divergence-free at each cell of the mesh.

Let \(U^{ini}\) be the initial velocity given by the user and \(U^0\) the real velocity used to launch the algorithm. The velocity \(U^0\) satisfies:

\[\begin{aligned} \mathbb{M}\frac{U^0 - U^{ini}}{\delta t^0} + \mathbb{B}^t P^0 &= 0 \\ \mathbb{B} U^0 &= 0 \end{aligned} \]

Initial Pressure Computation

Multiplying the first equation by \(\mathbb{B}\mathbb{M}^{-1}\) and using the divergence-free condition, the initial pressure is computed by solving:

\[\delta t^0\,\mathbb{B}\mathbb{M}^{-1}\mathbb{B}^t P^0 = \mathbb{B} U^{ini} \]

The initial velocity is then recovered as:

\[U^0 = U^{ini} - \delta t^0\,\mathbb{M}^{-1}\mathbb{B}^t P^0 \]

Note
Some keywords allow modification of this initial pressure system: it is possible to impose an initial pressure or use the source term to find the correct pressure.

Once the initial values of velocity and pressure are determined, the projection algorithms can proceed. See List of the available projection methods for the list of available projection methods.