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();
101 *this->thermo_.composition().Y(speciesName);
106template<
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,...
static word groupName(StringType base, const word &group)
Create dot-delimited name.group string.
Base class for interface composition models, templated on the two thermodynamic models either side of...
static autoPtr< Time > New()
Construct (dummy) Time - no functionObjects or libraries.
void size(const label n)
Older name for setAddressableSize.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Henry's law for gas solubility in liquid. The concentration of a dissolved species in the liquid is p...
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.
virtual bool update()
Update the mesh for both mesh motion and topology change.
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.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
const dimensionSet dimless
Dimensionless.
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for INVALID.
errorManipArg< error, int > exit(error &err, const int errNo=1)