isoSurface: Fix for isoSurface 'eroding' surfaces down to nothing
The occurrence is from cells with vertices that are shared between two faces only (these vertices can originate from hex refinement). Decomposing both faces can occasionally produce triangles with identical vertices and this results in a non-manifold edge which triggers the erosion procedure. Avoided by detecting cells with these special vertices and making sure the tet-decomposition never uses the same points on the faces using them. Patch contributed by Mattijs Janssens
Showing
- src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C 59 additions, 82 deletions...yMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.C
- src/OpenFOAM/meshes/polyMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.H 12 additions, 1 deletion...yMesh/polyMeshTetDecomposition/polyMeshTetDecomposition.H
- src/sampling/surface/isoSurface/isoSurfaceTopo.C 221 additions, 29 deletionssrc/sampling/surface/isoSurface/isoSurfaceTopo.C
- src/sampling/surface/isoSurface/isoSurfaceTopo.H 13 additions, 3 deletionssrc/sampling/surface/isoSurface/isoSurfaceTopo.H
Please register or sign in to comment