2 volScalarField rUA = 1.0/UEqn.A();
3 surfaceScalarField rUAf = fvc::interpolate(rUA);
7 surfaceScalarField phiU
10 (fvc::interpolate(U) & mesh.Sf())
11 //+ fvc::ddtPhiCorr(rUA, rho, U, phi)
13 mrfZones.relativeFlux(phiU);
17 fvc::interpolate(interface.sigmaK())*
18 fvc::snGrad(alpha1)*mesh.magSf()
19 + fvc::interpolate(rho)*(g & mesh.Sf())
23 for(int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
27 fvm::laplacian(rUAf, pd) == fvc::div(phi)
30 pdEqn.setReference(pdRefCell, pdRefValue);
32 if (corr == nCorr-1 && nonOrth == nNonOrthCorr)
34 pdEqn.solve(mesh.solutionDict().solver(pd.name() + "Final"));
38 pdEqn.solve(mesh.solutionDict().solver(pd.name()));
41 if (nonOrth == nNonOrthCorr)
47 U += rUA*fvc::reconstruct((phi - phiU)/rUAf);
48 U.correctBoundaryConditions();