2 volScalarField rAU(1.0/UEqn.A());
3 surfaceScalarField rAUf(fvc::interpolate(rAU));
6 surfaceScalarField phiU
9 (fvc::interpolate(U) & mesh.Sf())
10 + fvc::ddtPhiCorr(rAU, rho, U, phi)
13 adjustPhi(phiU, U, p_rgh);
17 fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1)
18 - ghf*fvc::snGrad(rho)
21 for (int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
23 fvScalarMatrix p_rghEqn
25 fvm::laplacian(rAUf, p_rgh) == fvc::div(phi)
28 p_rghEqn.setReference(pRefCell, getRefCellValue(p_rgh, pRefCell));
32 mesh.solver(p_rgh.select(pimple.finalInnerIter(corr, nonOrth)))
35 if (nonOrth == pimple.nNonOrthCorr())
37 phi -= p_rghEqn.flux();
41 U += rAU*fvc::reconstruct((phi - phiU)/rAUf);
42 U.correctBoundaryConditions();
44 #include "continuityErrs.H"
48 if (p_rgh.needReference())
50 p += dimensionedScalar
54 pRefValue - getRefCellValue(p, pRefCell)