[Gmsh] issue in getting connectivity of elements

Juan E. Sanchez juan.e.sanchez at gmail.com
Mon Feb 26 20:47:53 CET 2018


Elements 1-9 are lines (1d), and elements 10-18 are rectangles (2d).

The element type is in the 2nd column.  The number of tags are in the 
3rd column.  The element coordinates indexes begin at the 3rd + 
number_of_tags column.

http://gmsh.info/doc/texinfo/gmsh.html#MSH-ASCII-file-format

Regards,

Juan


On 2/26/18 5:50 AM, preety obi wrote:
> i am discritrizing my rectangular domain with only nine rectangular 
> element but still in the output file their are 18 elements as shown 
> below i m also attaching the mesh file.
> 18 elements
> 1 1 2 3 2 2 7
> 2 1 2 3 2 7 8
> 3 1 2 3 2 8 4
> 4 1 2 4 3 4 9
> 5 1 2 4 3 9 10
> 6 1 2 4 3 10 3
> 7 1 2 2 4 3 11
> 8 1 2 2 4 11 12
> 9 1 2 2 4 12 1
> 10 3 2 1 1 3 11 13 10
> 11 3 2 1 1 11 12 14 13
> 12 3 2 1 1 12 1 5 14
> 13 3 2 1 1 10 13 15 9
> 14 3 2 1 1 13 14 16 15
> 15 3 2 1 1 14 5 6 16
> 16 3 2 1 1 9 15 8 4
> 17 3 2 1 1 15 16 7 8
> 18 3 2 1 1 16 6 2 7
> $EndElements
> i want to extract the connectivity how can i do that
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
> 




More information about the gmsh mailing list