[Gmsh] Mesh coarsening between two refined lines
andrew
armitatz at gmail.com
Thu Nov 16 13:27:12 CET 2017
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/e7016656/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GMSH_no_coarsening.geo
Type: application/octet-stream
Size: 3713 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20171116/e7016656/attachment-0001.geo>
More information about the gmsh
mailing list