Go to the documentation of this file.
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_*
rho2()/tInf_),
72 return Pair<tmp<volScalarField> >
74 mcCoeff_*
sqr(limitedAlpha1)
87 return Pair<tmp<volScalarField> >
89 mcCoeff_*
sqr(limitedAlpha1)*(1.0 - limitedAlpha1)
92 (-mvCoeff_)*limitedAlpha1*
neg(
p -
pSat())
105 phaseChangeTwoPhaseMixtureCoeffs_ = subDict(
type() +
"Coeffs");
107 phaseChangeTwoPhaseMixtureCoeffs_.lookup(
"UInf") >> UInf_;
108 phaseChangeTwoPhaseMixtureCoeffs_.lookup(
"tInf") >> tInf_;
109 phaseChangeTwoPhaseMixtureCoeffs_.lookup(
"Cc") >> Cc_;
110 phaseChangeTwoPhaseMixtureCoeffs_.lookup(
"Cv") >> Cv_;
112 mcCoeff_ = Cc_*
rho2()/tInf_;
113 mvCoeff_ = Cv_*
rho2()/(0.5*
rho1()*
sqr(UInf_)*tInf_);
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
Kunz(const volVectorField &U, const surfaceScalarField &phi)
Construct from components.
virtual bool read()
Read the transportProperties dictionary and update.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual bool read()=0
Read the transportProperties dictionary and update.
const dimensionedScalar & pSat
Macros for easy insertion into run-time selection tables.
virtual void correct()
Correct the Kunz phaseChange model.
GeometricField< vector, fvPatchField, volMesh > volVectorField
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
An ordered pair of two objects of type <T> with first() and second() elements.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
fileName::Type type(const fileName &)
Return the file type: DIRECTORY or FILE.
virtual Pair< tmp< volScalarField > > mDotAlphal() const
Return the mass condensation and vaporisation rates as a.
defineTypeNameAndDebug(combustionModel, 0)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensionedScalar neg(const dimensionedScalar &ds)
stressControl lookup("compactNormalStress") >> compactNormalStress
virtual Pair< tmp< volScalarField > > mDotP() const
Return the mass condensation and vaporisation rates as coefficients.
dimensionedScalar pos(const dimensionedScalar &ds)