38 #ifndef InterfaceCompositionModel_H 39 #define InterfaceCompositionModel_H 41 #include "interfaceCompositionModel.H" 48 using namespace multiphaseInter;
60 template<
class Thermo,
class OtherThermo>
70 const Thermo& fromThermo_;
73 const OtherThermo& toThermo_;
82 template<
class ThermoType>
86 const word& speciesName,
91 template<
class ThermoType>
95 const word& speciesName,
100 template<
class ThermoType>
103 const word& speciesName,
108 template<
class ThermoType>
111 const word& speciesName,
116 template<
class ThermoType>
124 template<
class ThermoType>
145 const word& speciesName,
152 const word& speciesName,
159 const word& speciesName
165 const word& speciesName
171 const word& speciesName,
184 #define makeInterfaceDispSpecieMixtureType(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\ 186 typedef Thermo<Comp, SpecieMixture<Mix<Phys>>> \ 187 Type##Thermo##Comp##Mix##Phys; \ 189 typedef OtherThermo<OtherComp, OtherMix<OtherPhys>> \ 190 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \ 192 addInterfaceCompositionToRunTimeSelectionTable \ 195 Type##Thermo##Comp##Mix##Phys, \ 196 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \ 201 #define makeInterfaceContSpecieMixtureType(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\ 203 typedef Thermo<Comp, Mix<Phys>> \ 204 Type##Thermo##Comp##Mix##Phys; \ 206 typedef OtherThermo<OtherComp, SpecieMixture<OtherMix<OtherPhys>>> \ 207 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \ 209 addInterfaceCompositionToRunTimeSelectionTable \ 212 Type##Thermo##Comp##Mix##Phys, \ 213 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \ 218 #define makeInterfacePureType(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\ 220 typedef Thermo<Comp, Mix<Phys>> \ 221 Type##Thermo##Comp##Mix##Phys; \ 223 typedef OtherThermo<OtherComp, OtherMix<OtherPhys>> \ 224 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \ 226 addInterfaceCompositionToRunTimeSelectionTable \ 229 Type##Thermo##Comp##Mix##Phys, \ 230 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \ 235 #define makeSpecieInterfaceSpecieMixtures(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\ 237 typedef Thermo<Comp, SpecieMixture<Mix<Phys>>> \ 238 Type##Thermo##Comp##Mix##Phys; \ 240 typedef OtherThermo<OtherComp, SpecieMixture<OtherMix<OtherPhys>>> \ 241 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \ 243 addInterfaceCompositionToRunTimeSelectionTable \ 246 Type##Thermo##Comp##Mix##Phys, \ 247 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \ 252 #define addInterfaceCompositionToRunTimeSelectionTable(Type, Thermo, OtherThermo)\ 254 typedef Type<Thermo, OtherThermo> \ 255 Type##Thermo##OtherThermo; \ 257 defineTemplateTypeNameAndDebugWithName \ 259 Type##Thermo##OtherThermo, \ 261 word(Type##Thermo##OtherThermo::typeName_()) + "<" \ 262 + word(Thermo::typeName) + "," \ 263 + word(OtherThermo::typeName) + ">" \ 268 addToRunTimeSelectionTable \ 270 interfaceCompositionModel, \ 271 Type##Thermo##OtherThermo, \ 278 # include "InterfaceCompositionModel.C"
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const vector L(dict.get< vector >("L"))
Base class for interface composition models, templated on the two thermodynamic models either side of...
A class for handling words, derived from Foam::string.
Foam::multiComponentMixture.
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
ThermoType thermoType
The type of thermodynamics this mixture is instantiated for.
A class for managing temporary objects.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...