2 word alphaScheme("div(phi,alpha)");
3 word alpharScheme("div(phirb,alpha)");
5 surfaceScalarField phic(mag(phi/mesh.magSf()));
6 phic = min(interface.cAlpha()*phic, max(phic));
7 surfaceScalarField phir(phic*interface.nHatf());
9 for (int aCorr=0; aCorr<nAlphaCorr; aCorr++)
11 surfaceScalarField phiAlpha
21 -fvc::flux(-phir, scalar(1) - alpha1, alpharScheme),
27 MULES::explicitSolve(alpha1, phi, phiAlpha, 1, 0);
29 rhoPhi = phiAlpha*(rho1 - rho2) + phi*rho2;
32 Info<< "Liquid phase volume fraction = "
33 << alpha1.weightedAverage(mesh.V()).value()
34 << " Min(alpha1) = " << min(alpha1).value()
35 << " Max(alpha1) = " << max(alpha1).value()