32template<
class Thermo,
class OtherThermo>
53 if (k_.size() != this->speciesNames_.size())
56 <<
"Differing number of species and solubilities"
64template<
class Thermo,
class OtherThermo>
70 YSolvent_ = scalar(1);
72 for (
const word& speciesName : this->speciesNames_)
74 YSolvent_ -=
Yf(speciesName, Tf);
79template<
class Thermo,
class OtherThermo>
83 const word& speciesName,
87 const label index = this->speciesNames_.find(speciesName);
93 *this->otherThermo_.composition().Y(speciesName)
94 *this->otherThermo_.rhoThermo::rho()
95 /this->thermo_.rhoThermo::rho();
106template<
class Thermo,
class OtherThermo>
110 const word& speciesName,
117 this->pair_.phase1().mesh(),
static tmp< GeometricField< scalar, fvPatchField, volMesh > > New(const word &name, IOobjectOption::registerOption regOpt, const Mesh &mesh, const dimensionSet &dims, const word &patchFieldType=fvPatchField< scalar >::calculatedType())
Defines the attributes of an object for which implicit objectRegistry management is supported,...
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
const Thermo & thermo_
Thermo.
InterfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Construct from components.
const OtherThermo & otherThermo_
Other Thermo.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Henry(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.
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
The interface species fraction derivative w.r.t. temperature.
const phasePair & pair() const
The phase pair.
const phasePair & pair_
Phase pair.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
Lookup type of boundary radiation properties.
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
const dimensionSet dimless
Dimensionless.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.