104 #ifndef Foam_meltingEvaporationModels_diffusionGasEvaporation_H 105 #define Foam_meltingEvaporationModels_diffusionGasEvaporation_H 107 #include "InterfaceCompositionModel.H" 118 namespace meltingEvaporationModels
125 template<
class Thermo,
class OtherThermo>
126 class diffusionGasEvaporation
128 public InterfaceCompositionModel<Thermo, OtherThermo>
133 autoPtr<saturationModel> saturationModelPtr_;
160 TypeName(
"diffusionGasEvaporation");
168 const dictionary&
dict,
169 const phasePair&
pair
modelVariable
Enumeration for variable based mass transfer models.
virtual tmp< volScalarField > KSu(label modelVariable, const volScalarField &field)
Explicit mass transfer coefficient.
virtual tmp< volScalarField > KSp(label modelVariable, const volScalarField &field)
Implicit mass transfer coefficient.
virtual bool includeDivU() const noexcept
Add/subtract alpha*div(U) as a source term for alpha, substituting div(U) = mDot(1/rho1 - 1/rho2) ...
TypeName("diffusionGasEvaporation")
Runtime type information.
virtual ~diffusionGasEvaporation()=default
Destructor.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const phasePair & pair() const
The phase pair.
diffusionGasEvaporation(const dictionary &dict, const phasePair &pair)
Construct from components.
virtual const dimensionedScalar & Tactivate() const noexcept
Return Tactivate.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
virtual tmp< volScalarField > Kexp(const volScalarField &field)
Explicit total mass transfer coefficient.