Skip to content
/ imr Public

An offline converter from Gmsh format to an intermediate representation in JSON format

License

Notifications You must be signed in to change notification settings

dbeurle/imr

Repository files navigation

Build Status Coverage Status License: MIT

GmshReader

A reader for Gmsh files for processing serial and decomposed grids. This project is a command line interface (CLI) program and is designed to perform the off-line conversion of serial and decomposed grids into separate JSON mesh files. These files can be readily imported into a numerical analysis program using JSON readers avoiding dealing with the format of .msh files.

alt text

Building

This project uses CMake as the build system and can be built out-of-tree using:

  • mkdir build && cd build
  • cmake ..
  • make all

Gmsh file format

Gmsh specifies information tags and the nodal connectivity for each element. When a mesh is partitioned, for example with two partitions, the information tags would have the following data:

10 2 5 1 6 2 2 -1 5 22 4
element # element type (Triangle3) tags physical # geometrical # processes owner ghost nodalConnectivity

About

An offline converter from Gmsh format to an intermediate representation in JSON format

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published