4 // Make the fluxes relative
5 phi -= fvc::meshPhi(U);
8 # include "CourantNo.H"
14 - fvm::laplacian(nu, U)
17 solve(UEqn == -fvc::grad(p));
20 volScalarField rUA = 1.0/UEqn.A();
22 for (int corr=0; corr<nCorr; corr++)
25 phi = (fvc::interpolate(U) & mesh.Sf());
29 for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
33 fvm::laplacian(rUA, p)
37 pEqn.setReference(pRefCell, pRefValue);
40 if (nonOrth == nNonOrthCorr)
46 # include "continuityErrs.H"
48 U -= rUA*fvc::grad(p);
49 U.correctBoundaryConditions();