Go to the documentation of this file.
38 #ifndef InterfaceCompositionModel_H
39 #define InterfaceCompositionModel_H
41 #include "interfaceCompositionModel.H"
51 template<
class ThermoType>
class pureMixture;
52 template<
class ThermoType>
class multiComponentMixture;
58 template<
class Thermo,
class OtherThermo>
59 class InterfaceCompositionModel
61 public interfaceCompositionModel
80 template<
class ThermoType>
84 const word& speciesName,
89 template<
class ThermoType>
93 const word& speciesName,
119 const word& speciesName,
126 const word& speciesName
132 const word& speciesName,
154 #define makeInterfaceCompositionType(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\
156 typedef Thermo<Comp, SpecieMixture<Mix<Phys>>> \
157 Type##Thermo##Comp##Mix##Phys; \
159 typedef OtherThermo<OtherComp, OtherMix<OtherPhys>> \
160 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \
162 addInterfaceCompositionToRunTimeSelectionTable \
165 Type##Thermo##Comp##Mix##Phys, \
166 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \
170 #define makeSpecieInterfaceCompositionType(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\
172 typedef Thermo<Comp, SpecieMixture<Mix<Phys>>> \
173 Type##Thermo##Comp##Mix##Phys; \
175 typedef OtherThermo<OtherComp, SpecieMixture<OtherMix<OtherPhys>>> \
176 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \
178 addInterfaceCompositionToRunTimeSelectionTable \
181 Type##Thermo##Comp##Mix##Phys, \
182 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \
186 #define addInterfaceCompositionToRunTimeSelectionTable(Type, Thermo, OtherThermo)\
188 typedef Type<Thermo, OtherThermo> \
189 Type##Thermo##OtherThermo; \
191 defineTemplateTypeNameAndDebugWithName \
193 Type##Thermo##OtherThermo, \
195 word(Type##Thermo##OtherThermo::typeName_()) + "<" \
196 + word(Thermo::typeName) + "," \
197 + word(OtherThermo::typeName) + ">" \
202 addToRunTimeSelectionTable \
204 interfaceCompositionModel, \
205 Type##Thermo##OtherThermo, \
212 #include "InterfaceCompositionModel.C"
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
A class for handling words, derived from Foam::string.
virtual tmp< volScalarField > L(const word &speciesName, const volScalarField &Tf) const
A class for managing temporary objects.
const pureMixture< ThermoType >::thermoType & getLocalThermo(const word &speciesName, const pureMixture< ThermoType > &globalThermo) const
const phasePair & pair() const
const dimensionedScalar Le_
~InterfaceCompositionModel()=default
CGAL::Exact_predicates_exact_constructions_kernel K
InterfaceCompositionModel(const dictionary &dict, const phasePair &pair)
const OtherThermo & otherThermo_
Foam::multiComponentMixture.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Generic dimensioned Type class.
virtual void addMDotL(const volScalarField &K, const volScalarField &Tf, volScalarField &mDotL, volScalarField &mDotLPrime) const
Generic GeometricField class.
virtual tmp< volScalarField > D(const word &speciesName) const
virtual tmp< volScalarField > dY(const word &speciesName, const volScalarField &Tf) const