44 const volVectorField&
U,
45 const surfaceScalarField&
phi
48 incompressibleTwoPhaseMixture(
U,
phi),
49 phaseChangeTwoPhaseMixtureCoeffs_(optionalSubDict(
type +
"Coeffs")),
62 return Pair<tmp<volScalarField>>
73 Pair<tmp<volScalarField>> mDotP = this->mDotP();
75 return Pair<tmp<volScalarField>>(pCoeff*mDotP[0], pCoeff*mDotP[1]);
83 phaseChangeTwoPhaseMixtureCoeffs_ = optionalSubDict(
type() +
"Coeffs");
84 readEntry(
"pSat", pSat_);
An ordered pair of two objects of type <T> with first() and second() elements.
const dimensionedScalar & rho1() const
Return const-access to phase1 density.
const dimensionedScalar & rho2() const
Return const-access to phase2 density.
virtual bool read()
Read base transportProperties dictionary.
virtual bool read()=0
Read the transportProperties dictionary and update.
Pair< tmp< volScalarField > > vDotP() const
Return the volumetric condensation and vaporisation rates as.
Pair< tmp< volScalarField > > vDotAlphal() const
Return the volumetric condensation and vaporisation rates as a.
virtual Pair< tmp< volScalarField > > mDotAlphal() const =0
Return the mass condensation and vaporisation rates as a.
#define defineTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information.
const dimensionSet dimPressure
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
fileName::Type type(const fileName &name, const bool followLink=true)
Return the file type: DIRECTORY or FILE, normally following symbolic links.
#define defineRunTimeSelectionTable(baseType, argNames)
Define run-time selection table.