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];
26 p.boundaryField().size(),
27 zeroGradientFvPatchScalarField::typeName
30 forAll(p.boundaryField(), i)
32 if (p.boundaryField()[i].fixesValue())
34 pcorrTypes[i] = fixedValueFvPatchScalarField::typeName;
49 dimensionedScalar("pcorr", p.dimensions(), 0.0),
53 for (int nonOrth=0; nonOrth<=pimple.nNonOrthCorr(); nonOrth++)
55 fvScalarMatrix pcorrEqn
57 fvm::laplacian(rAU, pcorr) == fvc::div(phi)
60 pcorrEqn.setReference(pRefCell, pRefValue);
63 if (nonOrth == pimple.nNonOrthCorr())
65 phi -= pcorrEqn.flux();
70 #include "continuityErrs.H"