Error when loading Tetgen tet10 meshes #3337
Replies: 1 comment 6 replies
-
In tetgen_io.C, it looks like we just assume there is an identity mapping between the Tetgen numbering and our Tet10 numbering, but apparently that's not correct... Lines 209 to 213 in db05ce9 Our Tet10 documentation shows the element numbering that we use: libmesh/include/geom/cell_tet10.h Lines 30 to 63 in db05ce9 and to me it looks like the main difference is that we number the mid-edge nodes between the {0,1,2} face of the Tet first whereas Tetgen numbers the mid-edge nodes in a different way that isn't immediately obvious to me. It should be possible to directly set up the correct |
Beta Was this translation helpful? Give feedback.
-
I have encountered a bug that I believe is occurring in libmesh (when used with MOOSE). When I load a tetgen tet10 mesh, the node orders are not read correctly leading to element self intersection:
I have made a tetgen file containing a single tet10 element, drawing the nodes out on paper shows that they're in the right places, and the nodes visible in paraview are in the correct place, it just seems that the order expected by libmesh and the order supplied by tetgen differ.
The ele file as generated by tetgen:
ele file contents
node file contents
I have attempted a few "logical" feeling orders to rewrite these, but given there are several million permutations of 10 values I'm not holding out much hope for this scattershot approach...
Beta Was this translation helpful? Give feedback.
All reactions