Hi!

The *.lon files give the fibre orientation per element. I wrote a script to find from the coordinates of a point of the mesh, the fibre orientation. However, this takes forever to calculate, since first the index of the point must be found and then the element containing this index. Doing this for all points in a mesh takes a very long time.

I tried looking into meshtool elem2node, but got a segmentation fault here and I am not 100 percent sure I used it in the correct way.

Is there an efficient, built-in way to get this information?

Thanks a lot in advance!

Cheers

Lore

The *.lon files give the fibre orientation per element. I wrote a script to find from the coordinates of a point of the mesh, the fibre orientation. However, this takes forever to calculate, since first the index of the point must be found and then the element containing this index. Doing this for all points in a mesh takes a very long time.

I tried looking into meshtool elem2node, but got a segmentation fault here and I am not 100 percent sure I used it in the correct way.

Is there an efficient, built-in way to get this information?

Thanks a lot in advance!

Cheers

Lore