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 #ifndef makeHsCombustionThermo_H
00030 #define makeHsCombustionThermo_H
00031
00032 #include <OpenFOAM/addToRunTimeSelectionTable.H>
00033 #include <basicThermophysicalModels/basicPsiThermo.H>
00034
00035
00036
00037 #define makeHsCombustionThermo(CThermo,MixtureThermo,Mixture,Transport,Thermo,EqnOfState) \
00038 \
00039 typedef MixtureThermo \
00040 <Mixture<Transport<specieThermo<Thermo<EqnOfState> > > > > \
00041 MixtureThermo##Mixture##Transport##Thermo##EqnOfState; \
00042 \
00043 defineTemplateTypeNameAndDebugWithName \
00044 ( \
00045 MixtureThermo##Mixture##Transport##Thermo##EqnOfState, \
00046 #MixtureThermo \
00047 "<"#Mixture"<"#Transport"<specieThermo<"#Thermo"<"#EqnOfState">>>>>", \
00048 0 \
00049 ); \
00050 \
00051 addToRunTimeSelectionTable \
00052 ( \
00053 basicPsiThermo, \
00054 MixtureThermo##Mixture##Transport##Thermo##EqnOfState, \
00055 fvMesh \
00056 ); \
00057 \
00058 addToRunTimeSelectionTable \
00059 ( \
00060 CThermo, \
00061 MixtureThermo##Mixture##Transport##Thermo##EqnOfState, \
00062 fvMesh \
00063 )
00064
00065
00066 #define makeHsCombustionMixtureThermo(CThermo,MixtureThermo,Mixture,ThermoPhys) \
00067 \
00068 typedef MixtureThermo<Mixture<ThermoPhys> > \
00069 MixtureThermo##Mixture##ThermoPhys; \
00070 \
00071 defineTemplateTypeNameAndDebugWithName \
00072 ( \
00073 MixtureThermo##Mixture##ThermoPhys, \
00074 #MixtureThermo"<"#Mixture"<"#ThermoPhys">>", \
00075 0 \
00076 ); \
00077 \
00078 addToRunTimeSelectionTable \
00079 ( \
00080 basicPsiThermo, \
00081 MixtureThermo##Mixture##ThermoPhys, \
00082 fvMesh \
00083 ); \
00084 \
00085 addToRunTimeSelectionTable \
00086 ( \
00087 CThermo, \
00088 MixtureThermo##Mixture##ThermoPhys, \
00089 fvMesh \
00090 );
00091
00092
00093
00094
00095 #endif
00096
00097