2 volScalarField rAU(1.0/UEqn.A());
3 surfaceScalarField rAUf(fvc::interpolate(rAU));
7 surfaceScalarField phiU
10 (fvc::interpolate(U) & mesh.Sf())
11 + fvc::ddtPhiCorr(rAU, rho, U, phi)
14 adjustPhi(phiU, U, p_rgh);
18 fvc::interpolate(interface.sigmaK())*fvc::snGrad(alpha1)
19 - ghf*fvc::snGrad(rho)
22 Pair<tmp<volScalarField> > vDotP = twoPhaseProperties->vDotP();
23 const volScalarField& vDotcP = vDotP[0]();
24 const volScalarField& vDotvP = vDotP[1]();
26 for (int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
28 fvScalarMatrix p_rghEqn
30 fvc::div(phi) - fvm::laplacian(rAUf, p_rgh)
31 - (vDotvP - vDotcP)*(pSat - rho*gh) + fvm::Sp(vDotvP - vDotcP, p_rgh)
34 p_rghEqn.setReference(pRefCell, pRefValue);
38 mesh.solver(p_rgh.select(pimple.finalInnerIter(corr, nonOrth)))
41 if (nonOrth == pimple.nNonOrthCorr())
43 phi += p_rghEqn.flux();
47 U += rAU*fvc::reconstruct((phi - phiU)/rAUf);
48 U.correctBoundaryConditions();
50 #include "continuityErrs.H"
54 if (p_rgh.needReference())
56 p += dimensionedScalar
60 pRefValue - getRefCellValue(p, pRefCell)