Hello,

 I make a mesh with the following geo file:

 l = 1.0;
 h = 1.0;
 n = 40;
 m = 40;
 Point(1) = { 0, 0, 0 };
 Point(2) = { l, 0, 0 };
 Line(1) = {1,2};
 Transfinite Line{1} = n+1;
 Surf[] = Extrude{0,h,0} { Line(1); Layers{m}; };


 The resulting mesh is a 2D mesh made of triangles
obtained by dividing a square by a diagonal, all diagonals
having the same direction.
 I would like to know if there is a method I can use
in the geo file to split the square by the other diagonal 
and a method to split the square in 4 triangles
still with the diagonals.

Thank you.
                                          
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to