solidThermo: Added support for run-time compilation
This required standardisation of the mapping between the class and selection names of the solid transport models: constIso -> constIsoSolid exponential -> exponentialSolid polynomial -> polynomialSolid
This commit is contained in:
76
etc/codeTemplates/dynamicCode/solidThermo
Normal file
76
etc/codeTemplates/dynamicCode/solidThermo
Normal file
@ -0,0 +1,76 @@
|
||||
/*--------------------------------*- 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 solidThermo;
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
type
|
||||
(
|
||||
heSolidThermo
|
||||
);
|
||||
|
||||
typeBase
|
||||
(
|
||||
heSolidThermo solidThermo
|
||||
);
|
||||
|
||||
energy
|
||||
(
|
||||
sensibleInternalEnergy
|
||||
);
|
||||
|
||||
mixture
|
||||
(
|
||||
pureMixture
|
||||
);
|
||||
|
||||
transport
|
||||
(
|
||||
constIsoSolid
|
||||
constAnIsoSolid
|
||||
exponentialSolid
|
||||
polynomialSolid
|
||||
);
|
||||
|
||||
thermo
|
||||
(
|
||||
eConst
|
||||
ePolynomial
|
||||
ePower
|
||||
eIcoTabulated
|
||||
);
|
||||
|
||||
equationOfState
|
||||
(
|
||||
rhoConst
|
||||
);
|
||||
|
||||
specie
|
||||
(
|
||||
specie
|
||||
);
|
||||
|
||||
codeOptions
|
||||
#{
|
||||
EXE_INC = \
|
||||
-I$(LIB_SRC)/physicalProperties/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/solidSpecie/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
|
||||
-I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \
|
||||
-I$(LIB_SRC)/meshTools/lnInclude \
|
||||
-I$(LIB_SRC)/finiteVolume/lnInclude
|
||||
#};
|
||||
|
||||
|
||||
// ************************************************************************* //
|
||||
Reference in New Issue
Block a user