Go to the documentation of this file.
32 template<
class Thermo,
class OtherThermo>
53 if (k_.size() != this->speciesNames_.size())
56 <<
"Differing number of species and solubilities"
64 template<
class Thermo,
class OtherThermo>
70 YSolvent_ = scalar(1);
72 for (
const word& speciesName : this->speciesNames_)
74 YSolvent_ -= Yf(speciesName, Tf);
79 template<
class Thermo,
class OtherThermo>
83 const word& speciesName,
87 if (this->speciesNames_.found(speciesName))
89 const label index = this->speciesNames_[speciesName];
93 *this->otherThermo_.composition().Y(speciesName)
94 *this->otherThermo_.rhoThermo::rho()
95 /this->thermo_.rhoThermo::rho();
101 *this->thermo_.composition().Y(speciesName);
106 template<
class Thermo,
class OtherThermo>
110 const word& speciesName,
117 this->pair_.phase1().mesh(),
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...
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual void update(const volScalarField &Tf)
static tmp< GeometricField< Type, PatchField, GeoMesh > > New(const word &name, const Mesh &mesh, const dimensionSet &ds, const word &patchFieldType=PatchField< Type >::calculatedType())
Henry(const dictionary &dict, const phasePair &pair)
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
Lookup type of boundary radiation properties.
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Generic dimensioned Type class.
errorManipArg< error, int > exit(error &err, const int errNo=1)
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
#define FatalErrorInFunction
virtual word name() const
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
word name(const expressions::valueTypeCode typeCode)
static word groupName(StringType base, const word &group)
const phaseModel & phase1() const
Generic GeometricField class.
const dimensionSet dimless