3 readLabel(piso.lookup("nAlphaCorr"))
8 readLabel(piso.lookup("nAlphaSubCycles"))
11 if (nAlphaSubCycles > 1)
13 surfaceScalarField rhoPhiSum = 0.0*rhoPhi;
14 dimensionedScalar totalDeltaT = runTime.deltaT();
18 subCycle<volScalarField> alphaSubCycle(alpha1, nAlphaSubCycles);
19 !(++alphaSubCycle).end();
22 # include "alphaEqns.H"
23 rhoPhiSum += (runTime.deltaT()/totalDeltaT)*rhoPhi;
30 # include "alphaEqns.H"
36 volScalarField rhoNew = alpha1*rho1 + alpha2*rho2 + alpha3*rho3;
38 //solve(fvm::ddt(rho) + fvc::div(rhoPhi));
39 //Info<< "density error = "
40 // << max((mag(rho - rhoNew)/mag(rhoNew))().internalField()) << endl;