4 forAll(U.boundaryField(), patchi)
6 if (U.boundaryField()[patchi].fixesValue())
8 U.boundaryField()[patchi].initEvaluate();
12 forAll(U.boundaryField(), patchi)
14 if (U.boundaryField()[patchi].fixesValue())
16 U.boundaryField()[patchi].evaluate();
18 phi.boundaryField()[patchi] =
19 U.boundaryField()[patchi] & mesh.Sf().boundaryField()[patchi];
24 #include "continuityErrs.H"
37 dimensionedScalar("pcorr", p.dimensions(), 0.0),
41 dimensionedScalar rAUf("(1|A(U))", dimTime/rho.dimensions(), 1.0);
43 adjustPhi(phi, U, pcorr);
45 for(int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
47 fvScalarMatrix pcorrEqn
49 fvm::laplacian(rAUf, pcorr) == fvc::div(phi) - divU
54 if (nonOrth == pimple.nNonOrthCorr())
56 phi -= pcorrEqn.flux();
60 #include "continuityErrs.H"