Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • openfoam openfoam
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 420
    • Issues 420
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 7
    • Merge requests 7
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #2047
Closed
Open
Issue created Mar 29, 2021 by Mattijs Janssens@MattijsMaintainer

primitiveMesh::edgeFaces produces different results whether using cached or uncached data

Summary

primitiveMesh::edgeFaces comes in two versions:

  • calculate edgeFaces for all edges of the mesh. This is ok.
  • calculate edgeFaces only for a single edge (i.e. uncached). This produces false positives for faces with difficult edge connectivity.

Steps to reproduce

Run attached test program on motorBike tutorial.

What is the current bug behaviour?

For some edges the uncached version returns 3 faces whereas the proper one returns 2 faces.

Relevant logs and/or images

Environment information

  • OpenFOAM version : v2012

Possible fixes

We're looping through pointFaces to see the common faces. However we do not check the edge is an edge (i.e. using consecutive vertices) on all the faces.

Assignee
Assign to
Time tracking