3 volScalarField rAU(1.0/UEqn.A());
4 surfaceScalarField rhorAUf(rAU.name() + 'f', fvc::interpolate(rho*rAU));
7 surfaceScalarField phiU
11 (fvc::interpolate(U) & mesh.Sf())
12 + fvc::ddtPhiCorr(rAU, rho, U, phi)
16 phi = phiU - rhorAUf*ghf*fvc::snGrad(rho)*mesh.magSf();
18 for (int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
20 fvScalarMatrix p_rghEqn
24 + fvm::ddt(psi, p_rgh)
25 - fvm::laplacian(rhorAUf, p_rgh)
33 mesh.solver(p_rgh.select(pimple.finalInnerIter(corr, nonOrth)))
36 if (nonOrth == pimple.nNonOrthCorr())
38 phi += p_rghEqn.flux();
45 #include "compressibleContinuityErrs.H"
47 U += rAU*fvc::reconstruct((phi - phiU)/rhorAUf);
48 U.correctBoundaryConditions();
50 DpDt = fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p);