33 namespace phaseChangeTwoPhaseMixtures
48 phaseChangeTwoPhaseMixture(typeName, U, phi),
50 UInf_(phaseChangeTwoPhaseMixtureCoeffs_.
lookup(
"UInf")),
51 tInf_(phaseChangeTwoPhaseMixtureCoeffs_.
lookup(
"tInf")),
52 Cc_(phaseChangeTwoPhaseMixtureCoeffs_.
lookup(
"Cc")),
53 Cv_(phaseChangeTwoPhaseMixtureCoeffs_.
lookup(
"Cv")),
55 p0_(
"0", pSat().dimensions(), 0.0),
57 mcCoeff_(Cc_/(0.5*
sqr(UInf_)*tInf_)),
71 return Pair<tmp<volScalarField>>
84 return Pair<tmp<volScalarField>>
86 mcCoeff_*(1.0 - limitedAlpha1)*
pos(p -
pSat()),
87 (-mvCoeff_)*limitedAlpha1*
neg(p -
pSat())
107 mcCoeff_ = Cc_/(0.5*
sqr(UInf_)*tInf_);
108 mvCoeff_ = Cv_*
rho1()/(0.5*
sqr(UInf_)*tInf_*
rho2());
dictionary phaseChangeTwoPhaseMixtureCoeffs_
virtual bool read()=0
Read the transportProperties dictionary and update.
const objectRegistry & db() const
Return the local objectRegistry.
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
virtual Pair< tmp< volScalarField > > mDotP() const
Return the mass condensation and vaporisation rates as coefficients.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
const dictionary & subDict(const word &) const
Find and return a sub-dictionary.
GeometricField< vector, fvPatchField, volMesh > volVectorField
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 dimensionedScalar & rho2() const
Return const-access to phase2 density.
const dimensionedScalar & pSat() const
Return const-access to the saturation vapour pressure.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual Pair< tmp< volScalarField > > mDotAlphal() const
Return the mass condensation and vaporisation rates as a.
dimensionedScalar pos(const dimensionedScalar &ds)
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
virtual void correct()
Correct the Merkle phaseChange model.
stressControl lookup("compactNormalStress") >> compactNormalStress
An ordered pair of two objects of type <T> with first() and second() elements.
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.
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
const dimensionedScalar & rho1() const
Return const-access to phase1 density.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
virtual void correct()
Correct the Kunz phaseChange model.
ITstream & lookup(const word &, bool recursive=false, bool patternMatch=true) const
Find and return an entry data stream.