OpenFOAM-5.x/src
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
..
combustionModels Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
conversion src/conversion/ensight: Specify std::isnan 2016-04-04 12:51:33 +01:00
dummyThirdParty scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
dynamicFvMesh septernion: Changed definition of the forward transformation for consistency with spatialTransform 2016-04-15 11:27:18 +01:00
dynamicMesh vector::zero -> Zero 2016-04-16 18:34:41 +01:00
edgeMesh vector::zero -> Zero 2016-04-16 18:34:41 +01:00
engine Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +00:00
fileFormats Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +00:00
finiteVolume fireFoam: Added optional hydrostatic initialization of the pressure and density 2016-04-23 10:04:39 +01:00
fvAgglomerationMethods Use Zero rather than pTraits<Type>::zero unless a static typed '0' is required 2016-03-22 17:46:52 +00:00
fvMotionSolver vector::zero -> Zero 2016-04-16 18:34:41 +01:00
fvOptions vector::zero -> Zero 2016-04-16 18:34:41 +01:00
genericPatchFields Rationalized the indentation of C-preprocessor directives 2016-02-29 15:42:03 +00:00
lagrangian BrownianMotionForce: Corrected expression for s0 2016-04-17 15:39:09 +01:00
mesh vector::zero -> Zero 2016-04-16 18:34:41 +01:00
meshTools vector::zero -> Zero 2016-04-16 18:34:41 +01:00
ODE SquareMatrix, SymmetricSquareMatrix: Changed the constructor from size to require only n 2016-03-22 14:13:48 +00:00
OpenFOAM dictionary: Corrected topDict() 2016-04-21 21:08:56 +01:00
OSspecific/POSIX Removed duplicate, inconsistent and spurious comments in .C files 2016-02-29 18:33:54 +00:00
parallel UList: Rationalize assignment (shallow-copy vs deep-copy) 2016-04-03 10:26:05 +01:00
postProcessing foamCalcFunctions: Avoid the inclusion of fvCFD.H 2016-04-22 14:21:50 +01:00
Pstream src/Pstream/mpi/UPstream.C: Updated for Int64 2016-04-16 13:26:41 +01:00
randomProcesses OpenFOAM: Updated all libraries, solvers and utilities to use the new const-safe tmp 2016-02-26 17:31:28 +00:00
regionCoupled messageStream: Added DebugInfo and DebugInFunction: 2016-03-04 11:30:13 +00:00
regionModels thermoSingleLayer: Corrected handling of non-constant Cp 2016-04-23 10:03:40 +01:00
renumber UList: Rationalize assignment (shallow-copy vs deep-copy) 2016-04-03 10:26:05 +01:00
rigidBodyDynamics rigidBodyDynamics: Generalized the interface to the restraints 2016-04-19 21:58:10 +01:00
rigidBodyMeshMotion rigidBodyDynamics: Added support for running in parallel 2016-04-19 10:32:25 +01:00
sampling vector::zero -> Zero 2016-04-16 18:34:41 +01:00
sixDoFRigidBodyMotion Updated header 2016-04-18 15:40:57 +01:00
surfMesh UList: Rationalize assignment (shallow-copy vs deep-copy) 2016-04-03 10:26:05 +01:00
thermophysicalModels vector::zero -> Zero 2016-04-16 18:34:41 +01:00
topoChangerFvMesh Use Zero rather than pTraits<Type>::zero unless a static typed '0' is required 2016-03-22 17:46:52 +00:00
transportModels Updated Doxygen documentation and files 2016-03-14 11:00:24 +00:00
triSurface vector::zero -> Zero 2016-04-16 18:34:41 +01:00
TurbulenceModels externalWallHeatFluxTemperatureFvPatchScalarField: Corrected handling of QrPrevious_ 2016-04-16 18:43:51 +01:00
Allwmake src/Allwmake: Added the new rigidBodyMeshMotion library 2016-04-19 11:11:22 +01:00