31 #include "phasePairKey.H" 38 namespace wallBoilingModels
40 namespace filmBoilingModels
55 Foam::wallBoilingModels::filmBoilingModels::BreenWestwater::BreenWestwater
61 Cn_(
dict.getOrDefault<scalar>(
"Cn", 0.37))
79 liquid.thermo().T().boundaryField()[patchi];
103 L*
sqr(1 + 0.34*CpVapor*
max((Tw-Tsatw), scalar(0))/
L)
111 liquid.fluid().
sigma(pair)().boundaryField()[patchi]
119 nuLiquid*
max((Tw-Tsatw), scalar(1
e-3))
120 /(
pow3(kappaLiquid)*rhoVapor*Leff*
mag(
g.value())*rhoDiff)
132 os.writeEntry(
"Cn", Cn_);
virtual tmp< scalarField > rhoEoS(const scalarField &p, const scalarField &T, const labelList &cells) const =0
Density from pressure and temperature from EoS.
Generic thermophysical properties class for a liquid in which the functions and coefficients for each...
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
addToRunTimeSelectionTable(filmBoilingModel, BreenWestwater, dictionary)
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const vector L(dict.get< vector >("L"))
const tmp< volScalarField > & tCp
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
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 sigma("sigma", dimMass/sqr(dimTime), transportProperties)
Macros for easy insertion into run-time selection tables.
virtual void write(Ostream &os) const
Write.
virtual tmp< scalarField > htcFilmBoil(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.
const dimensionedScalar e
Elementary charge.
scalar kappa(scalar p, scalar T) const
Liquid thermal conductivity [W/(m K)].
An ordered or unorder pair of phase names. Typically specified as follows.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const uniformDimensionedVectorField & g
Boiling film correlation. A correlation for boiling film modelling based on Breen & Westwater (1965) ...
defineTypeNameAndDebug(BreenWestwater, 0)
OBJstream os(runTime.globalPath()/outputName)
virtual tmp< volScalarField > Cp() const =0
Heat capacity at constant pressure [J/kg/K].
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3(const dimensionedScalar &ds)
const word & name() const
A class for managing temporary objects.
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...
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
virtual void write(Ostream &os) const
Write.