The old fluid-specific rhoThermo has been split into a non-fluid specific part which is still called rhoThermo, and a fluid-specific part called rhoFluidThermo. The rhoThermo interface has been added to the solidThermo model. This permits models and solvers that access the density to operate on both solid and fluid thermophysical models.
101 lines
1.7 KiB
C++
101 lines
1.7 KiB
C++
/*--------------------------------*- C++ -*----------------------------------*\
|
|
========= |
|
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
|
\\ / O peration | Website: https://openfoam.org
|
|
\\ / A nd | Version: dev
|
|
\\/ M anipulation |
|
|
\*---------------------------------------------------------------------------*/
|
|
FoamFile
|
|
{
|
|
format ascii;
|
|
class dictionary;
|
|
object fluidThermo;
|
|
}
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
type
|
|
(
|
|
hePsiThermo
|
|
heRhoThermo
|
|
);
|
|
|
|
typeRenamed
|
|
(
|
|
hePsiThermo psiThermo
|
|
heRhoThermo rhoFluidThermo
|
|
);
|
|
|
|
energy
|
|
(
|
|
sensibleEnthalpy
|
|
absoluteEnthalpy
|
|
sensibleInternalEnergy
|
|
absoluteInternalEnergy
|
|
);
|
|
|
|
mixture
|
|
(
|
|
pureMixture
|
|
);
|
|
|
|
transport
|
|
(
|
|
const
|
|
icoTabulated
|
|
logPolynomial
|
|
polynomial
|
|
sutherland
|
|
tabulated
|
|
WLF
|
|
Andrade
|
|
);
|
|
|
|
thermo
|
|
(
|
|
eConst
|
|
eIcoTabulated
|
|
ePolynomial
|
|
ePower
|
|
eTabulated
|
|
hConst
|
|
hIcoTabulated
|
|
hPolynomial
|
|
hPower
|
|
hTabulated
|
|
janaf
|
|
);
|
|
|
|
equationOfState
|
|
(
|
|
adiabaticPerfectFluid
|
|
Boussinesq
|
|
icoPolynomial
|
|
icoTabulated
|
|
incompressiblePerfectGas
|
|
linear
|
|
PengRobinsonGas
|
|
perfectFluid
|
|
perfectGas
|
|
rhoConst
|
|
rhoTabulated
|
|
rPolynomial
|
|
);
|
|
|
|
specie
|
|
(
|
|
specie
|
|
);
|
|
|
|
codeOptions
|
|
#{
|
|
EXE_INC = \
|
|
-I$(LIB_SRC)/physicalProperties/lnInclude \
|
|
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
|
|
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
|
|
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
|
-I$(LIB_SRC)/finiteVolume/lnInclude
|
|
#};
|
|
|
|
|
|
// ************************************************************************* //
|