[Gmsh] Problem with 2D mesh generation for a cracked domain

olivier jamond olivier.jamond at gmail.com
Fri Apr 3 09:28:23 CEST 2009


Hi David,

I am using the version 2.3.1.

I have the impression that the mesh does not match the crack. A 
screen-shot of what I have is attached (the mesh does not seem to match 
the line 4)

Thanks for your help

Regards,

Olivier

.geo:
Point(1) = {0.5, 0.5, 0};
Point(2) = {0, 0.5, 0};
Point(3) = {0.5, 1, 0};
Point(4) = {0.5, 0, 0};
Point(5) = {1, 0.5, 0};
Point(6) = {0.8, 0.6, 0};
Point(7) = {0.646, 0.784, 0};
Line(1) = {2, 1};
Line(2) = {1, 4};
Line(3) = {1, 6};
Line(4) = {6, 7};
Circle(5) = {4, 1, 5};
Circle(6) = {5, 1, 3};
Circle(7) = {3, 1, 2};
Line Loop(8) = {1, 2, 5, 6, 7};
Line Loop(9) = {3,4};
Plane Surface(10) = {8};
Line{3,4} In Surface{10};

David Colignon wrote:
> Hi Olivier,
>
> I don't see any problem here with your first solution... Which version 
> of Gmsh are you using ?
>
> You can also use
>
> Line{3,4} In Surface{10};
>
> Cheers,
>
> Dave
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: mesh.jpg
Type: image/jpeg
Size: 85347 bytes
Desc: not available
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20090403/bcb329a8/attachment.jpg>