<div dir="ltr">Hi everyone,<div><br></div><div>I want to generate a structured mesh for a 5 vertices polygon as the attached picture.</div><div><div><img src="cid:ii_k55c0ezp0" alt="image.png" width="319" height="542" class="gmail-CToWUd gmail-a6T" tabindex="0" style="cursor: pointer; outline: 0px;"><br></div></div><div><br></div><div><br></div><div>I used the code below to specify the points, lines and generate the surface, but I need a structured mesh.</div><div>I know that I can reach this dividing the polygon in two polygons with 4 vertices each. However, I'm looking for other solutions.</div><div><div><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div><br></div><div><br></div><div>SetFactory("OpenCASCADE");<br>//+<br>Point(1) = {0, 0, 0, 1.0};<br>//+<br>Point(2) = {0, 200, 0, 1.0};<br>//+<br>Point(3) = {100, 200, 0, 1.0};<br>//+<br>Point(4) = {100, 100, 0, 1.0};<br>//+<br>Point(5) = {50, 0, 0, 1.0};<br><br>Point(6) = {100, 0, 0, 1.0};<br><br><br>Line(1) = {1, 2};<br>//+<br>Line(2) = {2, 3};<br>//+<br>Line(3) = {3, 4};<br>//+<br><br>Line(4) = {4, 5};<br>//+<br>Line(5) = {5, 1};<br><br>//+<br><br>//+<br>Transfinite Curve {1, 2} =5;<br>Transfinite Curve {3 : 5} = 3;<br><br>//+<br>Curve Loop(1) = {1, 2, 3, 4, 5};<br>//+<br>Surface(1) = {1};<br>//+<br>Transfinite Surface {1} = {1,2,3,6};<br>//+<br>Recombine Surface {1};</div></div></div></div></div></div></div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><br></div><p class="MsoNormal">Thanks,<u></u><u></u></p><p class="MsoNormal"><u></u>Pollyana. </p></div></div></div></div></div></div>