2 volScalarField rUA = 1.0/UEqn.A();
3 surfaceScalarField rUAf = fvc::interpolate(rUA);
7 surfaceScalarField phiU
10 (fvc::interpolate(U) & mesh.Sf())
11 + fvc::ddtPhiCorr(rUA, rho, U, phi)
14 phi = phiU + fvc::interpolate(rho)*(g & mesh.Sf())*rUAf;
16 for(int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
20 fvm::laplacian(rUAf, p) == fvc::div(phi)
23 pEqn.setReference(pRefCell, pRefValue);
28 && nonOrth == nNonOrthCorr
31 pEqn.solve(mesh.solver(p.name() + "Final"));
35 pEqn.solve(mesh.solver(p.name()));
38 if (nonOrth == nNonOrthCorr)
44 U += rUA*fvc::reconstruct((phi - phiU)/rUAf);
45 U.correctBoundaryConditions();