33 namespace phaseChangeTwoPhaseMixtures
48 phaseChangeTwoPhaseMixture(typeName, U, phi),
50 UInf_(
"UInf",
dimVelocity, phaseChangeTwoPhaseMixtureCoeffs_),
51 tInf_(
"tInf",
dimTime, phaseChangeTwoPhaseMixtureCoeffs_),
52 Cc_(
"Cc",
dimless, phaseChangeTwoPhaseMixtureCoeffs_),
53 Cv_(
"Cv",
dimless, phaseChangeTwoPhaseMixtureCoeffs_),
55 p0_(
"0", pSat().dimensions(), 0.0),
57 mcCoeff_(Cc_/(0.5*
sqr(UInf_)*tInf_)),
71 return Pair<tmp<volScalarField>>
85 return Pair<tmp<volScalarField>>
87 mcCoeff_*(1.0 - limitedAlpha1)*
pos0(p -
pSat()),
88 (-mvCoeff_)*limitedAlpha1*
neg(p -
pSat())
110 mcCoeff_ = Cc_/(0.5*
sqr(UInf_)*tInf_);
111 mvCoeff_ = Cv_*
rho1()/(0.5*
sqr(UInf_)*tInf_*
rho2());
dictionary phaseChangeTwoPhaseMixtureCoeffs_
const dimensionedScalar & rho2() const
Return const-access to phase2 density.
virtual bool read()=0
Read the transportProperties dictionary and update.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
virtual void correct()=0
Correct the phaseChange model.
virtual Pair< tmp< volScalarField > > mDotP() const
Return the mass condensation and vaporisation rates as coefficients.
GeometricField< vector, fvPatchField, volMesh > volVectorField
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Merkle(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
dimensionedScalar neg(const dimensionedScalar &ds)
Macros for easy insertion into run-time selection tables.
const volScalarField & alpha1() const
Return the phase-fraction of phase 1.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void correct()
Correct the Merkle phaseChange model.
An ordered pair of two objects of type <T> with first() and second() elements.
const dictionary & optionalSubDict(const word &) const
Find and return a sub-dictionary if found.
const dimensionedScalar & pSat() const
Return const-access to the saturation vapour pressure.
dimensionedScalar pos0(const dimensionedScalar &ds)
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
virtual bool read()
Read the transportProperties dictionary and update.
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
const dimensionedScalar & rho2
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
virtual void correct()
Correct the Kunz phaseChange model.
const objectRegistry & db() const
Return the local objectRegistry.
const dimensionedScalar & rho1
virtual Pair< tmp< volScalarField > > mDotAlphal() const
Return the mass condensation and vaporisation rates as a.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.
const dimensionedScalar & rho1() const
Return const-access to phase1 density.
const dimensionSet dimVelocity