Go to the documentation of this file.
30 template<
class Thermo,
class OtherThermo>
33 const dictionary&
dict,
37 InterfaceCompositionModel<Thermo, OtherThermo>(
dict, pair),
42 IOobject::groupName(
"YNonVapour", pair.
name()),
53 IOobject::groupName(
"YNonVapourPrime", pair.
name()),
66 autoPtr<interfaceCompositionModel>
81 template<
class Thermo,
class OtherThermo>
88 template<
class Thermo,
class OtherThermo>
94 YNonVapour_ = scalar(1);
98 HashTable<autoPtr<interfaceCompositionModel> >,
106 this->otherThermo_.composition().Y(iter.key())
107 *iter()->Yf(iter.key(), Tf);
110 this->otherThermo_.composition().Y(iter.key())
111 *iter()->YfPrime(iter.key(), Tf);
116 template<
class Thermo,
class OtherThermo>
120 const word& speciesName,
124 if (this->speciesNames_.contains(speciesName))
127 this->otherThermo_.composition().Y(speciesName)
128 *speciesModels_[speciesName]->Yf(speciesName, Tf);
133 this->thermo_.composition().Y(speciesName)
139 template<
class Thermo,
class OtherThermo>
143 const word& speciesName,
147 if (this->speciesNames_.contains(speciesName))
150 this->otherThermo_.composition().Y(speciesName)
151 *speciesModels_[speciesName]->YfPrime(speciesName, Tf);
156 this->otherThermo_.composition().Y(speciesName)
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
The interface species fraction derivative w.r.t. temperature.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
The interface species fraction.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
A class for managing temporary objects.
Raoult(const dictionary &dict, const phasePair &pair)
Construct from components.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phasePair &pair)
virtual void update(const volScalarField &Tf)
Update the composition.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual ~Raoult()
Destructor.
const hashedWordList speciesNames_
Names of the transferring species.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
word name(const complex &)
Return a string representation of a complex.