# [Gmsh] Structured Mesh

Vitali vityurkiv84 at gmail.com
Mon May 16 22:34:07 CEST 2016

```Hello,
I am new to Gmsh community and  I would like to use it for my work. I am
trying to make a mesh for a simple circle and I want to make symmetrical
structured mesh as in the attachment. Following tutorials I have made the
following input file, but it does not create the desire mesh. Can someone
suggest how to create such a mesh for a circle? Thank you.

R = 70;
cl1 = 25;
Point(1) = {0, 0, 0, cl1};
Point(2) = {R, 0, 0, cl1};
Point(3) = {-R, 0, 0, cl1};
Point(4) = {0, R, 0, cl1};
Point(5) = {0, -R, 0, cl1};

Point(6) = {R*Cos(45*Pi/180), R*Sin(45*Pi/180), 0, cl1};
Point(7) = {R*Cos(135*Pi/180), R*Sin(135*Pi/180), 0, cl1};
Point(8) = {R*Cos(225*Pi/180), R*Sin(225*Pi/180), 0, cl1};
Point(9) = {R*Cos(315*Pi/180), R*Sin(315*Pi/180), 0, cl1};

Point(10) = {R*Cos(22.5*Pi/180), R*Sin(22.5*Pi/180), 0, cl1};
Point(11) = {R*Cos(67.5*Pi/180), R*Sin(67.5*Pi/180), 0, cl1};
Point(12) = {R*Cos(112.5*Pi/180), R*Sin(112.5*Pi/180), 0, cl1};
Point(13) = {R*Cos(157.5*Pi/180), R*Sin(157.5*Pi/180), 0, cl1};
Point(14) = {R*Cos(202.5*Pi/180), R*Sin(202.5*Pi/180), 0, cl1};
Point(15) = {R*Cos(247.5*Pi/180), R*Sin(247.5*Pi/180), 0, cl1};
Point(16) = {R*Cos(292.5*Pi/180), R*Sin(292.5*Pi/180), 0, cl1};
Point(17) = {R*Cos(337.5*Pi/180), R*Sin(337.5*Pi/180), 0, cl1};

Circle(1) = {4, 1, 3};
Circle(2) = {3, 1, 5};
Circle(3) = {5, 1, 2};
Circle(4) = {2, 1, 4};

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

Point{6,7,8,9,10,11,12,13,14,15,16,17} In Surface{6};

Transfinite Surface{6};
Recombine Surface{6};
-------------- next part --------------
An HTML attachment was scrubbed...
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Circle_Mesh.jpg
Type: image/jpeg
Size: 35746 bytes
Desc: not available
```