2 p.boundaryField().updateCoeffs();
3 volScalarField AUrel = UrelEqn().A();
4 Urel = UrelEqn().H()/AUrel;
6 phi = fvc::interpolate(Urel) & mesh.Sf();
7 adjustPhi(phi, Urel, p);
9 // Non-orthogonal pressure corrector loop
10 for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
14 fvm::laplacian(1.0/AUrel, p) == fvc::div(phi)
17 pEqn.setReference(pRefCell, pRefValue);
20 if (nonOrth == nNonOrthCorr)
26 # include "continuityErrs.H"
28 // Explicitly relax pressure for momentum corrector
32 Urel -= fvc::grad(p)/AUrel;
33 Urel.correctBoundaryConditions();