Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
D
dorie
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 31
    • Issues 31
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
  • dorie
  • dorie
  • Issues
  • #123

Closed
Open
Opened Oct 30, 2018 by Lukas Riedel@lriedelOwner

Add input of boundary segmentation

Description

Boundary segments are currently evaluated using global coordinates only. This has proven error prone, especially when using unstructured grids. Dune supports mapping via the Dune::Intersection interface which provides the boundarySegmentIndex function.

We will add a scheme similar to the one established for the parameterization mapping input (#86 (closed)) and, again, distinguish between two input modes: Gmsh and rectangular.

  1. Unstructured grid from a GMSH file.

    GMSH already implements boundary segmentation. This information can be read by the Dune::GmshReader. The current implementation of UG uses global IDs for boundary segments, which means that the data does not have to be re-mapped after load-balancing.

  2. Rectangular grid from config file specs.

    Boundaries will be segmented using mapping datasets with dimension dim-1 (codim 1). If no mapping file is given, the boundary condition cannot be specified and defaults to no flux.

Proposal

Add the means of specifying boundary segments to the GridCreator and GridMapper. Test them in a unit test but do not use them for BC queries yet.

Boundary segment indices can be mapped to the index of the input mapping array only via global coordinates.

How to test the implementation?

  • Update existing unit test test-grid-creation

Related issues

Meta-issue #119 (closed)

Edited Nov 06, 2018 by Lukas Riedel
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
v2.0 Release
Milestone
v2.0 Release
Assign milestone
Time tracking
None
Due date
None
Reference: dorie/dorie#123