Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D dune-grid
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 57
    • Issues 57
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 23
    • Merge requests 23
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Core ModulesCore Modules
  • dune-grid
  • Issues
  • #85

Upgrade GMSH reader to GMSH v4

Description

The Dune::GmshReader is not able to read Gmsh files of the newest version 4. Here is a very simple example of a square grid:

  • square.msh
  • square.geo

Reading this mesh file results in the error

Dune::IOError [read:/opt/dune/dune-grid/dune/grid/io/file/gmshreader.hh:297]: can only read Gmsh version 2 files

However, I was using Gmsh v3 before which was working fine.

Proposals

  • Update the GmshReader to support more recent versions of Gmsh. From a quick glance into the Gmsh docs, I would expect that this is quite a bit of work, as the specs changed considerably. Any effort into this direction is highly appreciated! I offer my help but looking at the current reader I don't see myself capable of handling the implementation alone.

  • Mention the supported versions of Gmsh explicitly somewhere (doxygen, readme, ...). The supported version is only found in the error message. Setting up a more elaborate mesh file only to find that the Gmsh version used is not supported is quite frustrating.

Assignee
Assign to
Time tracking