35 #ifndef cavitationModel_H 36 #define cavitationModel_H 38 #include "twoPhaseChangeModel.H" 44 namespace twoPhaseChangeModels
53 public twoPhaseChangeModel
73 const compressibleTwoPhaseMixture& mixture
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
const dimensionedScalar & pSat() const
Return const-access to the saturation vapour pressure.
An ordered pair of two objects of type <T> with first() and second() elements.
virtual ~cavitationModel()
Destructor.
virtual Pair< tmp< volScalarField::Internal > > Salpha(volScalarField &alpha) const
Return the cavitation explicit and implicit sources.
virtual Pair< tmp< volScalarField > > mDotAlphal() const =0
Return the mass condensation and vaporisation rates as a.
TypeName("cavitation")
Runtime type information.
cavitationModel(const word &type, const immiscibleIncompressibleTwoPhaseMixture &mixture)
Construct for mixture.
virtual tmp< fvVectorMatrix > SU(const volScalarField &rho, const surfaceScalarField &rhoPhi, volVectorField &U) const
Return the cavitation source matrix for the momentum equation.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
virtual tmp< fvScalarMatrix > Sp_rgh(const volScalarField &rho, const volScalarField &gh, volScalarField &p_rgh) const
Return the cavitation source matrix.
const volScalarField & gh
A class for managing temporary objects.
virtual Pair< tmp< volScalarField > > mDotP() const =0
Return the mass condensation and vaporisation rates as coefficients.
virtual bool read()
Read the phaseProperties dictionary and update.