On Tue, 2 May 2017, Harshad Sahasrabudhe wrote: > I would assume the ordering of each Tet's nodes in Sentaurus is the same, >> and you just need to figure out the permutation of the node ids that gives >> you the libmesh/Gmsh numbering (they are the same). I would just write a >> simple reader for the Sentaurus file format and skip the Gmsh conversion >> step as I don't see the need for it. >> > > Sentaurus stores the mesh a bit differently than Gmsh. It stores elements, > faces, edges and points linked in that order. Gmsh only stored elements and > the corresponding points. Basically I figure out what points the element > has from the faces, edges and lines. In doing this, I mess up the order of > the nodes.
Is the mesh entirely Tet4, then? If so then there's only two equivalence classes of orderings; you could try one, test the jacobian at any point, and if it's negative then swap two nodes and you're done. --- Roy ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Libmesh-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/libmesh-users
