2 label nAlphaCorr(readLabel(pimple.dict().lookup("nAlphaCorr")));
4 label nAlphaSubCycles(readLabel(pimple.dict().lookup("nAlphaSubCycles")));
6 surfaceScalarField phic(mag(phi/mesh.magSf()));
7 phic = min(interface.cAlpha()*phic, max(phic));
9 fvc::makeAbsolute(phi, U);
10 volScalarField divU(fvc::div(phi));
11 fvc::makeRelative(phi, U);
13 if (nAlphaSubCycles > 1)
15 dimensionedScalar totalDeltaT = runTime.deltaT();
16 surfaceScalarField rhoPhiSum(0.0*rhoPhi);
20 subCycle<volScalarField> alphaSubCycle(alpha1, nAlphaSubCycles);
21 !(++alphaSubCycle).end();
24 #include "alphaEqns.H"
25 rhoPhiSum += (runTime.deltaT()/totalDeltaT)*rhoPhi;
32 #include "alphaEqns.H"
35 if (pimple.corr() == 0)