35 #ifndef cavitationModel_H
36 #define cavitationModel_H
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Abstract base class for cavitation models.
Pair< tmp< volScalarField::Internal > > mDot12P() const
Return the mass transfer rates of the two phases as coefficients to.
static autoPtr< cavitationModel > New(const dictionary &dict, const incompressibleTwoPhases &phases)
virtual Pair< tmp< volScalarField::Internal > > mDotcvP() const =0
Return the mass condensation and vaporisation rates as coefficients.
const dimensionedScalar & rhol() const
Return the liquid density.
virtual bool read(const dictionary &dict)=0
Read the dictionary and update.
dimensionedScalar pSat_
Saturation vapour pressure.
Pair< tmp< volScalarField::Internal > > mDot12Alpha() const
Return the mass transfer rates of the two phases as coefficients to.
const volScalarField::Internal & alphav() const
Return the vapour density.
cavitationModel(const dictionary &dict, const incompressibleTwoPhases &phases)
Construct for phases.
virtual void correct()=0
Correct the cavitation model.
const dimensionedScalar & pSat() const
Return the saturation vapour pressure.
declareRunTimeSelectionTable(autoPtr, cavitationModel, dictionary,(const dictionary &dict, const incompressibleTwoPhases &phases),(dict, phases))
const bool liquidIndex_
Index of the liquid.
virtual Pair< tmp< volScalarField::Internal > > mDotcvAlpha() const =0
Return the mass condensation and vaporisation rates as a.
const incompressibleTwoPhases & phases_
Mixture properties.
virtual ~cavitationModel()
Destructor.
TypeName("cavitationModel")
Runtime type information.
const volScalarField::Internal & alphal() const
Return the liquid density.
const dimensionedScalar & rhov() const
Return the vapour density.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Interface to two constant density phases.
const dimensionedScalar & rho(const bool index) const
Return the density of a given phase.
const volScalarField & alpha(const bool index) const
Return the volume-fraction of a given phase.
Forward declarations of fvMatrix specialisations.
void reverse(UList< T > &, const label n)