123 #ifndef wallBoiling_H
124 #define wallBoiling_H
136 class saturationTemperatureModel;
138 namespace wallBoilingModels
140 class partitioningModel;
141 class nucleationSiteModel;
142 class departureDiameterModel;
143 class departureFrequencyModel;
146 class wallBoilingPhaseChangeRateFvPatchScalarField;
193 bool liquidTemperatureWallFunction_;
199 scalar bubbleWaitingTimeRatio_;
212 departureDiameterModel_;
216 departureFrequencyModel_;
219 mutable label pressureEquationIndex_;
285 void correctMDot()
const;
300 const word& modelType,
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.
Abstract base class with a fat-interface to all derived classes covering all possible ways in which t...
tmp< volScalarField::Internal > rho(const label i) const
Return the density.
Mix-in interface for nucleation models. Provides access to properties of the nucleation process,...
Base class for phase change models.
void addSup(const volScalarField &alpha, const volScalarField &rho, const volScalarField &heOrYi, fvMatrix< scalar > &eqn) const
Override the energy equation to add the phase change heat, or.
Model for nucleate wall boiling between two phases on the surface of a number of wall patches.
const phaseModel & vapour() const
Access the vapour phase.
TypeName("wallBoiling")
Runtime type information.
virtual tmp< DimensionedField< scalar, volMesh > > Lfraction() const
Return the fraction of the latent heat that is transferred into.
virtual void correct()
Correct the fvModel.
wallBoiling(const word &name, const word &modelType, const fvMesh &mesh, const dictionary &dict)
Construct from explicit source name and mesh.
virtual tmp< DimensionedField< scalar, volMesh > > mDot() const
Return the mass transfer rate.
bool isBoiling(const label patchi) const
Is the given patch boiling?
const phaseModel & liquid() const
Access the liquid phase.
virtual bool read(const dictionary &dict)
Read source dictionary.
const volScalarField & alphatVapour() const
Access the vapour turbulent thermal diffusivity.
const wallBoilingPhaseChangeRateFvPatchScalarField & mDotPf(const label patchi) const
Return the mass transfer rate for the given patch.
void addSup(const volScalarField &alpha, const volScalarField &rho, const volScalarField &heOrYi, fvMatrix< scalar > &eqn) const
Use phaseChange's source functions.
virtual tmp< DimensionedField< scalar, volMesh > > d() const
Return the diameter of nuclei.
virtual tmp< DimensionedField< scalar, volMesh > > tau() const
Return the nucleation time scale.
const volScalarField & alphatLiquid() const
Access the liquid turbulent thermal diffusivity.
wallBoilingPhaseChangeRateFvPatchScalarField & mDotPfRef(const label patchi) const
Return the mass transfer rate for the given patch.
virtual tmp< DimensionedField< scalar, volMesh > > nDot() const
Return the number rate at which nuclei are generated.
Class to represent a system of phases.
A class for managing temporary objects.
This boundary condition is used for the phase change rate field of the wall boiling fvModel....
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))
const dimensionedScalar h
Planck constant.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.