2 wordList pcorrTypes(p.boundaryField().types());
4 for (label i=0; i<p.boundaryField().size(); i++)
6 if (p.boundaryField()[i].fixesValue())
8 pcorrTypes[i] = fixedValueFvPatchScalarField::typeName;
23 dimensionedScalar("pcorr", p.dimensions(), 0.0),
27 for(int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
29 fvScalarMatrix pcorrEqn
31 fvm::laplacian(rAU, pcorr) == fvc::div(phi)
34 pcorrEqn.setReference(pRefCell, pRefValue);
37 if (nonOrth == nNonOrthCorr)
39 phi -= pcorrEqn.flux();
42 // Fluxes are corrected to absolute velocity and further corrected
43 // later. HJ, 6/Feb/2009
47 #include "continuityErrs.H"