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