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. <[email protected]>:

> 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
> [email protected]
> http://onelab.info/mailman/listinfo/gmsh
>
>

Attachment: GMSH_no_coarsening.geo
Description: Binary data

_______________________________________________
gmsh mailing list
[email protected]
http://onelab.info/mailman/listinfo/gmsh

Reply via email to