[Gmsh] issue in getting connectivity of elements

preety obi preetyobi at gmail.com
Mon Feb 26 12:50:11 CET 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180226/fa6acc50/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rec.msh
Type: model/mesh
Size: 943 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20180226/fa6acc50/attachment.msh>


More information about the gmsh mailing list