Go to the documentation of this file.
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> ();
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 managing temporary objects.
dimensionedScalar sign(const dimensionedScalar &ds)
virtual tmp< volScalarField > KSp(label modelVariable, const volScalarField &field)
label min(const labelHashSet &set, label minValue=labelMax)
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)
virtual tmp< volScalarField > Kexp(const volScalarField &field)
label max(const labelHashSet &set, label maxValue=labelMin)
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Macros for easy insertion into run-time selection tables.
virtual tmp< volScalarField > KSu(label modelVariable, const volScalarField &field)
Lee(const dictionary &dict, const phasePair &pair)
const dimensionSet dimTemperature(0, 0, 0, 1, 0, 0, 0)
Generic GeometricField class.
dimensionedScalar pos(const dimensionedScalar &ds)