[Gmsh] Structured mesh over a quarter of circle

Guido Giuntoli giuntoli1991 at gmail.com
Fri Aug 4 15:32:56 CEST 2017


Hi I have this Gmsh input and I want to perform a structured mesh but I
have an
error :

Error   : Surface 6 cannot be meshed using the transfinite algo

Why ?

This is my .geo

lc=0.5;
r = 0.5;

Point(1) = {-lc,-lc,-lc,0.1};
Point(2) = {lc,-lc,-lc,0.1};
Point(3) = {-lc, lc,-lc,0.1};
Point(4) = {-lc  , -lc+r ,-lc,0.1};
Point(5) = {-lc+r ,-lc   ,-lc,0.1};

Line(1) = {4, 3};
Line(2) = {3, 2};
Line(3) = {2, 5};
Circle(4) = {4, 1, 5};
Transfinite Line {4, 2} = 10 Using Progression 1;
Transfinite Line {1, 3} = 10 Using Progression 1;
Line Loop(5) = {1, 2, 3, -4};
Plane Surface(6) = {5};
Transfinite Surface {6};

Thank you, Guido.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20170804/ad11df28/attachment.html>


More information about the gmsh mailing list