83 #ifndef phaseSurfaceCondensation_H
84 #define phaseSurfaceCondensation_H
98 class multiphaseEuler;
101 class saturationPressureModel;
133 diffusiveMassTransferModel_;
139 mutable label pressureEquationIndex_;
142 bool specieSemiImplicit_;
160 void correctMDot()
const;
166 TypeName(
"phaseSurfaceCondensation");
176 const word& modelType,
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A special matrix type and solver, designed for finite volume solutions of scalar equations....
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Return const access to the mesh database.
const word & name() const
Return const access to the source name.
static const word & fieldName()
Return the name of the field associated with a source term. Special.
tmp< volScalarField::Internal > rho(const label i) const
Return the density.
Base class for phase change models.
Model for mass diffusion limited condensation on the surface of a third (solid) phase.
const phaseModel & vapour() const
Access the vapour phase.
virtual tmp< DimensionedField< scalar, fvMesh > > Lfraction() const
Return the fraction of the latent heat that is transferred into.
virtual void correct()
Correct the fvModel.
virtual tmp< DimensionedField< scalar, fvMesh > > mDotDy() const
Return the derivative of mass transfer rate.
virtual tmp< DimensionedField< scalar, fvMesh > > mDot() const
Return the mass transfer rate.
const phaseModel & liquid() const
Access the liquid phase.
virtual bool read(const dictionary &dict)
Read source dictionary.
TypeName("phaseSurfaceCondensation")
Runtime type information.
phaseSurfaceCondensation(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
const phaseModel & solid() const
Access the solid phase on which the boiling occurs.
void addSup(const volScalarField &alpha, const volScalarField &rho, fvMatrix< scalar > &eqn) const
Override the pressure equation to add the mass transfer rate.
virtual bool addsSupToField(const word &fieldName) const
Return true if the fvModel adds a source term to the given.
Class to represent a system of phases.
Solver module for a system of any number of compressible fluid phases with a common pressure,...
A class for managing temporary objects.
A class for handling words, derived from string.
volScalarField alpha(IOobject("alpha", runTime.name(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.