{ if (mesh.changing()) { volVectorField::Boundary& bfld = U.boundaryFieldRef(); forAll(bfld, patchi) { if (bfld[patchi].fixesValue()) { bfld[patchi].initEvaluate(); } } surfaceScalarField::Boundary& phiBfld = phi.boundaryFieldRef(); forAll(bfld, patchi) { if (bfld[patchi].fixesValue()) { bfld[patchi].evaluate(); phiBfld[patchi] = bfld[patchi] & mesh.Sf().boundaryField()[patchi]; } } } wordList pcorrTypes ( p_rgh.boundaryField().size(), fvPatchFieldBase::zeroGradientType() ); for (label i=0; i validCells(refCells.size()); forAll(refCells, zoneId) { if (refCells[zoneId] != -1) { validCells.push_back(refCells[zoneId]); } } pcorrEqn.setReferences ( validCells, scalar(0), true ); } const dictionary& d = mesh.solver ( pcorr.select ( pimple.finalInnerIter() ) ); //Bypass virtual layer mesh.fvMesh::solve(pcorrEqn, d); if (pimple.finalNonOrthogonalIter()) { phi -= pcorrEqn.flux(); } } }