No description
Find a file
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
applications fireFoam: Added optional hydrostatic initialization of the pressure and density 2016-04-23 10:04:39 +01:00
bin foamNewFunctionObject: script to create template code for a new function object 2016-03-22 17:40:03 +00:00
doc codingStyleGuide: Corrected sectioning 2016-04-20 10:33:19 +01:00
etc Updated handling of the ParaView installation path 2016-03-30 19:26:01 +01:00
src fireFoam: Added optional hydrostatic initialization of the pressure and density 2016-04-23 10:04:39 +01:00
tutorials fireFoam: Added optional hydrostatic initialization of the pressure and density 2016-04-23 10:04:39 +01:00
wmake applications/.*/Allwmake: Updated to support "stop on 1st error" 2016-04-04 09:03:40 +01:00
.gitignore scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
Allwmake scripts: Reformat with consistent section separators 2016-02-15 18:30:24 +00:00
COPYING Add licence and README 2014-12-10 15:50:51 +00:00
README.org README.org: Added link to the OpenFOAM C++ Style Guide 2016-04-20 18:23:59 +01:00

README for OpenFOAM-dev

#

About OpenFOAM

OpenFOAM is a free, open source computational fluid dynamics (CFD) software package released by the OpenFOAM Foundation. It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to solid dynamics and electromagnetics.

Copyright

OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. See the file COPYING in this directory or http://www.gnu.org/licenses/, for a description of the GNU General Public License terms under which you can copy the files.