Boder element not in mesh
Hello,
I need to use a 3d mesh from gmsh in Freefem, but when I inport it in freefem, I see this error: read mesh ok 0Mesh3, num Tetra:= 1694, num Vertice:= 465 num boundary Triangles:= 98 Mesh3::meshS, num Triangles:= 98, num Vertice:= 67 num boundary Edges:= 96 Err Border element not in mesh 20 : -1 33 21 : -1 -1 22 : -1 -1 23 : -1 51 29 : -1 26 30 : -1 -1 31 : -1 52 48 : -1 -1 49 : -1 -1
I know the problem is;t in freefem part,and there should be sth wrong in defining my mesh in gmsh, can someone help me with this? here is my geo file script:
//+
Box(1) = {0, 0, 0, 1, 1, 1};
//+
Box(2) = {0.2, 0.2, 0, 0.6, 0.6, 1};
//+
BooleanDifference{ Volume{1}; Delete; }{ Volume{2}; Delete; }
//+
Physical Curve("inside") = {20, 23, 24, 19, 18, 16, 14, 13, 22, 21};
//+
Physical Curve("outside") = {33, 36, 35, 30, 29, 31, 25, 26, 28, 34, 32, 27};
//+
Physical Surface("walls") = {15, 16, 11, 14, 7, 13, 12};
//+
//+
Physical Volume("vol") = {1};
//+
Recombine Surface {16, 13, 15, 14, 11, 8, 12};
Regards.