[Gmsh] The first tag is the number of the physaical entity to which the element belongs?

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed Jan 30 08:47:58 CET 2008


CHENJINX wrote:
>  
> 
> Hi,
> 
>  I have a question about how we can get the physical surface No. for 
> elements in GMSH File.
> 
>  
> 
> In default format of tetrahedorn Triangle mesh data as follow
> 
>  
> 
> 117 2 3 0 1000028 0 436 359 371
> 
>  
> 
> 117: Elm-number
> 
> 2: Elm-type
> 
> 3: number of tags
> 
> 0: The first tag is the number of the physaical entity to which the 
> element belongs.
> 
> 1000028
> 
> 0: The third tag is the number of the mesh partition to which the 
> element belongs.
> 
> ......
> 
>  
> 
> What reason does all entities of the first tag was show 0 for any 
> Triangle elements (ie. Elm-type 2)?


That means you haven't defined any physical entities (cf. e.g. "Physical
Surface" in the docs).

> 
> I wish to output the right first tag (the 3D element number with the 2D 
> Triangle of the Elm-type 2).
> 
> In addition, the 3D element number may be using the total Elm-number, or 
> the order for list of 3D element by itself.
> 
>  
> 
>  
> 
>  
> 
> Thank you.
> 
>  
> 
> CHEN J
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> 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