BUG: primitiveMesh: incorrect uncached edgeFaces. Fixes #2047.
It was only looking for faces that were used in both endpoints but not actually checking whether they were indeed an edge (== consecutive vertex) in all faces. So if one face had an additional crossing edge and another didn't it would find more edgeFaces than the proper 'primitiveMesh::edgeFaces()' routine. This occasionally happened inside snappyHexMesh (e.g. motorBike tutorial)
Showing
- applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C 54 additions, 2 deletionsapplications/utilities/mesh/advanced/modifyMesh/modifyMesh.C
- etc/caseDicts/annotated/modifyMeshDict 10 additions, 0 deletionsetc/caseDicts/annotated/modifyMeshDict
- src/OpenFOAM/meshes/primitiveMesh/primitiveMeshEdgeFaces.C 28 additions, 7 deletionssrc/OpenFOAM/meshes/primitiveMesh/primitiveMeshEdgeFaces.C