2 volScalarField rAU = 1.0/UEqn.A();
3 surfaceScalarField rAUf = fvc::interpolate(rAU);
6 surfaceScalarField phiU
9 (fvc::interpolate(U) & mesh.Sf())
10 + fvc::ddtPhiCorr(rAU, rho, U, phi)
13 adjustPhi(phiU, U, p_rgh);
15 phi = phiU - ghf*fvc::snGrad(rho)*rAUf*mesh.magSf();
17 for(int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
19 fvScalarMatrix p_rghEqn
21 fvm::laplacian(rAUf, p_rgh) == fvc::div(phi)
24 p_rghEqn.setReference(pRefCell, getRefCellValue(p_rgh, pRefCell));
34 && nonOrth == nNonOrthCorr
39 if (nonOrth == nNonOrthCorr)
41 phi -= p_rghEqn.flux();
45 U += rAU*fvc::reconstruct((phi - phiU)/rAUf);
46 U.correctBoundaryConditions();
48 #include "continuityErrs.H"
52 if (p_rgh.needReference())
54 p += dimensionedScalar
58 pRefValue - getRefCellValue(p, pRefCell)