8 surfaceScalarField rAUf = fvc::interpolate(rAU);
11 U.correctBoundaryConditions();
13 surfaceScalarField phiU
16 (fvc::interpolate(U) & mesh.Sf())
17 // Restart accuracy lost with ddtCorr. Removed, HJ, 16/Nov/2010
18 // + fvc::ddtPhiCorr(rAU, rho, U, phi)
23 fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1)
24 - ghf*fvc::snGrad(rho)
29 adjustPhi(phi, U, pd);
32 for(int nonOrth = 0; nonOrth <= nNonOrthCorr; nonOrth++)
36 fvm::laplacian(rAUf, pd) == fvc::div(phi)
39 pdEqn.setReference(pRefCell, pRefValue);
41 // Solve pressure equation to a tight tolerance in the last corrector
44 oCorr == nOuterCorr - 1
46 && nonOrth == nNonOrthCorr
49 pdEqn.solve(mesh.solver("pdFinal"));
56 if (nonOrth == nNonOrthCorr)
62 // Explicitly relax pressure except for last corrector
63 if (oCorr != nOuterCorr - 1)
68 U += rAU*fvc::reconstruct((phi - phiU)/rAUf);
69 U.correctBoundaryConditions();