33 namespace wallBoilingModels
35 namespace nucleationSiteModels
53 const dictionary&
dict 56 nucleationSiteModel(),
57 Cn_(dict.lookupOrDefault<scalar>(
"Cn", 1)),
58 NRef_(dict.lookupOrDefault<scalar>(
"NRef", 9.922e5)),
59 deltaTRef_(dict.lookupOrDefault<scalar>(
"deltaTRef", 10))
65 const LemmertChawla& model
71 deltaTRef_(model.deltaTRef_)
86 const phaseModel& liquid,
87 const phaseModel& vapor,
97 liquid.thermo().T().boundaryField()[
patchi];
99 return Cn_*NRef_*
pow(
max((Tw - Tsatw)/deltaTRef_, scalar(0)), 1.805);
104 write(Ostream& os)
const
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Ostream & writeKeyword(Foam::Ostream &os, const keyType &kw)
Write the keyword to the Ostream with the current level of indentation.
LemmertChawla(const dictionary &dict)
Construct from a dictionary.
virtual void write(Ostream &os) const
virtual void write(Ostream &os) const
nucleationSiteModel()
Construct null.
Macros for easy insertion into run-time selection tables.
virtual tmp< scalarField > N(const phaseModel &liquid, const phaseModel &vapor, 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.
fvPatchField< scalar > fvPatchScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
virtual ~LemmertChawla()
Destructor.
A class for managing temporary objects.