Merge branch 'thermo-ext' into 'develop'

Thermo ext

See merge request Development/openfoam!424
This commit is contained in:
Andrew Heather
2021-02-22 16:49:01 +00:00
12 changed files with 163 additions and 15 deletions

View File

@ -6,11 +6,13 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \ -I$(LIB_SRC)/transportModels/compressible/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude
EXE_LIBS = \ EXE_LIBS = \
-lfiniteVolume \ -lfiniteVolume \
-lmeshTools \ -lmeshTools \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lchemistryModel -lchemistryModel \
-lthermophysicalProperties

View File

@ -1,9 +1,11 @@
EXE_INC = \ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude
EXE_LIBS = \ EXE_LIBS = \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lcompressibleTransportModels \ -lcompressibleTransportModels \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie -lspecie \
-lthermophysicalProperties

View File

@ -8,6 +8,7 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/chemistryModel/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/turbulenceModels/lnInclude \
-I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \ -I$(LIB_SRC)/TurbulenceModels/compressible/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude
LIB_LIBS = \ LIB_LIBS = \
-lfiniteVolume \ -lfiniteVolume \
@ -18,4 +19,5 @@ LIB_LIBS = \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lchemistryModel \ -lchemistryModel \
-lturbulenceModels \ -lturbulenceModels \
-lcompressibleTurbulenceModels -lcompressibleTurbulenceModels \
-lthermophysicalProperties

View File

@ -214,7 +214,7 @@ namespace Foam
); );
// From pure phase (solidThermo) to phase (Boussinesq) // From pure solid phase (const) to phase (Boussinesq)
makeInterfacePureType makeInterfacePureType
( (
Lee, Lee,
@ -228,7 +228,7 @@ namespace Foam
BoussinesqFluidEThermoPhysics BoussinesqFluidEThermoPhysics
); );
// From pure phase (solidThermo) to phase (rho const) // From pure solid phase (const) to phase (rho const)
makeInterfacePureType makeInterfacePureType
( (
Lee, Lee,
@ -242,7 +242,35 @@ namespace Foam
constRhoHThermoPhysics constRhoHThermoPhysics
); );
// From pure phase (all-poly solidThermo) to phase (ico-rho) // From pure solid phase (const) to phase (tabulated)
makeInterfacePureType
(
Lee,
heSolidThermo,
solidThermo,
pureMixture,
hConstSolidThermoPhysics,
heRhoThermo,
rhoThermo,
pureMixture,
tabulatedThermoPhysics
);
// From pure solid phase (const) to phase (poly)
makeInterfacePureType
(
Lee,
heSolidThermo,
solidThermo,
pureMixture,
hConstSolidThermoPhysics,
heRhoThermo,
rhoThermo,
pureMixture,
icoPoly8HThermoPhysics
);
// From pure solid phase (poly) to flow phase (poly)
makeInterfacePureType makeInterfacePureType
( (
Lee, Lee,
@ -256,6 +284,20 @@ namespace Foam
icoPoly8HThermoPhysics icoPoly8HThermoPhysics
); );
// From pure solid phase (poly) to flow phase (tabulated)
makeInterfacePureType
(
Lee,
heSolidThermo,
solidThermo,
pureMixture,
hPolyTranspPolyIcoSolidThermoPhysics,
heRhoThermo,
rhoThermo,
pureMixture,
tabulatedThermoPhysics
);
// From pure phase (exp-Transp, hPower solidThermo) to phase (ico-rho) // From pure phase (exp-Transp, hPower solidThermo) to phase (ico-rho)
makeInterfacePureType makeInterfacePureType
( (
@ -314,7 +356,7 @@ namespace Foam
hConstSolidThermoPhysics hConstSolidThermoPhysics
); );
//From pure liquid phase (ico-rho) to pure phase (exp-Transp, hPower solidThermo) //From pure phase (poly) to solid phase (exp)
makeInterfacePureType makeInterfacePureType
( (
Lee, Lee,
@ -328,6 +370,62 @@ namespace Foam
hPowerSolidThermoPhysics hPowerSolidThermoPhysics
); );
//From pure phase (poly) to solid phase (poly)
makeInterfacePureType
(
Lee,
heRhoThermo,
rhoThermo,
pureMixture,
icoPoly8HThermoPhysics,
heSolidThermo,
solidThermo,
pureMixture,
hPolyTranspPolyIcoSolidThermoPhysics
);
//From pure phase (poly) to solid phase (const)
makeInterfacePureType
(
Lee,
heRhoThermo,
rhoThermo,
pureMixture,
icoPoly8HThermoPhysics,
heSolidThermo,
solidThermo,
pureMixture,
hConstSolidThermoPhysics
);
//From pure phase (tabulated) to solid phase (poly)
makeInterfacePureType
(
Lee,
heRhoThermo,
rhoThermo,
pureMixture,
tabulatedThermoPhysics,
heSolidThermo,
solidThermo,
pureMixture,
hPolyTranspPolyIcoSolidThermoPhysics
);
//From pure phase (tabulated) to solid phase (const)
makeInterfacePureType
(
Lee,
heRhoThermo,
rhoThermo,
pureMixture,
tabulatedThermoPhysics,
heSolidThermo,
solidThermo,
pureMixture,
hConstSolidThermoPhysics
);
// interfaceHeatResistance model definitions // interfaceHeatResistance model definitions

View File

@ -6,6 +6,7 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/solidSpecie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/solidSpecie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/transportModels \ -I$(LIB_SRC)/transportModels \
-I$(LIB_SRC)/transportModels/compressible/lnInclude \ -I$(LIB_SRC)/transportModels/compressible/lnInclude \
-I$(LIB_SRC)/transportModels/incompressible/lnInclude \ -I$(LIB_SRC)/transportModels/incompressible/lnInclude \
@ -28,4 +29,5 @@ LIB_LIBS = \
-lgeometricVoF \ -lgeometricVoF \
-lturbulenceModels \ -lturbulenceModels \
-lcompressibleTurbulenceModels \ -lcompressibleTurbulenceModels \
-lthermophysicalProperties \
-lcombustionModels -lcombustionModels

View File

@ -23,4 +23,5 @@ LIB_LIBS = \
-lcompressibleTransportModels \ -lcompressibleTransportModels \
-lspecie \ -lspecie \
-lturbulenceModels \ -lturbulenceModels \
-lcompressibleTurbulenceModels -lcompressibleTurbulenceModels \
-lthermophysicalProperties

View File

@ -4,6 +4,7 @@ cd "${0%/*}" || exit # Run from this directory
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
wmakeLnInclude -u thermophysicalProperties
wmake $targetType specie wmake $targetType specie
wmake $targetType solidSpecie wmake $targetType solidSpecie
wmake $targetType thermophysicalProperties wmake $targetType thermophysicalProperties

View File

@ -7,7 +7,8 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/functions/Polynomial \ -I$(LIB_SRC)/thermophysicalModels/functions/Polynomial \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude -I$(LIB_SRC)/thermophysicalModels/thermophysicalFunctions/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude
LIB_LIBS = \ LIB_LIBS = \
-lfiniteVolume \ -lfiniteVolume \
@ -16,4 +17,5 @@ LIB_LIBS = \
-lcompressibleTransportModels \ -lcompressibleTransportModels \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lspecie -lspecie \
-lthermophysicalProperties

View File

@ -4,6 +4,7 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/specie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/solidSpecie/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/solidSpecie/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/functionObjects/field/lnInclude -I$(LIB_SRC)/functionObjects/field/lnInclude
LIB_LIBS = \ LIB_LIBS = \
@ -11,4 +12,5 @@ LIB_LIBS = \
-lcompressibleTransportModels \ -lcompressibleTransportModels \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lspecie \ -lspecie \
-lsolidSpecie -lsolidSpecie \
-lthermophysicalProperties

View File

@ -7,6 +7,7 @@ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/basic/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/solidThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \ -I$(LIB_SRC)/thermophysicalModels/reactionThermo/lnInclude \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude \
-I$(LIB_SRC)/transportModels/compressible/lnInclude -I$(LIB_SRC)/transportModels/compressible/lnInclude
LIB_LIBS = \ LIB_LIBS = \
@ -17,4 +18,5 @@ LIB_LIBS = \
-lfluidThermophysicalModels \ -lfluidThermophysicalModels \
-lsolidThermo \ -lsolidThermo \
-lreactionThermophysicalModels \ -lreactionThermophysicalModels \
-lcompressibleTransportModels -lcompressibleTransportModels \
-lthermophysicalProperties

View File

@ -1,2 +1,4 @@
/* EXE_INC = */ EXE_INC = \
-I$(LIB_SRC)/thermophysicalModels/thermophysicalProperties/lnInclude
/* LIB_LIBS = */ /* LIB_LIBS = */

View File

@ -56,6 +56,10 @@ Description
#include "hPolynomialThermo.H" #include "hPolynomialThermo.H"
#include "polynomialTransport.H" #include "polynomialTransport.H"
#include "tabulatedTransport.H"
#include "hTabulatedThermo.H"
#include "icoTabulated.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam namespace Foam
@ -198,6 +202,20 @@ namespace Foam
> >
constHThermoPhysics; constHThermoPhysics;
typedef
tabulatedTransport
<
species::thermo
<
hTabulatedThermo
<
icoTabulated<specie>
>,
sensibleEnthalpy
>
>
tabulatedThermoPhysics;
// thermo physics types based on sensibleInternalEnergy // thermo physics types based on sensibleInternalEnergy
typedef typedef
@ -336,6 +354,20 @@ namespace Foam
> >
> >
constEThermoPhysics; constEThermoPhysics;
typedef
tabulatedTransport
<
species::thermo
<
hTabulatedThermo
<
icoTabulated<specie>
>,
sensibleInternalEnergy
>
>
tabulatedEThermoPhysics;
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //