BUG: snappyHexMesh: cutting imcompatible with corner-point detection

This commit is contained in:
mattijs
2018-02-21 11:08:21 +00:00
parent 7b4bf88891
commit fe9d99ca26
2 changed files with 2 additions and 4 deletions

View File

@ -818,7 +818,7 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells
} }
} }
} }
else if (nBoundaryAnchors == 7) else if (nBoundaryAnchors == 7 && nonBoundaryAnchor != -1)
{ {
// Mark the cell. Store the (single!) non-boundary anchor point. // Mark the cell. Store the (single!) non-boundary anchor point.
hasSevenBoundaryAnchorPoints.set(celli, 1u); hasSevenBoundaryAnchorPoints.set(celli, 1u);

View File

@ -2278,14 +2278,12 @@ void Foam::snappyRefineDriver::doRefine
10 // maxIter 10 // maxIter
); );
// Directional refinement // Directional shell refinement
//XXXXX
directionalShellRefine directionalShellRefine
( (
refineParams, refineParams,
100 // maxIter 100 // maxIter
); );
//XXXXX
// Introduce baffles at surface intersections. Remove sections unreachable // Introduce baffles at surface intersections. Remove sections unreachable
// from keepPoint. // from keepPoint.