Go to the documentation of this file.
32 template<
class Thermo,
class OtherThermo>
72 dict.subDict(speciesName),
83 template<
class Thermo,
class OtherThermo>
89 YNonVapour_ = scalar(1);
96 this->otherThermo_.composition().Y(iter.key())
97 *iter()->Yf(iter.key(), Tf);
100 this->otherThermo_.composition().Y(iter.key())
101 *iter()->YfPrime(iter.key(), Tf);
106 template<
class Thermo,
class OtherThermo>
110 const word& speciesName,
114 if (this->speciesNames_.found(speciesName))
117 this->otherThermo_.composition().Y(speciesName)
118 *speciesModels_[speciesName]->Yf(speciesName, Tf);
123 this->thermo_.composition().Y(speciesName)
129 template<
class Thermo,
class OtherThermo>
133 const word& speciesName,
137 if (this->speciesNames_.found(speciesName))
140 this->otherThermo_.composition().Y(speciesName)
141 *speciesModels_[speciesName]->YfPrime(speciesName, Tf);
146 this->otherThermo_.composition().Y(speciesName)
Defines the attributes of an object for which implicit objectRegistry management is supported,...
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...
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phasePair &pair)
A class for handling words, derived from Foam::string.
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
A class for managing temporary objects.
Raoult(const dictionary &dict, const phasePair &pair)
const phasePair & pair() const
virtual void update(const volScalarField &Tf)
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
#define forAllIters(container, iter)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Generic dimensioned Type class.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const hashedWordList speciesNames_
virtual word name() const
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
word name(const expressions::valueTypeCode typeCode)
const phaseModel & phase1() const
Generic GeometricField class.
const dimensionSet dimless