ElmerGrid error converting ANSYS mesh

Clearly defined bug reports and their fixes
Post Reply
crobar
Posts: 49
Joined: 30 Mar 2014, 14:50
Antispam: Yes

ElmerGrid error converting ANSYS mesh

Post by crobar »

I just downloaded the contributed case for the WhitneyAV solver posted on the forum here:

viewtopic.php?f=18&t=1856

This example has a mesh created in Ansys that must be converted using ElmerGrid

when I run

Code: Select all

ElmerGrid 4 2 ExportMesh
I get

Code: Select all

Starting program Elmergrid
Elmergrid reading in-line arguments
Output will be saved to file ExportMesh.

Elmergrid loading data:
-----------------------
Calculating Ansys elementtypes from ExportMesh.header
There seems to be 1 elementytypes in file ExportMesh.header.
Ansys file has 185501 elements, 32036 nodes and 11 boundary types.
Calculating Ansys nodes from ExportMesh.node
There seems to be 32036 nodes in file ExportMesh.node.
Allocating for 32036 nodes and 185501 elements with max. 8 nodes in 3-dim.
Loading 32036 Ansys nodes from ExportMesh.node
Loading 185501 Ansys elements from ExportMesh.elem
Calculating nodes in file ExportMesh.boundary
There are 4077 boundary nodes, allocating 8154 elements
Loading Ansys boundary from ExportMesh.boundary
Found 4077 boundary nodes with 11 as maximum side.
Boundary types are in interval [1, 11]
Boundary nodes are in interval [1, 19443]
Found 20347 side elements formed by 4077 points.
*** Error in `ElmerGrid': munmap_chunk(): invalid pointer: 0x000000000200ca20 ***
Aborted
This is using svn rev 6967 compiled by myself, presumably the conversion has worked in the past since the original poster got it to work.
julien givernaud
Posts: 86
Joined: 18 Nov 2014, 18:18
Antispam: Yes

Re: ElmerGrid error converting ANSYS mesh

Post by julien givernaud »

Hello,

Same thing than crobar...

Someone knows how to debug this?

Best regards
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: ElmerGrid error converting ANSYS mesh

Post by mzenker »

Hi,

same problem here (Windows 7, elmerfem-20140919_Windows-AMD64.exe) - elmergrid just crashes after reading the boundaries.

Matthias
raback
Site Admin
Posts: 4812
Joined: 22 Aug 2009, 11:57
Antispam: Yes
Location: Espoo, Finland
Contact:

Re: ElmerGrid error converting ANSYS mesh

Post by raback »

Hi Matthias

There seems indeed be problems with this. It is very strange that this mesh has ever been loadable. And actually it does not come well even now. The good thing is that this case is not very sensitive to BC conditions but really the mesh does not come well. I made minor changes to get rid of the core dump.

-Peter
Post Reply