33 namespace compressible
35 namespace cavitationModels
50 const label liquidIndex
69 Foam::compressible::cavitationModels::Kunz::mvCoeff()
const
71 return Cv_*rhov()/(0.5*rhol()*
sqr(UInf_)*tInf_);
76 Foam::compressible::cavitationModels::Kunz::mcCoeff()
const
78 return Cc_*rhov()/tInf_;
90 min(
max(this->alphal(), scalar(0)), scalar(1))
99 *
max(
p - pSatv, p0_)/
max(
p - pSatv, 0.01*pSatv),
100 - mvCoeff()*
min(
p - pSatl, p0_)
113 min(
max(this->alphav(), scalar(0)), scalar(1))
118 min(
max(this->alphal(), scalar(0)), scalar(1))
126 mcCoeff()*alphav*
sqr(alphal)*
pos0(
p - pSatv)
127 /
max(
p - pSatv, 0.01*pSatv),
128 - mvCoeff()*alphal*
neg(
p - pSatl)
144 dict.lookup(
"UInf") >> UInf_;
145 dict.lookup(
"tInf") >> tInf_;
146 dict.lookup(
"Cv") >> Cv_;
147 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...
Generic GeometricField class.
An ordered pair of two objects of type <Type> 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 Kunz phaseChange model.
Kunz(const dictionary &dict, const compressibleTwoPhases &phases, const label liquidIndex)
Construct for phases.
virtual bool read(const dictionary &dict)
Read the dictionary and update.
virtual Pair< tmp< volScalarField::Internal > > mDotcvP() const
Return the mass condensation and vaporisation rates as coefficients.
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
A class for managing temporary objects.
defineTypeNameAndDebug(Kunz, 0)
addToRunTimeSelectionTable(cavitationModel, Kunz, dictionary)
dimensionedScalar pos0(const dimensionedScalar &ds)
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 dimPressure
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)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
const dimensionSet dimVelocity