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 - ghf*fvc::snGrad(rho)*rUAf*mesh.magSf();
16 for(int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
18 fvScalarMatrix p_rghEqn
20 fvm::laplacian(rUAf, p_rgh) == fvc::div(phi)
23 p_rghEqn.setReference(p_rghRefCell, p_rghRefValue);
27 mesh.solutionDict().solver
30 + ((corr == nCorr - 1 && nonOrth == nNonOrthCorr) ? "Final" : "")
34 if (nonOrth == nNonOrthCorr)
36 phi -= p_rghEqn.flux();
42 if (p_rgh.needReference())
44 p += dimensionedScalar
48 pRefValue - getRefCellValue(p, p_rghRefCell)
52 #include "continuityErrs.H"
54 U += rUA*fvc::reconstruct((phi - phiU)/rUAf);
55 U.correctBoundaryConditions();