No description
Find a file
Henry Weller 655fc78748 rhoSimpleFoam: added support for compressible liquid flows
rhoSimpleFoam now instantiates the lower-level fluidThermo which instantiates
either a psiThermo or rhoThermo according to the 'type' specification in
thermophysicalProperties, e.g.

thermoType
{
    type            hePsiThermo;
    mixture         pureMixture;
    transport       sutherland;
    thermo          janaf;
    equationOfState perfectGas;
    specie          specie;
    energy          sensibleInternalEnergy;
}

instantiates a psiThermo for a perfect gas with JANAF thermodynamics, whereas

thermoType
{
    type            heRhoThermo;
    mixture         pureMixture;
    properties      liquid;
    energy          sensibleInternalEnergy;
}

mixture
{
    H2O;
}

instantiates a rhoThermo for water, see new tutorial
compressible/rhoSimpleFoam/squareBendLiq.

In order to support complex equations of state the pressure can no longer be
unlimited and rhoSimpleFoam now limits the pressure rather than the density to
handle start-up more robustly.

For backward compatibility 'rhoMin' and 'rhoMax' can still be used in the SIMPLE
sub-dictionary of fvSolution which are converted into 'pMax' and 'pMin' but it
is better to set either 'pMax' and 'pMin' directly or use the more convenient
'pMinFactor' and 'pMinFactor' from which 'pMax' and 'pMin' are calculated using
the fixed boundary pressure or reference pressure e.g.

SIMPLE
{
    nNonOrthogonalCorrectors 0;

    pMinFactor      0.1;
    pMaxFactor      1.5;

    transonic       yes;
    consistent      yes;

    residualControl
    {
        p               1e-3;
        U               1e-4;
        e               1e-3;
        "(k|epsilon|omega)" 1e-3;
    }
}
2017-02-24 11:18:01 +00:00
applications rhoSimpleFoam: added support for compressible liquid flows 2017-02-24 11:18:01 +00:00
bin Corrected spelling mistake 2017-01-26 20:18:50 +00:00
doc Allwmake: Remove 'set -x' which generates a lot of noise 2016-11-13 18:08:22 +00:00
etc rhoSimpleFoam: added support for compressible liquid flows 2017-02-24 11:18:01 +00:00
src rhoSimpleFoam: added support for compressible liquid flows 2017-02-24 11:18:01 +00:00
tutorials rhoSimpleFoam: added support for compressible liquid flows 2017-02-24 11:18:01 +00:00
wmake Allwmake: Provides clearer message when OpenFOAM environment is not loaded 2017-01-28 17:57:13 +00:00
.gitignore .gitignore: Ignore emacs projectile configuration files 2016-11-09 11:23:20 +00:00
Allwmake Allwmake: Provides clearer message when OpenFOAM environment is not loaded 2017-01-28 17:57:13 +00:00
COPYING Add licence and README 2014-12-10 15:50:51 +00:00
README.org Updated and simplified the Doxygen documentation 2016-06-20 21:20:28 +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.