Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025
00026
00027
00028
00029
00030
00031 #ifndef makeReactionThermo_H
00032 #define makeReactionThermo_H
00033
00034 #include <OpenFOAM/addToRunTimeSelectionTable.H>
00035 #include <basicThermophysicalModels/basicRhoThermo.H>
00036
00037
00038
00039 #define makeReactionThermo(CThermo,MixtureThermo,Mixture,Transport,Thermo,EqnOfState) \
00040 \
00041 typedef MixtureThermo \
00042 <Mixture<Transport<specieThermo<Thermo<EqnOfState> > > > > \
00043 MixtureThermo##Mixture##Transport##Thermo##EqnOfState; \
00044 \
00045 defineTemplateTypeNameAndDebugWithName \
00046 ( \
00047 MixtureThermo##Mixture##Transport##Thermo##EqnOfState, \
00048 #MixtureThermo \
00049 "<"#Mixture"<"#Transport"<specieThermo<"#Thermo"<"#EqnOfState">>>>>", \
00050 0 \
00051 ); \
00052 \
00053 addToRunTimeSelectionTable \
00054 ( \
00055 basicRhoThermo, \
00056 MixtureThermo##Mixture##Transport##Thermo##EqnOfState, \
00057 fvMesh \
00058 ); \
00059 \
00060 addToRunTimeSelectionTable \
00061 ( \
00062 CThermo, \
00063 MixtureThermo##Mixture##Transport##Thermo##EqnOfState, \
00064 fvMesh \
00065 )
00066
00067
00068 #define makeReactionMixtureThermo(CThermo,MixtureThermo,Mixture,ThermoPhys) \
00069 \
00070 typedef MixtureThermo<Mixture<ThermoPhys> > \
00071 MixtureThermo##Mixture##ThermoPhys; \
00072 \
00073 defineTemplateTypeNameAndDebugWithName \
00074 ( \
00075 MixtureThermo##Mixture##ThermoPhys, \
00076 #MixtureThermo"<"#Mixture"<"#ThermoPhys">>", \
00077 0 \
00078 ); \
00079 \
00080 addToRunTimeSelectionTable \
00081 ( \
00082 basicRhoThermo, \
00083 MixtureThermo##Mixture##ThermoPhys, \
00084 fvMesh \
00085 ); \
00086 \
00087 addToRunTimeSelectionTable \
00088 ( \
00089 CThermo, \
00090 MixtureThermo##Mixture##ThermoPhys, \
00091 fvMesh \
00092 );
00093
00094
00095
00096
00097 #endif
00098
00099