[Gmsh] Gmsh 2.7.1 -- Embedding line in surface issue
Jose Paulo Moitinho de Almeida
moitinho at civil.ist.utl.pt
Thu Sep 25 17:12:39 CEST 2014
On Thursday 25 September 2014 06:34:05 mevelsadri at yahoo.fr wrote:
> I have the same problem.
> Does anyone found a better solution than the one Omid suggested ?
It works if you have Points (geometric entities) at the location of the
intersection of the embedded lines with the surface contour. See the attached
file.
In an ideal world gmsh would discover that these points need to be inserted
into the line loop of the surface, before starting the meshing process.
Probably a point for a todo list...
Regards
ZP
-------------- next part --------------
lc = 0.05;
Point(1) = {4, 1.7, 0, lc};
Point(2) = {4.5, 1.7, 0, lc};
Point(3) = {4.5, 1.4, 0, lc};
Point(4) = {4, 1.4, 0, lc};
Point(5) = {4.1, 1.7, 0, lc};
Point(6) = {4.1, 1.6, 0, lc};
Line(1) = {4, 3};
Line(2) = {3, 2};
Line(3) = {2, 5};
Line(4) = {5, 1};
Line(5) = {1, 4};
Line(6) = {5, 6};
Line Loop(7) = {5, 1, 2, 3, 4};
Plane Surface(8) = {7};
Line{6} In Surface{8};