34 namespace wallBoilingModels
36 namespace departureFrequencyModels
52 template<
class ScalarFieldType>
54 Foam::wallBoilingModels::departureFrequencyModels::Cole::calculate
57 const ScalarFieldType& dDep,
58 const ScalarFieldType& rhoLiquid,
59 const ScalarFieldType& rhoVapour
73 4*
mag(g)*
max(rhoLiquid - rhoVapour, dRhoMin)/(3*dDep*rhoLiquid)
Macros for easy insertion into run-time selection tables.
Generic GeometricField class.
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].
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type and name.
virtual const rhoThermo & thermo() const =0
Return the thermophysical model.
virtual const volScalarField & rho() const =0
Return the density field.
virtual tmp< volScalarField > rho() const =0
Density [kg/m^3].
A class for managing temporary objects.
Base class for bubble departure frequency models.
Cole correlation for bubble departure frequency.
virtual tmp< scalarField > fDeparture(const phaseModel &liquid, const phaseModel &vapour, const label patchi, const scalarField &Tl, const scalarField &Tsatw, const scalarField &L, const scalarField &dDep) const
Calculate and return the bubble departure frequency.
virtual ~Cole()
Destructor.
Cole(const dictionary &dict)
Construct from a dictionary.
label calculate(const fvMesh &mesh, const labelHashSet &patchIDs, const scalar minFaceFraction, GeometricField< scalar, PatchField, GeoMesh > &distance)
Calculate distance data from patches.
defineTypeNameAndDebug(Cole, 0)
addToRunTimeSelectionTable(departureFrequencyModel, Cole, dictionary)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionSet dimDensity
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)