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>>,
107 *iter()->Yf(iter.key(), Tf);
111 *iter()->YfPrime(iter.key(), Tf);
116 template<
class Thermo,
class OtherThermo>
120 const word& speciesName,
128 *speciesModels_[speciesName]->Yf(speciesName, Tf);
133 this->
thermo_.composition().Y(speciesName)
139 template<
class Thermo,
class OtherThermo>
143 const word& speciesName,
151 *speciesModels_[speciesName]->YfPrime(speciesName, Tf);
const OtherThermo & otherThermo_
Other Thermo.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phasePair &pair)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void update(const volScalarField &Tf)
Update the composition.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
The interface species fraction.
word name(const complex &)
Return a string representation of a complex.
const hashedWordList speciesNames_
Names of the transferring species.
virtual ~Raoult()
Destructor.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
const Thermo & thermo_
Thermo.
Raoult(const dictionary &dict, const phasePair &pair)
Construct from components.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
bool contains(const word &) const
Does the list contain the specified name.
A class for managing temporary objects.
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
The interface species fraction derivative w.r.t. temperature.