39 namespace compressible
41 namespace cavitationModels
74 Foam::compressible::cavitationModels::Saito::fT(
const rhoThermo&
thermo)
const
87 min(
max(this->alphav(), scalar(0)), scalar(1))
92 min(
max(this->alphal(), scalar(0)), scalar(1))
104 mcCoeff*alphal*
max(
p - pSatv(), p0_),
105 -mvCoeff*alphavNuc*
min(
p - pSatl(), p0_)
117 min(
max(this->alphav(), scalar(0)), scalar(1))
122 min(
max(this->alphal(), scalar(0)), scalar(1))
134 mcCoeff*alphal*alphav*
pos0(
p - pSatv()),
135 -mvCoeff*alphal*alphavNuc*
neg(
p - pSatl())
151 dict.lookup(
"Ca") >> Ca_;
152 dict.lookup(
"Cv") >> Cv_;
153 dict.lookup(
"Cc") >> Cc_;
154 dict.lookup(
"alphaNuc") >> alphaNuc_;
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
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.
Saito(const dictionary &dict, const compressibleTwoPhases &phases)
Construct for phases.
virtual Pair< tmp< volScalarField::Internal > > mDotcvAlphal() const
Return the mass condensation and vaporisation rates as a.
virtual void correct()
Correct the Saito 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.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Base-class for fluid thermodynamic properties based on density.
A class for managing temporary objects.
defineTypeNameAndDebug(Kunz, 0)
addToRunTimeSelectionTable(cavitationModel, Kunz, dictionary)
const dimensionedScalar RR
Universal gas constant: default SI units: [J/kmol/K].
dimensionedScalar pos0(const dimensionedScalar &ds)
const dimensionSet dimPressure
const dimensionSet dimless
const dimensionSet dimLength
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar sqrt(const dimensionedScalar &ds)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
dimensionedScalar neg(const dimensionedScalar &ds)
fluidMulticomponentThermo & thermo