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

olivier jamond olivier.jamond at gmail.com
Fri Apr 3 11:04:59 CEST 2009


I changed the algorithm and now, everything is okay.

Thanks a lot for your help

Best wishes,

Olivier

David Colignon wrote:
> Olivier,
>
> for the moment, this functionality (Line in Surface) works only 
> reliably with the MeshAdapt algorithm (it seems to work with the 
> others two algorithms, but with sufficiently fine mesh)
>
> Cheers,
>
> Dave
>
>
> olivier jamond wrote:
>> 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
>>>
>>
>>
>> ------------------------------------------------------------------------
>>
>