35 namespace wallBoilingModels
37 namespace departureDiameterModels
53 template<
class ScalarFieldType>
55 Foam::wallBoilingModels::departureDiameterModels::
56 KocamustafaogullariIshiiDepartureDiameter::calculate
59 const ScalarFieldType& Tl,
60 const ScalarFieldType& Tsatw,
61 const ScalarFieldType& L,
62 const ScalarFieldType& rhoLiquid,
63 const ScalarFieldType& rhoVapour,
64 const ScalarFieldType&
sigma
75 0.0012*
pow((rhoLiquid - rhoVapour)/rhoVapour, 0.9)*0.0208*phi
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
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 any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
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].
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
Word-pair based class used for keying interface models in hash tables.
virtual const volScalarField & rho() const =0
Return the density field.
A class for managing temporary objects.
Base class for bubble departure diameter models.
virtual void write(Ostream &os) const
Write to stream.
A correlation for bubble departure diameter.
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 for a wall patch.
virtual void write(Ostream &os) const
Write to stream.
KocamustafaogullariIshiiDepartureDiameter(const dictionary &dict)
Construct from a dictionary.
virtual ~KocamustafaogullariIshiiDepartureDiameter()
Destructor.
const dimensionedScalar sigma
Stefan-Boltzmann constant: default SI units: [W/m^2/K^4].
label calculate(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, PatchField, GeoMesh > &distance)
Calculate distance data from patches.
addToRunTimeSelectionTable(departureDiameterModel, KocamustafaogullariIshiiDepartureDiameter, dictionary)
defineTypeNameAndDebug(KocamustafaogullariIshiiDepartureDiameter, 0)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionSet dimless
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
dimensionedScalar sqrt(const dimensionedScalar &ds)
dimensioned< scalar > mag(const dimensioned< Type > &)