1 p.boundaryField().updateCoeffs();
3 volScalarField AU = UEqn().A();
6 phi = fvc::interpolate(U) & mesh.Sf();
9 // Non-orthogonal pressure corrector loop
10 for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
14 fvm::laplacian(1.0/AU, p) == fvc::div(phi)
17 pEqn.setReference(pRefCell, pRefValue);
19 // Retain the residual from the first iteration
22 eqnResidual = pEqn.solve().initialResidual();
23 maxResidual = max(eqnResidual, maxResidual);
30 if (nonOrth == nNonOrthCorr)
36 # include "continuityErrs.H"
38 // Explicitly relax pressure for momentum corrector
43 U.correctBoundaryConditions();