Files
OpenFOAM-12/etc/codeTemplates/dynamicCode/fluidThermo
Henry Weller 78ef8e1eb0 etc/codeTemplates/dynamicCode: Added basicChemistryModel dynamic compilation support
for chemFoam, fireFoam, buoyantReactingFoam, reactingFoam, chtMultiRegionFoam,
buoyantReactingParticleFoam, reactingParticleFoam, simpleReactingParticleFoam

If the combination of chemistry model and solver selected in chemistryProperties
is not already compiled and present in the standard libraries for the selected
thermophysical properties the chemistry package will be constructed and compiled
automatically using the standard dynamicCode system provided in OpenFOAM.

The chemistry package is constructed automatically from the
etc/codeTemplates/dynamicCode/basicChemistryModel.* files, if these files do not
exist the standard chemistry lookup error message is generated as before.

As with all other dynamicCode options in OpenFOAM (codeStream,
codedFunctionObject etc.) dynamic compilation of the chemistry package is only
enabled if allowSystemOperations is set true.
2021-04-20 16:37:12 +01:00

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
{
version 2.0;
format ascii;
class dictionary;
object fluidThermo;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
type
(
hePsiThermo
heRhoThermo
);
typeBase
(
hePsiThermo psiThermo
heRhoThermo rhoThermo
);
energy
(
sensibleEnthalpy
absoluteEnthalpy
sensibleInternalEnergy
absoluteInternalEnergy
);
mixture
(
pureMixture
);
transport
(
const
icoTabulated
logPolynomial
polynomial
sutherland
tabulated
WLF
);
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)/transportModels/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/finiteVolume/lnInclude
#};
// ************************************************************************* //