ElmerGrid creates invalid mesh

Clearly defined bug reports and their fixes
Post Reply
rainer.ochs
Posts: 22
Joined: 19 Oct 2012, 01:24
Antispam: Yes

ElmerGrid creates invalid mesh

Post by rainer.ochs »

I convert a .unv mesh file that was generated by salome to elmer mesh format by using the command:
elmergrid 8 2 mesh
A mesh is created, but when I open it in ElmerGUI the program crashes. The same happens if I start the ElmerSolver.
If I open the .unv in ElmerGUI the file is opened without problems, I can save it in elmer format and simulate it. So I assume that the .unv is ok.

Is there an other way to convert .unv to elmer grid? I need a scriptable solution.

ElmerGrid: Windows XP-Version 5.1.2600
Attachments
mesh.7z
Examle mesh .unv
(706.81 KiB) Downloaded 365 times
rainer.ochs
Posts: 22
Joined: 19 Oct 2012, 01:24
Antispam: Yes

Re: ElmerGrid creates invalid mesh

Post by rainer.ochs »

With the parameter -autoclean the mesh is valid. I do not understand why but it is working.
cemg
Posts: 26
Joined: 02 Feb 2012, 17:41
Antispam: Yes
Location: Vigo, Spain

Re: ElmerGrid creates invalid mesh

Post by cemg »

Hi,

the ElmerGrid output when you convert the mesh into the Elmer mesh.* format says that your original .unv mesh contains a lot of lower dimensional elements (like, for instance, a 1D element in a 3D mesh). You must clean those degenerate elements before loading the mesh, as ElmerGrid with the flag -autoclean actually does.

Regards,

Cesar
Post Reply