Macros for creating basic fluid thermo packages.
More...
Go to the source code of this file.
|
| #define | typedefThermoPhysics(Transport, Type, Thermo, EqnOfState, Specie) |
| #define | defineThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys) |
| #define | addThermoPhysicsThermo(BaseThermo, CThermoMixtureThermoPhys) |
| #define | makeThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys) |
| #define | makeThermoPhysicsThermos(BaseThermo, CThermo, Mixture, ThermoPhys) |
| #define | makeThermo(BaseThermo, CThermo, Mixture, Transport, Type, Thermo, EqnOfState, Specie) |
| #define | makeThermos(BaseThermo, CThermo, Mixture, Transport, Type, Thermo, EqnOfState, Specie) |
Macros for creating basic fluid thermo packages.
Original source file makeThermo.H
InClass Foam::fluidThermo
Definition in file makeThermo.H.
◆ typedefThermoPhysics
| #define typedefThermoPhysics |
( |
| Transport, |
|
|
| Type, |
|
|
| Thermo, |
|
|
| EqnOfState, |
|
|
| Specie ) |
Value: \
typedef \
Transport \
< \
species::thermo \
< \
Thermo \
< \
EqnOfState \
< \
Specie \
> \
>, \
Type \
> \
> \
Transport##Type##Thermo##EqnOfState##Specie
Definition at line 37 of file makeThermo.H.
◆ defineThermoPhysicsThermo
| #define defineThermoPhysicsThermo |
( |
| BaseThermo, |
|
|
| CThermo, |
|
|
| Mixture, |
|
|
| ThermoPhys ) |
Value: \
typedef \
CThermo \
< \
BaseThermo, \
Mixture<ThermoPhys> \
> \
CThermo##Mixture##ThermoPhys; \
\
( \
CThermo##Mixture##ThermoPhys, \
(#CThermo"<" + Mixture<ThermoPhys>::typeName() + ">").c_str(), \
0 \
)
#define defineTemplateTypeNameAndDebugWithName(Type, Name, DebugSwitch)
Define the typeName and debug information, lookup as Name.
Definition at line 57 of file makeThermo.H.
◆ addThermoPhysicsThermo
| #define addThermoPhysicsThermo |
( |
| BaseThermo, |
|
|
| CThermoMixtureThermoPhys ) |
Value: \
( \
BaseThermo, \
CThermoMixtureThermoPhys, \
fvMesh \
); \
\
( \
BaseThermo, \
CThermoMixtureThermoPhys, \
fvMeshDictPhase \
);
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
Definition at line 75 of file makeThermo.H.
◆ makeThermoPhysicsThermo
| #define makeThermoPhysicsThermo |
( |
| BaseThermo, |
|
|
| CThermo, |
|
|
| Mixture, |
|
|
| ThermoPhys ) |
Value: \
defineThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \
\
addThermoPhysicsThermo(BaseThermo, CThermo##Mixture##ThermoPhys)
Definition at line 92 of file makeThermo.H.
◆ makeThermoPhysicsThermos
| #define makeThermoPhysicsThermos |
( |
| BaseThermo, |
|
|
| CThermo, |
|
|
| Mixture, |
|
|
| ThermoPhys ) |
Value: \
defineThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \
\
\
addThermoPhysicsThermo(basicThermo, CThermo##Mixture##ThermoPhys); \
addThermoPhysicsThermo(fluidThermo, CThermo##Mixture##ThermoPhys); \
addThermoPhysicsThermo(BaseThermo, CThermo##Mixture##ThermoPhys)
Definition at line 99 of file makeThermo.H.
◆ makeThermo
| #define makeThermo |
( |
| BaseThermo, |
|
|
| CThermo, |
|
|
| Mixture, |
|
|
| Transport, |
|
|
| Type, |
|
|
| Thermo, |
|
|
| EqnOfState, |
|
|
| Specie ) |
Value: \
typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie); \
\
( \
BaseThermo, \
CThermo, \
Mixture, \
Transport##Type##Thermo##EqnOfState##Specie \
)
#define makeThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys)
Definition at line 109 of file makeThermo.H.
◆ makeThermos
| #define makeThermos |
( |
| BaseThermo, |
|
|
| CThermo, |
|
|
| Mixture, |
|
|
| Transport, |
|
|
| Type, |
|
|
| Thermo, |
|
|
| EqnOfState, |
|
|
| Specie ) |
Value: \
typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie); \
\
( \
BaseThermo, \
CThermo, \
Mixture, \
Transport##Type##Thermo##EqnOfState##Specie \
)
#define makeThermoPhysicsThermos(BaseThermo, CThermo, Mixture, ThermoPhys)
Definition at line 122 of file makeThermo.H.