3 volScalarField rAU(1.0/UEqn.A());
6 if (pimple.transonic())
8 surfaceScalarField phid
12 *((fvc::interpolate(U) & mesh.Sf()) - fvc::meshPhi(rho, U))
15 for (int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
21 - fvm::laplacian(rho*rAU, p)
26 mesh.solver(p.select(pimple.finalInnerIter(corr, nonOrth)))
29 if (nonOrth == pimple.nNonOrthCorr())
37 phi = fvc::interpolate(rho)
38 *((fvc::interpolate(U) & mesh.Sf()) - fvc::meshPhi(rho, U));
40 for (int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
46 - fvm::laplacian(rho*rAU, p)
51 mesh.solver(p.select(pimple.finalInnerIter(corr, nonOrth)))
54 if (nonOrth == pimple.nNonOrthCorr())
62 #include "compressibleContinuityErrs.H"
64 U -= rAU*fvc::grad(p);
65 U.correctBoundaryConditions();
67 DpDt = fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p);