35 namespace twoPhaseChangeModels
65 - mixture_.alpha1()()*(1.0/mixture_.rho1() - 1.0/mixture_.rho2())
75 vDotvAlphal - vDotcAlphal
95 (vDotvP - vDotcP)*(pSat() - rho*
gh)
96 -
fvm::Sp(vDotvP - vDotcP, p_rgh);
defineTypeNameAndDebug(cavitationModel, 0)
Abstract base class for cavitation models.
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const dimensionSet dimPressure
tmp< fvMatrix< Type > > Sp(const volScalarField::Internal &, const GeometricField< Type, fvPatchField, volMesh > &)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Calculate the first temporal derivative.
stressControl lookup("compactNormalStress") >> compactNormalStress
An ordered pair of two objects of type <T> with first() and second() elements.
A class for handling words, derived from string.
virtual bool read()=0
Read the phaseProperties dictionary and update.
virtual Pair< tmp< volScalarField::Internal > > Salpha(volScalarField &alpha) const
Return the cavitation explicit and implicit sources.
Calculate the divergence of the given field.
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.
An immiscible incompressible two-phase mixture transport model.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
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.
Calculate the matrix for implicit and explicit sources.
virtual bool read()
Read the phaseProperties dictionary and update.