12 volScalarField
AU(
UEqn.A());
14 volVectorField
HbyA(
"HbyA",
U);
17 volScalarField
rAU(1.0 /
UEqn.A());
25 surfaceScalarField
phid(
27 fvc::interpolate(
psi) * (fvc::interpolate(
HbyA) &
mesh.Sf()));
31 while (
simple.correctNonOrthogonal())
35 - fvm::laplacian(
rho *
rAU,
p));
46 SolverPerformance<scalar> solverP = pEqn.solve();
50 if (
simple.finalNonOrthogonalIter())
67 while (
simple.correctNonOrthogonal())
71 - fvm::laplacian(
rho /
AtU,
p));
79 SolverPerformance<scalar> solverP = pEqn.solve();
83 if (
simple.finalNonOrthogonalIter())
105 U.correctBoundaryConditions();
112 / fvc::domainIntegrate(
psi);