31#include "phasePairKey.H"
56Foam::wallBoilingModels::CHFModels::HuaXu::HuaXu
62 Kburn_(
dict.getOrDefault<scalar>(
"Kburn", 1.5))
102 liquid.fluid().
sigma(pair)().boundaryField()[patchi]
118 rhoLiq*Cpw*
max(Tsatw - Tl, scalar(0))/(rhoVapor*
L)
121 return Kburn_*(scalar(1) + 0.345*Ja/
pow025(Pe));
131 os.writeEntry(
"Kburn", Kburn_);
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
Base class for critical heat flux (CHF) sub-cooling correlation models for boiling flows.
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,...
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].
scalar Cp(scalar p, scalar T) const
Liquid heat capacity [J/(kg K)].
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.
T & ref() const
Return non-const reference to the contents of a non-null managed pointer.
A critical heat flux (CHF) sub-cooling correlation model based on Hua-Xu (2000) for boiling flows.
virtual tmp< scalarField > CHFSubCool(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.
virtual void write(Ostream &os) const
Write.
CHFSubCoolModel()=default
Default construct.
virtual void write(Ostream &os) const
Write.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const tmp< volScalarField > & tCp
const volScalarField & Cp
OBJstream os(runTime.globalPath()/outputName)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
UniformDimensionedField< vector > uniformDimensionedVectorField
UList< label > labelUList
A UList of labels.
fvPatchField< scalar > fvPatchScalarField
dimensionedScalar pow025(const dimensionedScalar &ds)
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
const vector L(dict.get< vector >("L"))