34 namespace wallBoilingModels
36 namespace nucleationSiteModels
42 KocamustafaogullariIshiiNucleationSite,
55 const dictionary&
dict 58 nucleationSiteModel(),
59 Cn_(dict.lookupOrDefault<scalar>(
"Cn", 1))
66 const KocamustafaogullariIshiiNucleationSite& model
69 nucleationSiteModel(),
88 const phaseModel& liquid,
89 const phaseModel& vapor,
99 liquid.thermo().T().boundaryField()[
patchi];
101 const scalarField rhoLiquid(liquid.thermo().rho(patchi));
102 const scalarField rhoVapor(vapor.thermo().rho(patchi));
103 const scalarField rhoM((rhoLiquid - rhoVapor)/rhoVapor);
107 liquid.fluid().sigma(phasePairKey(liquid.name(), vapor.name()), patchi)
114 const scalarField rRc(
max(Tw-Tsatw,scalar(0))*rhoVapor*L/(2*sigmaw*Tsatw));
116 return (Cn_/
sqr(dDep))*
pow(rRc,4.4)*
f;
intWM_LABEL_SIZE_t 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.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual void write(Ostream &os) const
dimensionedSymmTensor sqr(const dimensionedVector &dv)
KocamustafaogullariIshiiNucleationSite(const dictionary &dict)
Construct from a dictionary.
virtual ~KocamustafaogullariIshiiNucleationSite()
Destructor.
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.
Macros for easy insertion into run-time selection tables.
fvPatchField< scalar > fvPatchScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
virtual void write(Ostream &os) const
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const doubleScalar e
Elementary charge.
A class for managing temporary objects.