Macros
makeThermo.H File Reference

Macros for creating basic fluid thermo packages. More...

Include dependency graph for makeThermo.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#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)
 

Detailed Description

Macros for creating basic fluid thermo packages.

Original source file makeThermo.H

InClass Foam::fluidThermo

Definition in file makeThermo.H.

Macro Definition Documentation

◆ typedefThermoPhysics

#define typedefThermoPhysics (   Transport,
  Type,
  Thermo,
  EqnOfState,
  Specie 
)
Value:
\
typedef \
Transport \
< \
< \
Thermo \
< \
EqnOfState \
< \
Specie \
> \
>, \
Type \
> \
> \
Transport##Type##Thermo##EqnOfState##Specie
rhoReactionThermo & thermo
Definition: createFields.H:28

Definition at line 40 of file makeThermo.H.

◆ defineThermoPhysicsThermo

#define defineThermoPhysicsThermo (   BaseThermo,
  CThermo,
  Mixture,
  ThermoPhys 
)
Value:
\
typedef \
CThermo \
< \
BaseThermo, \
Mixture<ThermoPhys> \
> \
CThermo##Mixture##ThermoPhys; \
\
defineTemplateTypeNameAndDebugWithName \
( \
CThermo##Mixture##ThermoPhys, \
(#CThermo"<" + Mixture<ThermoPhys>::typeName() + ">").c_str(), \
0 \
)

Definition at line 60 of file makeThermo.H.

◆ addThermoPhysicsThermo

#define addThermoPhysicsThermo (   BaseThermo,
  CThermoMixtureThermoPhys 
)
Value:
\
addToRunTimeSelectionTable \
( \
BaseThermo, \
CThermoMixtureThermoPhys, \
fvMesh \
); \

Definition at line 78 of file makeThermo.H.

◆ makeThermoPhysicsThermo

#define makeThermoPhysicsThermo (   BaseThermo,
  CThermo,
  Mixture,
  ThermoPhys 
)
Value:
\
defineThermoPhysicsThermo(BaseThermo, CThermo, Mixture, ThermoPhys); \
addThermoPhysicsThermo(BaseThermo, CThermo##Mixture##ThermoPhys)
#define addThermoPhysicsThermo(BaseThermo, CThermoMixtureThermoPhys)
Definition: makeThermo.H:78

Definition at line 88 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)
#define addThermoPhysicsThermo(BaseThermo, CThermoMixtureThermoPhys)
Definition: makeThermo.H:78

Definition at line 95 of file makeThermo.H.

◆ makeThermo

#define makeThermo (   BaseThermo,
  CThermo,
  Mixture,
  Transport,
  Type,
  Thermo,
  EqnOfState,
  Specie 
)
Value:
\
typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie); \
\
makeThermoPhysicsThermo \
( \
BaseThermo, \
CThermo, \
Mixture, \
Transport##Type##Thermo##EqnOfState##Specie \
)

Definition at line 104 of file makeThermo.H.

◆ makeThermos

#define makeThermos (   BaseThermo,
  CThermo,
  Mixture,
  Transport,
  Type,
  Thermo,
  EqnOfState,
  Specie 
)
Value:
\
typedefThermoPhysics(Transport,Type,Thermo,EqnOfState,Specie); \
\
makeThermoPhysicsThermos \
( \
BaseThermo, \
CThermo, \
Mixture, \
Transport##Type##Thermo##EqnOfState##Specie \
)

Definition at line 117 of file makeThermo.H.