Go to the documentation of this file.
32 template<
class Thermo,
class OtherThermo>
44 IOobject::groupName(
"YNonVapour", pair.
name()),
45 pair.
phase1().mesh().time().timeName(),
55 IOobject::groupName(
"YNonVapourPrime", pair.
name()),
56 pair.
phase1().mesh().time().timeName(),
63 for (
const word& speciesName : this->speciesNames_)
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...
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
Dimensionless.
A class for handling words, derived from Foam::string.
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
The interface species fraction derivative w.r.t. temperature.
A class for managing temporary objects.
Raoult(const dictionary &dict, const phasePair &pair)
Construct from components.
virtual void update(const volScalarField &Tf)
Update the composition.
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
The interface species fraction.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
#define forAllIters(container, iter)
Iterate across all elements in the container object.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Global function forwards to reuseTmpDimensionedField::New.
virtual word name() const
Pair name.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
const phaseModel & phase1() const