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);
90 deltaTRef_(model.deltaTRef_)
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
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, 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
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
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.