34 template<
class Thermo,
class OtherThermo>
44 alphaMin_(
dict.getOrDefault<scalar>(
"alphaMin", 0))
50 template<
class Thermo,
class OtherThermo>
60 min(
max(this->pair().from(), scalar(0)), scalar(1))
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)
100 min(
max(this->pair().from(), scalar(0)), scalar(1))
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)
126 return tmp<volScalarField> ();
131 template<
class Thermo,
class OtherThermo>
139 if (this->modelVariable_ == variable)
143 min(
max(this->pair().from(), scalar(0)), scalar(1))
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)
168 return tmp<volScalarField> ();
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...
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
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.
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.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
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.