Bug? ElmerGrid creates 0Dim boundariies from msh file

Mesh generators, CAD programs, and other tools
Post Reply
BDesco
Posts: 18
Joined: 28 Jun 2020, 19:32
Antispam: Yes

Bug? ElmerGrid creates 0Dim boundariies from msh file

Post 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.
Attachments
Problem.zip
(8.23 KiB) Downloaded 17 times
raback
Site Admin
Posts: 3750
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

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

Post 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
Post Reply