34 namespace compressible
36 namespace cavitationModels
56 const label liquidIndex
75 Foam::compressible::cavitationModels::SchnerrSauer::rRb
83 *limitedAlphal/(1 + alphaNuc() - limitedAlphal),
90 Foam::compressible::cavitationModels::SchnerrSauer::alphaNuc()
const
93 return Vnuc/(1 + Vnuc);
98 Foam::compressible::cavitationModels::SchnerrSauer::pCoeff
106 min(
max(alphal(), scalar(0)), scalar(1))
111 limitedAlphal*rhol() + (1 - limitedAlphal)*rhov()
115 (3*rhol()*rhov())*
sqrt((2.0/3.0)/rhol())
116 *rRb(limitedAlphal)/(
rho*
sqrt(
mag(
p - pSat) + 0.01*pSat));
128 min(
max(alphal(), scalar(0)), scalar(1))
136 Cc_*limitedAlphal*pCoeff(
p, pSatv)*
max(
p - pSatv, p0_),
138 *(1 + alphaNuc() - limitedAlphal)
153 min(
max(alphal(), scalar(0)), scalar(1))
161 Cc_*(1 - limitedAlphal)*
pos0(
p - pSatv)*limitedAlphal*pCoeff(
p, pSatv),
163 *(1 + alphaNuc() - limitedAlphal)
182 dict.lookup(
"n") >> n_;
183 dict.lookup(
"dNuc") >> dNuc_;
184 dict.lookup(
"Cv") >> Cv_;
185 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.
SchnerrSauer cavitation model.
virtual Pair< tmp< volScalarField::Internal > > mDotcvAlphal() const
Return the mass condensation and vaporisation rates as a.
virtual void correct()
Correct the SchnerrSauer phaseChange model.
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.
SchnerrSauer(const dictionary &dict, const compressibleTwoPhases &phases, const label liquidIndex)
Construct for phases.
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
const dimensionSet dimLength
void mag(LagrangianPatchField< scalar > &f, const LagrangianPatchField< Type > &f1)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void pow(LagrangianPatchField< typename powProduct< Type, r >::type > &f, const LagrangianPatchField< Type > &f1)
const dimensionSet dimVolume
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
void pow3(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)
dimensionedScalar neg(const dimensionedScalar &ds)
void sqrt(LagrangianPatchField< scalar > &f, const LagrangianPatchField< scalar > &f1)