fluidThermo::hydrostaticInitialisation: Generalised hydrostatic initialisation of pressure

for buoyant solvers buoyantPimpleFoam, buoyantSimpleFoam and
buoyantReactingFoam:

Class
    Foam::hydrostaticInitialisation

Description
    Optional hydrostatic initialisation of p_rgh and p by solving for and
    caching the hydrostatic ph_rgh and updating the density such that

        p = ph_rgh + rho*gh + pRef

    This initialisation process is applied at the beginning of the run (not on
    restart) if the \c hydrostaticInitialisation switch is set true in
    fvSolution/PIMPLE or fvSolution/SIMPLE.  The calculation is iterative if the
    density is a function of pressure and an optional number of iterations \c
    nHydrostaticCorrectors may be specified which defaults to 5.
This commit is contained in:
Henry Weller
2021-06-01 11:57:55 +01:00
parent 4344414d0c
commit 789bdc02c3
11 changed files with 242 additions and 76 deletions

View File

@ -98,7 +98,7 @@ PIMPLE
nCorrectors 2;
nNonOrthogonalCorrectors 0;
hydrostaticInitialization yes;
hydrostaticInitialisation yes;
nHydrostaticCorrectors 5;
}

View File

@ -89,7 +89,7 @@ PIMPLE
nCorrectors 2;
nNonOrthogonalCorrectors 0;
hydrostaticInitialization yes;
hydrostaticInitialisation yes;
nHydrostaticCorrectors 5;
}