[Gmsh] Mesh coarsening between two refined lines
andrew
armitatz at gmail.com
Thu Nov 16 13:33:14 CET 2017
Now that I see it more your file creates overlapping lines (7 & 1102 for
example). There is a problem with your script logic in the creation of
these lines.
2017-11-16 14:27 GMT+02:00 andrew <armitatz at gmail.com>:
> The problem is at the addition of gp_lines.
>
> Your loop does not add the lines in the gp_lines array. If you add them
> manually then it is ok.
>
>
> 2017-11-16 13:39 GMT+02:00 Bormann, F. <F.Bormann at tue.nl>:
>
>> Dear Sir or Madam,
>>
>> I run into a problem currently with GMSH.
>>
>>
>>
>> I have a rectangle LxH that I want to mesh.
>>
>> Within that rectangle I have two lines that split the whole rectangle
>> into 3 subdomains. Along those lines (a<=x<=L) I want to introduce a fine
>> mesh.
>>
>> Thereto, I use a Field (Line attractor and Threshold). This is a matter
>> of choice, since the problem will be upscaled towards more and overlapping
>> refined regions.
>>
>>
>>
>> However, now I realise that between those two lines no mesh coarsening
>> takes place, although it actually should.
>>
>>
>>
>> Is there something that I am missing or is there a more neat way to do it?
>>
>>
>>
>> Attached is the geo-file. To mesh that model I use the default 2D meshing
>> option.
>>
>>
>>
>> Best regards,
>>
>> Franz Bormann
>>
>>
>>
>> PhD student
>>
>> Department of Mechanical Engineering
>>
>> Mechanics of Materials
>>
>> Eindhoven University of Technology
>>
>> Gem-Z.4.21 | +31 40-247 2054 <+31%2040%20247%202054>
>>
>>
>>
>> _______________________________________________
>> gmsh mailing list
>> gmsh at onelab.info
>> http://onelab.info/mailman/listinfo/gmsh
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20171116/afcc9e78/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: overlpping.jpg
Type: image/jpeg
Size: 50422 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171116/afcc9e78/attachment-0001.jpg>
More information about the gmsh
mailing list