1 volScalarField rAU(1.0/UEqn.A());
3 surfaceScalarField rAUf
6 fvc::interpolate(rho)*fvc::interpolate(rAU)
13 (fvc::interpolate(U) & mesh.Sf())
14 + fvc::ddtPhiCorr(rAU, rho, U, phi)
17 surfaceScalarField phiU("phiU", phi);
18 phi -= ghf*fvc::snGrad(rho)*rAUf*mesh.magSf();
20 for (int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
22 fvScalarMatrix p_rghEqn
24 fvm::laplacian(rAUf, p_rgh) == fvc::ddt(rho) + fvc::div(phi)
27 p_rghEqn.setReference(pRefCell, getRefCellValue(p_rgh, pRefCell));
30 if (nonOrth == pimple.nNonOrthCorr())
32 phi -= p_rghEqn.flux();
38 if (p_rgh.needReference())
40 p += dimensionedScalar
44 pRefValue - getRefCellValue(p, pRefCell)
50 #include "compressibleContinuityErrs.H"
52 U += rAU*fvc::reconstruct((phi - phiU)/rAUf);
53 U.correctBoundaryConditions();