Go to the documentation of this file.
31 #include "phasePairKey.H"
32 #include "phaseSystem.H"
38 namespace wallBoilingModels
40 namespace nucleateFluxModels
55 Foam::wallBoilingModels::nucleateFluxModels::Kutadeladze::Kutadeladze
61 Cn_(
dict.getOrDefault<scalar>(
"Cn", 5.66e-10)),
62 an_(
dict.getOrDefault<scalar>(
"an", 2.5)),
63 bn_(
dict.getOrDefault<scalar>(
"bn", 1)),
64 n_(
dict.getOrDefault<scalar>(
"n", 1))
95 liquid.fluid().
sigma(pair)().boundaryField()[patchi]
99 liquid.thermo().T().boundaryField()[patchi];
110 pow(
max((Tw-Tsatw), scalar(0)), an_)
114 Cn_*kappaLiquid*
pow(Cpliquid, 1.5)*
pow(rhoLiq,1.28)*
pow(pb,1.75)
127 os.writeEntry(
"Cn", Cn_);
128 os.writeEntry(
"an", an_);
129 os.writeEntry(
"bn", bn_);
130 os.writeEntry(
"n", n_);
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const vector L(dict.get< vector >("L"))
virtual tmp< scalarField > qNucleate(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.
scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/(kg K)].
Base class for nucleation flux models.
A class for managing temporary objects.
defineTypeNameAndDebug(exponential, 0)
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
virtual const rhoThermo & thermo() const =0
Access const to phase thermo.
An ordered or unorder pair of phase names. Typically specified as follows.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/(m K)].
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
OBJstream os(runTime.globalPath()/outputName)
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &os) const
Write.
const word & name() const
addToRunTimeSelectionTable(nucleateFluxModel, exponential, dictionary)
scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
void write(vtk::formatter &fmt, const Type &val, const label n=1)
Component-wise write of a value (N times)
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
virtual tmp< scalarField > rhoEoS(const scalarField &p, const scalarField &T, const labelList &cells) const =0
Density from pressure and temperature from EoS.
scalar mu(scalar p, scalar T) const
Liquid viscosity [Pa s].