[Gmsh] partitioning in gmsh -- repost

Umut Tabak u.tabak at tudelft.nl
Fri Oct 15 23:30:19 CEST 2010

Dear all,

I asked the question given in the link below but no replies have 
appeared so far. So it is time to fire again ;-)


I was processing Ansys generated mesh structures in gmsh. There are two 
questions from my side, the questions are in the above link. However, my 
question on partitioning is somewhat more urgent now so here that comes,

I am writing the input mesh file in a mixed order(there is also an 
example file attached to the above link) since Ansys optimizes the mesh 
structure for the the bandwidth of the resulting matrices. If I write 
the elements in different order than a consecutive order, say [1: nelm 
], I guess gmsh wrappers for the partitioners are not that smart yet to 
recognize this difference or I have a conceptual misunderstanding.

Because giving the input file to gmsh with this mixed order screws up 
everything after the partitioning operation, however sorting the 
elements to be in a consecutive order solves the problem. I wanted to 
confirm that this is the right way for me to follow, I found this by 
some reasoning and trials.

Any comments are appreciated, best wishes for all.