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;
190 bool liquidTemperatureWallFunction_;
196 scalar bubbleWaitingTimeRatio_;
209 departureDiameterModel_;
213 departureFrequencyModel_;
216 mutable label pressureEquationIndex_;
279 void correctMDot()
const;
294 const word& modelType,
Generic GeometricField class.
An ordered pair of two objects of type <Type> with first() and second() elements.
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,...
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.
TypeName("wallBoiling")
Runtime type information.
virtual tmp< DimensionedField< scalar, fvMesh > > 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, fvMesh > > mDot() const
Return the mass transfer rate.
virtual const scalarField & active(const label) const
Return a mask indicating whether phase change is occurring.
virtual bool read(const dictionary &dict)
Read source dictionary.
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, fvMesh > > d() const
Return the diameter of nuclei.
virtual tmp< DimensionedField< scalar, fvMesh > > tau() const
Return the nucleation time scale.
wallBoilingPhaseChangeRateFvPatchScalarField & mDotPfRef(const label patchi) const
Return the mass transfer rate for the given patch.
virtual tmp< DimensionedField< scalar, fvMesh > > nDot() const
Return the number rate at which nuclei are generated.
Base class for fvModels that represent phase change at a wall.
const Pair< const volScalarField & > & alphats() const
Access the turbulent thermal diffusivities.
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.