36 namespace wallBoilingModels
38 namespace nucleationSiteModels
54 Foam::wallBoilingModels::nucleationSiteModels::LemmertChawla::LemmertChawla
60 Cn_(
dict.getOrDefault<scalar>(
"Cn", 1))
78 liquid.thermo().T().boundaryField()[patchi];
80 return Cn_*9.922e5*
pow(
max((Tw - Tsatw)/scalar(10), scalar(0)), 1.805);
90 os.writeEntry(
"Cn", Cn_);
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const vector L(dict.get< vector >("L"))
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
addToRunTimeSelectionTable(nucleationSiteModel, LemmertChawla, dictionary)
virtual void write(Ostream &os) const
Write.
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &os) const
Write.
A model for nucleation site density based on Lemmert-Chawla (1977) function and Egorov-Menter (2004) ...
Base class for nucleation site density models.
virtual tmp< scalarField > N(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L) const
Calculate and return the nucleation-site density.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
OBJstream os(runTime.globalPath()/outputName)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
defineTypeNameAndDebug(LemmertChawla, 0)
A class for managing temporary objects.
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...