34 namespace cavitationModels
71 Foam::cavitationModels::SchnerrSauer::rRb
79 *limitedAlphal/(1.0 + alphaNuc() - limitedAlphal),
86 Foam::cavitationModels::SchnerrSauer::alphaNuc()
const
89 return Vnuc/(1 + Vnuc);
94 Foam::cavitationModels::SchnerrSauer::pCoeff
101 min(
max(alphal(), scalar(0)), scalar(1))
107 + (scalar(1) - limitedAlphal)*rhov()
111 (3*rhol()*rhov())*
sqrt(2/(3*rhol()))
112 *rRb(limitedAlphal)/(
rho*
sqrt(
mag(
p - pSat()) + 0.01*pSat()));
126 min(
max(alphal(), scalar(0)), scalar(1))
131 Cc_*limitedAlphal*pCoeff*
max(
p - pSat(), p0_),
132 -Cv_*(1.0 + alphaNuc() - limitedAlphal)*pCoeff*
min(
p - pSat(), p0_)
147 min(
max(alphal(), scalar(0)), scalar(1))
154 Cc_*(1.0 - limitedAlphal)*
pos0(
p - pSat())*apCoeff,
155 (-Cv_)*(1.0 + alphaNuc() - limitedAlphal)*
neg(
p - pSat())*apCoeff
168 dict.lookup(
"n") >> n_;
169 dict.lookup(
"dNuc") >> dNuc_;
170 dict.lookup(
"Cv") >> Cv_;
171 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.
DimensionedField< Type, GeoMesh > Internal
Type of the internal field from which this GeometricField is derived.
An ordered pair of two objects of type <T> with first() and second() elements.
Abstract base class for cavitation models.
virtual bool read(const dictionary &dict)=0
Read the dictionary and update.
SchnerrSauer cavitation model.
virtual void correct()
Correct the SchnerrSauer phaseChange model.
virtual bool read(const dictionary &dict)
Read the dictionary and update.
virtual Pair< tmp< volScalarField::Internal > > mDotcvAlpha() const
Return the mass condensation and vaporisation rates as a.
SchnerrSauer(const dictionary &dict, const incompressibleTwoPhases &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....
Interface to two constant density phases.
A class for managing temporary objects.
defineTypeNameAndDebug(Kunz, 0)
addToRunTimeSelectionTable(cavitationModel, Kunz, dictionary)
dimensionedScalar pos0(const dimensionedScalar &ds)
const HashTable< dimensionSet > & dimensions()
Get the table of dimension sets.
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)