Plugin Crack with OpenBoundaryPhysicalGroup>0
Dear all,
I am using the Plugin(Crack) to duplicate the nodes along a line (resp. surface) in a 2D (resp. 3D domain).
In the case of an edge crack, it seems that the feature OpenBoundaryPhysicalGroup does not work anymore with Gmsh versions 4.5.1 and 4.5.0, whereas it was working with previous version 4.4.1.
Here is a minimal working example with the geometry script:
Point(2) = {0 , 0.5 , 0 , 0.01} ;
Point(1) = {0.3 , 0.5 , 0 , 0.01} ;
Line(1) = {2 , 1} ;
Point(3) = {0 , 0 , 0 , 0.05} ;
Point(4) = {1 , 0 , 0 , 0.05} ;
Point(5) = {1 , 1 , 0 , 0.05} ;
Point(6) = {0 , 1 , 0 , 0.05} ;
Line(2) = {2 , 3} ;
Line(3) = {3 , 4} ;
Line(4) = {4 , 5} ;
Line(5) = {5 , 6} ;
Line(6) = {6 , 2} ;
Line Loop(1) = {2 , 3 , 4 , 5 , 6} ;
Plane Surface(1) = {1} ;
Line{1} In Surface{1} ;
Physical Point(1) = {2} ;
Physical Line(1) = {1} ;
Physical Surface(1) = {1} ;
After 2D meshing, applying the following Plugin(Crack) then 2D remeshing, the node corresponding to Point(2) (i.e. Physical Point(1)) is not duplicated, whereas the interior nodes along the Line(1) (i.e. Physical Line(1)) are well duplicated.
Plugin(Crack).Dimension = 1;
Plugin(Crack).PhysicalGroup = 1;
Plugin(Crack).OpenBoundaryPhysicalGroup = 1;
Plugin(Crack).NormalX = 0.000000;
Plugin(Crack).NormalY = 0.000000;
Plugin(Crack).NormalZ = 1.000000;
Plugin(Crack).Run;
In fact, setting Plugin(Crack).OpenBoundaryPhysicalGroup to 1 has the same effect than setting it to 0. As already explained above, such an example was working with Gmsh version 4.4.1 and previous ones, but it does not work anymore with Gmsh current stable version 4.5.1 and the previous one 4.5.0.
Thanks in advance,
Florent Pled