OpenFOAM-5.x/applications/solvers
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
..
basic laplacianFoam: Added support for fvOptions 2016-07-08 11:34:00 +01:00
combustion thermophysicalProperties: New base-class for liquidProperties and in the future gasProperties 2017-02-18 21:53:20 +00:00
compressible rhoSimpleFoam: added support for compressible liquid flows 2017-02-24 11:18:01 +00:00
discreteMethods Descriptions of solvers corrected and made more consistent and more user-friendly 2016-06-09 18:59:40 +01:00
DNS/dnsFoam Descriptions of solvers corrected and made more consistent and more user-friendly 2016-06-09 18:59:40 +01:00
electromagnetics Removed trailing blank lines 2017-01-19 20:17:47 +00:00
financial/financialFoam Standardized the naming of functions which control the writing of fields etc. 2016-05-12 17:38:01 +01:00
heatTransfer Removed trailing blank lines 2017-01-19 20:17:47 +00:00
incompressible fvPatchFields: Constructors from dictionary now call the corresponding constructor of the fvPatchField base-class 2016-09-25 09:11:53 +01:00
lagrangian thermophysicalProperties: New base-class for liquidProperties and in the future gasProperties 2017-02-18 21:53:20 +00:00
multiphase thermophysicalProperties: New base-class for liquidProperties and in the future gasProperties 2017-02-18 21:53:20 +00:00
stressAnalysis C++11: Replaced the C NULL with the safer C++11 nullptr 2016-08-05 17:19:38 +01:00