Page 1 of 1

Bug? ElmerGrid creates 0Dim boundariies from msh file

Posted: 20 Aug 2020, 12:43
by BDesco
Hello,
I created a very simple mesh in GMSH.
Created the Elmer mesh with ElmerGrid.
I get "Program received signal SIGSEGV: Segmentation fault - invalid memory reference." in ElmerGUI, using this mesh.

I tracked down the origin of the error and it seems to be that ElmerGrid creates 0DIM boundaries from the GMSH msh file (where they are also present).
When I delete those boundaries in the mesh.boundary file (and adapt the mesh.header accordingly), al works well.
So ElmerGrid should best not create boundaries that Elmer Solver can not handle.

I've included the folder that gives problems, when solving.

Re: Bug? ElmerGrid creates 0Dim boundariies from msh file

Posted: 20 Aug 2020, 16:45
by raback
Hi

Use these ElmerGrid flags (-autoclean is often practical):

Code: Select all

-removelowdim        : remove boundaries that are two ranks lower than highest dim
-removeunused        : remove nodes that are not used in any element
-bulkorder           : renumber materials types from 1 so that every number is used
-boundorder          : renumber boundary types from 1 so that every number is used
-autoclean           : this performs the united action of the four above
There are often support nodes in Gmsh that are not needed in ElmerSolver and just confuse it.

-Peter