26 #include "noPhaseChange.H" 34 namespace twoPhaseChangeModels
45 const twoPhaseMixtureThermo& mixture
48 twoPhaseChangeModel(typeName, mixture)
57 return Pair<tmp<volScalarField>>
68 return Pair<tmp<volScalarField>>
82 return Pair<tmp<volScalarField::Internal>>
84 tmp<volScalarField::Internal>(
nullptr),
85 tmp<volScalarField::Internal>(
nullptr)
110 return tmp<fvVectorMatrix>
fvMatrix< scalar > fvScalarMatrix
defineTypeNameAndDebug(cavitationModel, 0)
virtual Pair< tmp< volScalarField::Internal > > Salpha(volScalarField &) const
Return unallocated explicit and implicit sources.
volScalarField alpha(IOobject("alpha", runTime.timeName(), mesh, IOobject::READ_IF_PRESENT, IOobject::AUTO_WRITE), lambda *max(Ua &U, zeroSensitivity))
GeometricField< vector, fvPatchField, volMesh > volVectorField
Macros for easy insertion into run-time selection tables.
virtual Pair< tmp< volScalarField > > mDotAlphal() const
Return the mass condensation and vaporisation rates as a.
virtual Pair< tmp< volScalarField > > mDotP() const
Return the mass condensation and vaporisation rates as coefficients.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
const dimensionSet dimTime
An ordered pair of two objects of type <T> with first() and second() elements.
virtual void correct()=0
Correct the phaseChange model.
virtual bool read()=0
Read the transportProperties dictionary and update.
noPhaseChange(const immiscibleIncompressibleTwoPhaseMixture &mixture)
Construct for mixture.
const dimensionSet dimVelocity
addToRunTimeSelectionTable(cavitationModel, Kunz, dictionary)
virtual tmp< fvScalarMatrix > Sp_rgh(const volScalarField &rho, const volScalarField &gh, volScalarField &p_rgh) const
Return the zero source matrix.
const dimensionSet dimMass
static const GeometricField< scalar, fvPatchField, volMesh > & null()
Return a null geometric field.
A scalar instance of fvMatrix.
virtual void correct()
Correct the noPhaseChange phaseChange model.
fvMatrix< vector > fvVectorMatrix
const dimensionSet dimVolume
const volScalarField & gh
A class for managing temporary objects.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
virtual tmp< fvVectorMatrix > SU(const volScalarField &rho, const surfaceScalarField &rhoPhi, volVectorField &U) const
Return the zero source matrix for the momentum equation.
virtual bool read()
Read the transportProperties dictionary and update.