34 template<
class Thermo,
class OtherThermo>
44 alphaMin_(
dict.getOrDefault<scalar>(
"alphaMin", 0))
50 template<
class Thermo,
class OtherThermo>
65 C_*from*this->pair().from().
rho()*
pos(from - alphaMin_)
66 *(refValue - Tactivate_)
70 if (
sign(C_.value()) > 0)
74 coeff*
pos(refValue - Tactivate_)
81 coeff*
pos(Tactivate_ - refValue)
88 template<
class Thermo,
class OtherThermo>
96 if (this->modelVariable_ == variable)
105 C_*from*this->pair().from().
rho()*
pos(from - alphaMin_)
109 if (
sign(C_.value()) > 0)
113 coeff*
pos(refValue - Tactivate_)
120 -coeff*
pos(Tactivate_ - refValue)
131 template<
class Thermo,
class OtherThermo>
139 if (this->modelVariable_ == variable)
148 C_*from*this->pair().from().
rho()*
pos(from - alphaMin_)
151 if (
sign(C_.value()) > 0)
155 -coeff*
pos(refValue - Tactivate_)
162 -coeff*
pos(Tactivate_ - refValue)
dimensionedScalar sign(const dimensionedScalar &ds)
Lee(const dictionary &dict, const phasePair &pair)
Construct from components.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
Base class for interface composition models, templated on the two thermodynamic models either side of...
virtual tmp< volScalarField > KSp(label modelVariable, const volScalarField &field)
Implicit mass transfer coefficient.
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensionedScalar pos(const dimensionedScalar &ds)
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
virtual tmp< volScalarField > KSu(label modelVariable, const volScalarField &field)
Explicit mass transfer coefficient.
Represents 0/1 range or concept. Used for tagged dispatch or clamping.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
A class for managing temporary objects.
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
virtual tmp< volScalarField > Kexp(const volScalarField &field)
Explicit total mass transfer coefficient.
dimensionSet clamp(const dimensionSet &a, const dimensionSet &range)