30 #define makeThermophysicalTransportModelTypes( \ 31 BaseModel, MomentumTransportModel, ThermoModel) \ 35 typedef BaseModel<MomentumTransportModel, ThermoModel> \ 36 ThermoModel##MomentumTransportModel##BaseModel; \ 38 typedef laminarThermophysicalTransportModel \ 40 ThermoModel##MomentumTransportModel##BaseModel \ 41 > laminar##ThermoModel##MomentumTransportModel##BaseModel; \ 43 typedef RASThermophysicalTransportModel \ 45 ThermoModel##MomentumTransportModel##BaseModel \ 46 > RAS##ThermoModel##MomentumTransportModel##BaseModel; \ 48 typedef LESThermophysicalTransportModel \ 50 ThermoModel##MomentumTransportModel##BaseModel \ 51 > LES##ThermoModel##MomentumTransportModel##BaseModel; \ 55 #define makeThermophysicalTransportModels( \ 56 BaseModel, MomentumTransportModel, ThermoModel) \ 60 typedef ThermophysicalTransportModel \ 62 MomentumTransportModel, \ 64 > ThermophysicalTransportModel##MomentumTransportModel; \ 66 defineTemplateRunTimeSelectionTable \ 68 ThermophysicalTransportModel##MomentumTransportModel, \ 73 defineNamedTemplateTypeNameAndDebug \ 75 laminar##ThermoModel##MomentumTransportModel##BaseModel, \ 79 defineTemplateRunTimeSelectionTable \ 81 laminar##ThermoModel##MomentumTransportModel##BaseModel, \ 85 addToRunTimeSelectionTable \ 87 ThermophysicalTransportModel##MomentumTransportModel, \ 88 laminar##ThermoModel##MomentumTransportModel##BaseModel, \ 93 defineNamedTemplateTypeNameAndDebug \ 95 RAS##ThermoModel##MomentumTransportModel##BaseModel, \ 99 defineTemplateRunTimeSelectionTable \ 101 RAS##ThermoModel##MomentumTransportModel##BaseModel, \ 105 addToRunTimeSelectionTable \ 107 ThermophysicalTransportModel##MomentumTransportModel, \ 108 RAS##ThermoModel##MomentumTransportModel##BaseModel, \ 113 defineNamedTemplateTypeNameAndDebug \ 115 LES##ThermoModel##MomentumTransportModel##BaseModel, \ 119 defineTemplateRunTimeSelectionTable \ 121 LES##ThermoModel##MomentumTransportModel##BaseModel, \ 125 addToRunTimeSelectionTable \ 127 ThermophysicalTransportModel##MomentumTransportModel, \ 128 LES##ThermoModel##MomentumTransportModel##BaseModel, \ 134 #define makeThermophysicalTransportModel( \ 135 BaseModel, MomentumTransportModel, ThermoModel, SType, Type) \ 137 typedef Foam::SType##ThermophysicalTransportModels::Type \ 139 Foam::BaseModel<Foam::MomentumTransportModel, Foam::ThermoModel> \ 140 > Type##SType##ThermoModel##ThermoModel##MomentumTransportModel##BaseModel;\ 142 defineNamedTemplateTypeNameAndDebug \ 144 Type##SType##ThermoModel##ThermoModel \ 145 ##MomentumTransportModel##BaseModel, \ 151 namespace SType##ThermophysicalTransportModels \ 153 typedef Type<BaseModel<MomentumTransportModel, ThermoModel>> \ 154 Type##SType##ThermoModel##ThermoModel \ 155 ##MomentumTransportModel##BaseModel; \ 157 addToRunTimeSelectionTable \ 159 SType##ThermoModel##MomentumTransportModel##BaseModel, \ 160 Type##SType##ThermoModel##ThermoModel \ 161 ##MomentumTransportModel##BaseModel, \ 168 #define makeTurbulenceThermophysicalTransportModel( \ 169 BaseModel, MomentumTransportModel, ThermoModel, SType, Type) \ 171 typedef Foam::turbulenceThermophysicalTransportModels::Type \ 173 Foam::SType##ThermophysicalTransportModel \ 175 Foam::BaseModel<Foam::MomentumTransportModel, Foam::ThermoModel> \ 177 > Type##SType##ThermoModel##ThermoModel##MomentumTransportModel##BaseModel;\ 179 defineNamedTemplateTypeNameAndDebug \ 181 Type##SType##ThermoModel##ThermoModel \ 182 ##MomentumTransportModel##BaseModel, \ 188 namespace turbulenceThermophysicalTransportModels \ 192 SType##ThermophysicalTransportModel \ 194 BaseModel<MomentumTransportModel, ThermoModel> \ 196 > Type##SType##ThermoModel##MomentumTransportModel##BaseModel; \ 198 addToRunTimeSelectionTable \ 200 SType##ThermoModel##MomentumTransportModel##BaseModel, \ 201 Type##SType##ThermoModel##MomentumTransportModel##BaseModel, \ Macros for easy insertion into run-time selection tables.