2 rho = max(rho, rhoMin);
3 rho = min(rho, rhoMax);
6 volScalarField rAU(1.0/UEqn().A());
9 if (pimple.nCorr() <= 1)
14 if (pimple.transonic())
16 surfaceScalarField phid
21 (fvc::interpolate(U) & mesh.Sf())
22 + fvc::ddtPhiCorr(rAU, rho, U, phi)
25 mrfZones.relativeFlux(fvc::interpolate(psi), phid);
27 for (int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
33 - fvm::laplacian(rho*rAU, p)
38 mesh.solver(p.select(pimple.finalInnerIter(corr, nonOrth)))
41 if (nonOrth == pimple.nNonOrthCorr())
50 fvc::interpolate(rho)*
52 (fvc::interpolate(U) & mesh.Sf())
53 + fvc::ddtPhiCorr(rAU, rho, U, phi)
55 mrfZones.relativeFlux(fvc::interpolate(rho), phi);
57 for (int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
64 - fvm::laplacian(rho*rAU, p)
69 mesh.solver(p.select(pimple.finalInnerIter(corr, nonOrth)))
72 if (nonOrth == pimple.nNonOrthCorr())
80 #include "compressibleContinuityErrs.H"
82 // Explicitly relax pressure for momentum corrector
86 rho = max(rho, rhoMin);
87 rho = min(rho, rhoMax);
89 Info<< "rho max/min : " << max(rho).value()
90 << " " << min(rho).value() << endl;
92 U -= rAU*fvc::grad(p);
93 U.correctBoundaryConditions();
95 DpDt = fvc::DDt(surfaceScalarField("phiU", phi/fvc::interpolate(rho)), p);