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 426
    • Issues 426
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 9
    • Merge requests 9
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Development
  • openfoamopenfoam
  • Issues
  • #1674
Closed
Open
Issue created Apr 08, 2020 by Jaap Stolk@jwstolk

add rotatedBoxToCell vector order check and warning.

Functionality to add/problem to solve

In the rotatedBoxToCell cell selection, the box is defined using an origin and 3 vectors. if the vectors are not in the correct left/right-hand order, the selection box will be inside-out and not select any cells. This problem is not easy to spot since no errors or warnings are generated for this situation.

Proposal

If possible, add a check to the code and produce a warning if this situation is encountered. And make the importance of the vector order more clear in the rotatedBoxToCell documentation.

Note

I have since switched to using an external .STL file with a surfaceToCell for more complex selections, but decided to at least share my experience with the rotatedBoxToCell.

Assignee
Assign to
Time tracking