34 namespace compressible
36 namespace cavitationModels
74 Foam::compressible::cavitationModels::SchnerrSauer::rRb
82 *limitedAlphal/(1 + alphaNuc() - limitedAlphal),
89 Foam::compressible::cavitationModels::SchnerrSauer::alphaNuc()
const
92 return Vnuc/(1 + Vnuc);
97 Foam::compressible::cavitationModels::SchnerrSauer::pCoeff
105 min(
max(alphal(), scalar(0)), scalar(1))
110 limitedAlphal*rhol() + (1 - limitedAlphal)*rhov()
114 (3*rhol()*rhov())*
sqrt((2.0/3.0)/rhol())
115 *rRb(limitedAlphal)/(
rho*
sqrt(
mag(
p - pSat) + 0.01*pSat));
127 min(
max(alphal(), scalar(0)), scalar(1))
135 Cc_*limitedAlphal*pCoeff(
p, pSatv)*
max(
p - pSatv, p0_),
137 *(1 + alphaNuc() - limitedAlphal)
152 min(
max(alphal(), scalar(0)), scalar(1))
160 Cc_*(1 - limitedAlphal)*
pos0(
p - pSatv)*limitedAlphal*pCoeff(
p, pSatv),
162 *(1 + alphaNuc() - limitedAlphal)
181 dict.lookup(
"n") >> n_;
182 dict.lookup(
"dNuc") >> dNuc_;
183 dict.lookup(
"Cv") >> Cv_;
184 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 <T> 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.
SchnerrSauer(const dictionary &dict, const compressibleTwoPhases &phases)
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 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
dimensionedScalar pow3(const dimensionedScalar &ds)
const dimensionSet dimless
const dimensionSet dimLength
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar sqrt(const dimensionedScalar &ds)
const dimensionSet dimVolume
dimensioned< scalar > mag(const dimensioned< Type > &)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar neg(const dimensionedScalar &ds)