33 namespace compressible
35 namespace cavitationModels
61 mcCoeff_(Cc_/(0.5*
sqr(UInf_)*tInf_))
70 Foam::compressible::cavitationModels::Merkle::mvCoeff()
const
72 return Cv_*rhol()/(0.5*
sqr(UInf_)*tInf_*rhov());
83 mcCoeff_*
max(
p - pSatv(), p0_),
84 -mvCoeff()*
min(
p - pSatl(), p0_)
96 min(
max(this->alphav(), scalar(0)), scalar(1))
101 min(
max(this->alphal(), scalar(0)), scalar(1))
106 mcCoeff_*alphav*
pos0(
p - pSatv()),
107 -mvCoeff()*alphal*
neg(
p - pSatl())
123 dict.lookup(
"UInf") >> UInf_;
124 dict.lookup(
"tInf") >> tInf_;
125 dict.lookup(
"Cv") >> Cv_;
126 dict.lookup(
"Cc") >> Cc_;
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
An ordered pair of two objects of type <T> with first() and second() elements.
virtual bool read(const dictionary &dict)=0
Read the dictionary and update.
virtual Pair< tmp< volScalarField::Internal > > mDotcvAlphal() const
Return the mass condensation and vaporisation rates as a.
virtual void correct()
Correct the Merkle phaseChange model.
virtual bool read(const dictionary &dict)
Read the dictionary and update.
Merkle(const dictionary &dict, const compressibleTwoPhases &phases)
Construct for phases.
virtual Pair< tmp< volScalarField::Internal > > mDotcvP() const
Return the mass condensation and vaporisation rates as coefficients.
A list of keyword definitions, which are a keyword followed by any number of values (e....
A class for managing temporary objects.
defineTypeNameAndDebug(Kunz, 0)
addToRunTimeSelectionTable(cavitationModel, Kunz, dictionary)
dimensionedScalar pos0(const dimensionedScalar &ds)
const dimensionSet dimPressure
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dimensionSet dimless
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
const dimensionSet dimTime
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar neg(const dimensionedScalar &ds)
const dimensionSet dimVelocity