[Gmsh] Please help me!

Christophe Geuzaine Christophe.Geuzaine at ulg.ac.be
Wed Nov 7 08:32:15 CET 2001


LFKI wrote:
> 
> Dear Mr.Christophe,
>   May I ask you a question? When I use Gmsh to mesh the example of t1.geo, I found that the output file (t1.msh) did not list all line elements information, such as those lines in the interior of the rectangle. There are only information of lines elements on the edges of the rectangle in 't1.msh'. What's the matter?
> 

Of course, there are no line elements generated inside the rectangle,
since this information can be very simply derived from the triangular
elements. To get the information you want (I guess), simply loop on the
triangles and generate the edges (each triangle has three nodes, and
each edge joins two of these nodes)... For all interior edges, you will
have to choose one out of the two possible orientations, though (i.e.
going from node 24 to node 25, or vice versa).

Christophe

-- 
Christophe Geuzaine

Tel: 32 (0) 4 366 37 10    http://geuz.org
Fax: 32 (0) 4 366 29 10    mailto:Christophe.Geuzaine at ulg.ac.be