diff --git a/etc/codeTemplates/dynamicCode/psiThermo b/etc/codeTemplates/dynamicCode/psiThermo deleted file mode 120000 index 21356b5380..0000000000 --- a/etc/codeTemplates/dynamicCode/psiThermo +++ /dev/null @@ -1 +0,0 @@ -fluidThermo \ No newline at end of file diff --git a/etc/codeTemplates/dynamicCode/psiThermo b/etc/codeTemplates/dynamicCode/psiThermo new file mode 100644 index 0000000000..229dcea2f6 --- /dev/null +++ b/etc/codeTemplates/dynamicCode/psiThermo @@ -0,0 +1,90 @@ +/*--------------------------------*- 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 +); + +baseType +( + hePsiThermo psiThermo +); + +energy +( + sensibleEnthalpy + absoluteEnthalpy + sensibleInternalEnergy + absoluteInternalEnergy +); + +mixture +( + pureMixture +); + +transport +( + const + logPolynomial + polynomial + sutherland + tabulated + WLF +); + +thermo +( + eConst + ePolynomial + ePower + eTabulated + hConst + hPolynomial + hPower + hTabulated + janaf +); + +equationOfState +( + PengRobinsonGas + perfectGas +); + +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 +#}; + +codeLibs +#{ +LIB_LIBS = \ + -ltransportModels \ + -lspecie \ + -lthermophysicalProperties \ + -lfluidThermophysicalModels \ + -lfiniteVolume +#}; + + +// ************************************************************************* // diff --git a/etc/codeTemplates/dynamicCode/psiuReactionThermo b/etc/codeTemplates/dynamicCode/psiuReactionThermo new file mode 100644 index 0000000000..6c4ba1f358 --- /dev/null +++ b/etc/codeTemplates/dynamicCode/psiuReactionThermo @@ -0,0 +1,89 @@ +/*--------------------------------*- 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 psiuReactionThermo; +} +// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // + +type +( + heheuPsiThermo +); + +baseType +( + heheuPsiThermo psiuReactionThermo +); + +energy +( + absoluteEnthalpy + absoluteInternalEnergy +); + +mixture +( + egrMixture + homogeneousMixture + inhomogeneousMixture + veryInhomogeneousMixture +); + +transport +( + const + logPolynomial + polynomial + sutherland + tabulated +); + +thermo +( + eConst + ePolynomial + ePower + eTabulated + hConst + hPolynomial + hPower + hTabulated + janaf +); + +equationOfState +( + PengRobinsonGas + perfectGas +); + +codeOptions +#{ +EXE_INC = \ + -I$(LIB_SRC)/transportModels/lnInclude \ + -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ + -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ + -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ + -I$(LIB_SRC)/finiteVolume/lnInclude +#}; + +codeLibs +#{ +LIB_LIBS = \ + -ltransportModels \ + -lspecie \ + -lfluidThermophysicalModels \ + -lfiniteVolume +#}; + + +// ************************************************************************* // diff --git a/etc/codeTemplates/dynamicCode/psiuReactionThermo.C b/etc/codeTemplates/dynamicCode/psiuReactionThermo.C new file mode 120000 index 0000000000..3bbd8a9edc --- /dev/null +++ b/etc/codeTemplates/dynamicCode/psiuReactionThermo.C @@ -0,0 +1 @@ +fluidThermo.C \ No newline at end of file