Gmsh crash when refining
To reproduce the issue:
- Import the geo file below
- 2D mesh
- Refine twice
- Gmsh crashes on the 2nd refine
boxdim = 1;
gridsize = boxdim/10;
Point(1) = {0 ,0,0,gridsize};
Point(2) = {3*boxdim,0,0,gridsize};
Point(3) = {5*boxdim,0,0,gridsize};
Point(4) = {0 ,boxdim,0,gridsize};
Point(5) = {boxdim ,boxdim,0,gridsize};
Point(6) = {3*boxdim,boxdim,0,gridsize};
Point(7) = {5*boxdim,boxdim,0,gridsize};
Point(8) = {0 ,3*boxdim,0,gridsize};
Point(9) = {boxdim ,3*boxdim,0,gridsize};
Point(10) = {5*boxdim,3*boxdim,0,gridsize};
Line(11) = {1,2};
Line(12) = {2,3};
Line(13) = {1,4};
Line(14) = {2,6};
Line(15) = {3,7};
Line(16) = {4,5};
Line(17) = {5,6};
Line(18) = {6,7};
Line(19) = {4,8};
Line(20) = {5,9};
Line(21) = {7,10};
Line(22) = {8,9};
Line(23) = {9,10};
Periodic Line {13} = {15};
Line Loop(24) = {11,14,-17,-16,-13};
Line Loop(25) = {12,15,-18,-14};
Line Loop(26) = {16,20,-22,-19};
Line Loop(27) = {17,18,21,-23,-20};
Plane Surface(28) = 24;
Plane Surface(29) = 25;
Plane Surface(30) = 26;
Plane Surface(31) = 27;
Physical Surface("Region.Fluid.NS") = {30,31};
Physical Surface("Region.Solid.Energy") = {28,29};
Physical Line("Boundary.Fluid.SubsonicInlet") = {19};
Physical Line("Boundary.Fluid.SubsonicOutlet") = {21};
Physical Line("Boundary.Fluid.SymmetryWall") = {22,23};
Physical Line("Boundary.Fluid.Internal") = {20};
Physical Line("Boundary.Solid.SymmetryWall") = {13,15};
Physical Line("Boundary.Solid.IsothermalWall") = {11,12};
Physical Line("Boundary.Solid.Internal") = {14};