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<=pimple.nNonOrthCorr(); nonOrth++)
19 fvScalarMatrix p_rghEqn
21 fvm::laplacian(rAUf, p_rgh) == fvc::div(phi)
24 p_rghEqn.setReference(pRefCell, getRefCellValue(p_rgh, pRefCell));
28 mesh.solver(p_rgh.select(pimple.finalInnerIter(corr, nonOrth)))
31 if (nonOrth == pimple.nNonOrthCorr())
33 phi -= p_rghEqn.flux();
37 U += rAU*fvc::reconstruct((phi - phiU)/rAUf);
38 U.correctBoundaryConditions();
40 #include "continuityErrs.H"
44 if (p_rgh.needReference())
46 p += dimensionedScalar
50 pRefValue - getRefCellValue(p, pRefCell)