Go to the documentation of this file.
38 #ifndef InterfaceCompositionModel_H
39 #define InterfaceCompositionModel_H
41 #include "interfaceCompositionModel.H"
58 template<
class Thermo,
class OtherThermo>
80 template<
class ThermoType>
84 const word& speciesName,
89 template<
class ThermoType>
93 const word& speciesName,
98 template<
class ThermoType>
101 const word& speciesName,
106 template<
class ThermoType>
109 const word& speciesName,
114 template<
class ThermoType>
122 template<
class ThermoType>
143 const word& speciesName,
150 const word& speciesName,
157 const word& speciesName
163 const word& speciesName,
176 #define makeInterfaceDispSpecieMixtureType(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\
178 typedef Thermo<Comp, SpecieMixture<Mix<Phys>>> \
179 Type##Thermo##Comp##Mix##Phys; \
181 typedef OtherThermo<OtherComp, OtherMix<OtherPhys>> \
182 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \
184 addInterfaceCompositionToRunTimeSelectionTable \
187 Type##Thermo##Comp##Mix##Phys, \
188 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \
193 #define makeInterfaceContSpecieMixtureType(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\
195 typedef Thermo<Comp, Mix<Phys>> \
196 Type##Thermo##Comp##Mix##Phys; \
198 typedef OtherThermo<OtherComp, SpecieMixture<OtherMix<OtherPhys>>> \
199 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \
201 addInterfaceCompositionToRunTimeSelectionTable \
204 Type##Thermo##Comp##Mix##Phys, \
205 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \
210 #define makeInterfacePureType(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\
212 typedef Thermo<Comp, Mix<Phys>> \
213 Type##Thermo##Comp##Mix##Phys; \
215 typedef OtherThermo<OtherComp, OtherMix<OtherPhys>> \
216 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \
218 addInterfaceCompositionToRunTimeSelectionTable \
221 Type##Thermo##Comp##Mix##Phys, \
222 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \
227 #define makeSpecieInterfaceSpecieMixtures(Type, Thermo, Comp, Mix, Phys, OtherThermo, OtherComp, OtherMix, OtherPhys)\
229 typedef Thermo<Comp, SpecieMixture<Mix<Phys>>> \
230 Type##Thermo##Comp##Mix##Phys; \
232 typedef OtherThermo<OtherComp, SpecieMixture<OtherMix<OtherPhys>>> \
233 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys; \
235 addInterfaceCompositionToRunTimeSelectionTable \
238 Type##Thermo##Comp##Mix##Phys, \
239 Type##Other##OtherThermo##OtherComp##OtherMix##OtherPhys \
244 #define addInterfaceCompositionToRunTimeSelectionTable(Type, Thermo, OtherThermo)\
246 typedef Type<Thermo, OtherThermo> \
247 Type##Thermo##OtherThermo; \
249 defineTemplateTypeNameAndDebugWithName \
251 Type##Thermo##OtherThermo, \
253 word(Type##Thermo##OtherThermo::typeName_()) + "<" \
254 + word(Thermo::typeName) + "," \
255 + word(OtherThermo::typeName) + ">" \
260 addToRunTimeSelectionTable \
262 interfaceCompositionModel, \
263 Type##Thermo##OtherThermo, \
270 # include "InterfaceCompositionModel.C"
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...
Base class for interface composition models, templated on the two thermodynamic models either side of...
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_
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
~InterfaceCompositionModel()=default
Generic base class for interface models. Mass transfer models are interface models between two thermo...
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
InterfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Foam::multiComponentMixture.
tmp< volScalarField > MwMixture(const pureMixture< ThermoType > &thermo) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Generic dimensioned Type class.
tmp< volScalarField > getSpecieMassFraction(const word &speciesName, const pureMixture< ThermoType > &thermo) const
const Thermo & fromThermo_
Generic GeometricField class.
virtual tmp< volScalarField > D(const word &speciesName) const
const OtherThermo & toThermo_
virtual tmp< volScalarField > dY(const word &speciesName, const volScalarField &Tf) const