2 word alphaScheme(
"div(phi,alpha)");
9 volScalarField::Internal
Sp 21 volScalarField::Internal
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]);
78 rhoPhi = alphaPhi1*(rho1f - rho2f) +
phi*rho2f;
83 Info<<
"Liquid phase volume fraction = "
#define forAll(list, i)
Loop across all elements in list.
interfaceProperties interface(alpha1, U, mixture())
word alpharScheme("div(phirb,alpha)")
Ostream & endl(Ostream &os)
Add newline and flush stream.
tmp< GeometricField< Type, fvPatchField, volMesh > > Sp(const volScalarField &sp, const GeometricField< Type, fvPatchField, volMesh > &vf)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
surfaceScalarField phir(phic *interface.nHatf())
void explicitSolve(const RdeltaTType &rDeltaT, const RhoType &rho, volScalarField &psi, const surfaceScalarField &phiPsi, const SpType &Sp, const SuType &Su)
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
volScalarField divU(fvc::div(fvc::absolute(phi, U)))
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< GeometricField< Type, fvPatchField, volMesh > > Su(const GeometricField< Type, fvPatchField, volMesh > &su, const GeometricField< Type, fvPatchField, volMesh > &vf)
surfaceScalarField & alphaPhi1