OpenFOAM-5.x/tutorials
Henry Weller 2c6b405043 fireFoam: Added optional hydrostatic initialization of the pressure and density
Also added the new prghTotalHydrostaticPressure p_rgh BC which uses the
hydrostatic pressure field as the reference state for the far-field
which provides much more accurate entrainment is large open domains
typical of many fire simulations.

The hydrostatic field solution is controlled by the optional entries in
the fvSolution.PIMPLE dictionary, e.g.

    hydrostaticInitialization yes;
    nHydrostaticCorrectors 5;

and the solver must also be specified for the hydrostatic p_rgh field
ph_rgh e.g.

    ph_rgh
    {
        $p_rgh;
    }

Suitable boundary conditions for ph_rgh cannot always be derived from
those for p_rgh and so the ph_rgh is read to provide them.

To avoid accuracy issues with IO, restart and post-processing the p_rgh
and ph_rgh the option to specify a suitable reference pressure is
provided via the optional pRef file in the constant directory, e.g.

    dimensions      [1 -1 -2 0 0 0 0];
    value           101325;

which is used in the relationship between p_rgh and p:

    p = p_rgh + rho*gh + pRef;

Note that if pRef is specified all pressure BC specifications in the
p_rgh and ph_rgh files are relative to the reference to avoid round-off
errors.

For examples of suitable BCs for p_rgh and ph_rgh for a range of
fireFoam cases please study the tutorials in
tutorials/combustion/fireFoam/les which have all been updated.

Henry G. Weller
CFD Direct Ltd.
2016-04-23 10:04:39 +01:00
..
basic scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
combustion fireFoam: Added optional hydrostatic initialization of the pressure and density 2016-04-23 10:04:39 +01:00
compressible tutorials/compressible/rhoSimpleFoam/angledDuctExplicitFixedCoeff: Updated for change in U boundary condition update order 2016-02-18 21:15:57 +00:00
discreteMethods scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
DNS/dnsFoam/boxTurb16 scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
electromagnetics scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
financial/financialFoam/europeanCall tutorials: Removed unnecessary "boundary" files 2015-11-13 20:05:37 +00:00
heatTransfer Sprucing up the tutorials folder and adding -dict to "collapseEdges" 2016-03-06 19:06:44 +00:00
incompressible tutorials/incompressible/pisoFoam/les/motorBike: Corrected typos 2016-04-21 21:13:10 +01:00
lagrangian Specialized dotInterpolate for the efficient calculation of flux fields 2016-04-06 20:20:53 +01:00
mesh Sprucing up the tutorials folder and adding -dict to "collapseEdges" 2016-03-06 19:06:44 +00:00
multiphase reactingTwoPhaseEulerFoam: Corrected kineticTheory frictional stress at walls 2016-04-22 14:25:58 +01:00
resources/geometry Add the OpenFOAM source tree 2014-12-10 22:40:10 +00:00
stressAnalysis tutorials: Removed unnecessary "boundary" files 2015-11-13 20:05:37 +00:00
Allclean scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Allrun Sprucing up the tutorials folder and adding -dict to "collapseEdges" 2016-03-06 19:06:44 +00:00
Alltest scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00