Go to the documentation of this file.
2 word alphaScheme(
"div(phi,alpha)");
9 volScalarField::DimensionedInternalField
Sp
21 volScalarField::DimensionedInternalField
Su
36 if (dgdt[celli] > 0.0 &&
alpha1[celli] > 0.0)
38 Sp[celli] -= dgdt[celli]*
alpha1[celli];
39 Su[celli] += dgdt[celli]*
alpha1[celli];
41 else if (dgdt[celli] < 0.0 &&
alpha1[celli] < 1.0)
43 Sp[celli] += dgdt[celli]*(1.0 -
alpha1[celli]);
83 Info<<
"Liquid phase volume fraction = "
void explicitSolve(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)
#define forAll(list, i)
Loop across all elements in list.
tmp< surfaceScalarField > interpolate(const RhoType &rho)
Ostream & endl(Ostream &os)
Add newline and flush stream.
const Type & value() const
Return const reference to value.
surfaceScalarField & alphaPhi1
surfaceScalarField phir(phic *interface.nHatf())
interfaceProperties interface(alpha1, U, mixture())
tmp< GeometricField< Type, fvPatchField, volMesh > > Su(const GeometricField< Type, fvPatchField, volMesh > &su, const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
word alpharScheme("div(phirb,alpha)")
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
volScalarField divU(fvc::div(fvc::absolute(phi, U)))
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > flux(const surfaceScalarField &phi, const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)