Hi everyone,

I am trying to create a structured mesh for a simple triangular domain.
However, the generated mesh is not the one I expected.

The input script (geo) I am using is the following.

"
Point(1) = {0.0, 0.0, 0.0, 1.0};
Point(2) = {1.0, 0.0, 0.0, 1.0};
Point(3) = {1.0, 1.0, 0.0, 1.0};

Line(1) = {1, 2};
Line(2) = {2, 3};
Line(3) = {3, 1};

Line Loop(1) = {1, 2, 3};
Plane Surface(1) = {1};

Transfinite Line {1, 2, 3} = 5;
Transfinite Surface {1} Right;
"

The mesh I am obtaining is illustrated in Fig01.
The mesh I would expect to obtain is one similar to that presented in Fig02
(with little right triangles).

Thank you all for your help!
Best regards,

Murilo Bento
_______________________________________________
gmsh mailing list
gmsh@onelab.info
http://onelab.info/mailman/listinfo/gmsh

Reply via email to