59Foam::wallBoilingModels::departureDiameterModels::
60KocamustafaogullariIshii::KocamustafaogullariIshii
65 departureDiameterModel(),
66 phi_(
dict.get<scalar>(
"phi"))
91 const scalarField rhoM((rhoLiquid - rhoVapor)/rhoVapor);
100 0.0012*
pow(rhoM, 0.9)*0.0208*phi_
101 *
sqrt(sigmaw/(
mag(
g.value())*(rhoLiquid - rhoVapor)));
109 os.writeEntry(
"phi", phi_);
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,...
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 rho(scalar p, scalar T) const
Liquid density [kg/m^3].
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.
virtual tmp< volScalarField > rho() const
Density [kg/m^3].
A class for managing temporary objects.
Base class for bubble departure diameter models for boiling flows.
departureDiameterModel()=default
Default construct.
virtual void write(Ostream &os) const
Write.
A correlation for bubble departure diameter modelling based on Kocamustafaogullari-Ishii (1983) for b...
virtual tmp< scalarField > dDeparture(const phaseModel &liquid, const phaseModel &vapor, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L) const
Calculate and return the departure diameter field.
virtual void write(Ostream &os) const
Write.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
OBJstream os(runTime.globalPath()/outputName)
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
fvPatchField< scalar > fvPatchScalarField
dimensionedScalar sigma("sigma", dimMass/sqr(dimTime), transportProperties)
const vector L(dict.get< vector >("L"))