[Gmsh] how can I check node number order

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Nov 25 20:16:36 CET 2008


Roland Tollenaar wrote:
> Hi,
> 
> I have established that theoretically the node numbering of gmsh is 
> identical to calculix for 1st and 2nd order tetrahedral elements.

Ok. When we implemented the UNV export we followed the spec from IDEAS, 
and the UNV node ordering is definitely different from the one used in 
the MSH file format (look at MElement::getVertexUNV() to see the mapping).

Could it be the case that Calculix does not use the standard UNV mesh 
ordering? Is anyone on this list using Calculix?





> 
> If I convert the unv file from gmsh and retain the order of the nodes 
> defining the elements, then cgx reports 95%) bad elements (negative 
> jacobian).
> 
> Since it is unlikely that the elements from the meshinc process are so 
> bad, it seems as though there is a good chance that the element order as 
> gmsh builds the unv file is not consistent with its own (according to 
> the documentation) node sequence format.
> 
> Is this known, or if I have to check this, where in the code would the 
> reordering be done?
> 
> Kind regards,
> 
> Roland
> 
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh
> 
> 


-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
http://www.montefiore.ulg.ac.be/~geuzaine