diff --git a/src/immersedBoundary/immersedBoundary/immersedBoundaryFvPatch/immersedBoundaryFvPatch.C b/src/immersedBoundary/immersedBoundary/immersedBoundaryFvPatch/immersedBoundaryFvPatch.C index 34c90d3d9..0c47673c7 100644 --- a/src/immersedBoundary/immersedBoundary/immersedBoundaryFvPatch/immersedBoundaryFvPatch.C +++ b/src/immersedBoundary/immersedBoundary/immersedBoundaryFvPatch/immersedBoundaryFvPatch.C @@ -186,14 +186,14 @@ void Foam::immersedBoundaryFvPatch::updatePhi const unallocLabelList& owner = mesh.owner(); const unallocLabelList& neighbour = mesh.neighbour(); - forAll(owner, faceI) + forAll (owner, faceI) { divPhi[owner[faceI]] += phiIn[faceI]; divPhi[neighbour[faceI]] -= phiIn[faceI]; } // Add the mesh motion fluxes from all patches including immersed boundary - forAll(mesh.boundary(), patchI) + forAll (mesh.boundary(), patchI) { const unallocLabelList& pFaceCells = mesh.boundary()[patchI].faceCells(); @@ -235,7 +235,8 @@ void Foam::immersedBoundaryFvPatch::updatePhi // << " error: " << magDivPhi[cellI] // << " V: " << newVols[cellI] // << " V0: " << oldVols[cellI] - // << " divPhi: " << divPhi[cellI]; + // << " divPhi: " << divPhi[cellI] + // << endl; if (corrOldVol < SMALL) {