34 namespace wallBoilingModels
36 namespace nucleationSiteModels
52 template<
class ScalarFieldType>
54 Foam::wallBoilingModels::nucleationSiteModels::LemmertChawla::calculate
56 const ScalarFieldType& Tsatw,
57 const ScalarFieldType& Tw
64 return Cn*NRef*
pow(
max((Tw - Tsatw)/deltaTRef, scalar(0)), 1.805);
108 deltaTRef_(model.deltaTRef_)
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
A class for managing temporary objects.
Base class for nucleation site density models.
virtual void write(Ostream &os) const
Write to stream.
Lemmert & Chawla function for nucleation site density, correlation by Egorov & Menter.
virtual ~LemmertChawla()
Destructor.
virtual tmp< scalarField > nucleationSiteDensity(const phaseModel &liquid, const phaseModel &vapour, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L, const scalarField &dDep, const scalarField &fDep) const
Calculate and return the nucleation-site density.
virtual void write(Ostream &os) const
Write to stream.
LemmertChawla(const dictionary &dict)
Construct from a dictionary.
label calculate(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, PatchField, GeoMesh > &distance)
Calculate distance data from patches.
defineTypeNameAndDebug(KocamustafaogullariIshiiNucleationSite, 0)
addToRunTimeSelectionTable(nucleationSiteModel, KocamustafaogullariIshiiNucleationSite, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimless
const dimensionSet dimTemperature
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
const dimensionSet dimArea
Ostream & writeKeyword(Foam::Ostream &os, const keyType &kw)
Write the keyword to the Ostream with the current level of indentation.