31#include "phasePairKey.H"
38namespace wallBoilingModels
62 Cn_(
dict.getOrDefault<scalar>(
"Cn", 0.131))
94 liquid.fluid().
sigma(pair)().boundaryField()[patchi]
100 sigma*
mag(
g.value())*(
max(rhoLiq - rhoVapor,
Zero)/
sqr(rhoVapor)),
109 os.writeEntry(
"Cn", Cn_);
Macros for easy insertion into run-time selection tables.
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.
const uniformDimensionedVectorField & g
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual tmp< scalarField > rhoEoS(const scalarField &p, const scalarField &T, const labelList &cells) const =0
Density from pressure and temperature from EoS.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool write()
Write the output fields.
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
scalar sigma(scalar p, scalar T) const
Surface tension [N/m].
Single incompressible phase derived from the phase-fraction. Used as part of the multiPhaseMixture fo...
const word & name() const
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
An ordered or unorder pair of phase names. Typically specified as follows.
A class for managing temporary objects.
Base class for critical heat flux (CHF) correlation models for boiling flows.
A critical heat flux (CHF) correlation model based on Zuber (1958) for boiling flows.
virtual tmp< scalarField > CHF(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.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
static constexpr const zero Zero
Global zero (0)
const vector L(dict.get< vector >("L"))