"volume not found" or "ill-shaped tet"
Please, this is my mesh I want to make a hole in the quarter ring and also fill it with the same quantity with a volume but I have tried all options I know but I keep getting errors and warnings
when I used cone hole I got volume not found then I used cylinder hole I got ill tet shaped. this is my script
//+
SetFactory("OpenCASCADE");
//+
lc=0.0002;
Point(1) = {0.03, 0, 0, lc};
Point(2) = {0.024, 0, 0, lc};
Point(3) = {0.03, 0.0003, 0, lc};
Point(4) = {0.024, 0.0003, 0, lc};
Point(5) = {0.03, 0.00036, 0, lc};
Point(6) = {0.024, 0.00036, 0, lc};
Point(7) = {0.03, 0.00066, 0, lc};
Point(8) = {0.024, 0.00066, 0, lc};
Point(9) = {0.031, -0.001, 0, lc};
Point(10) = {0.023, -0.001, 0, lc};
Point(11) = {0.031, 0.001, 0, lc};
Point(12) = {0.023, 0.001, 0, lc};
Line(1) = {2, 1};
Line(2) = {1, 3};
Line(3) = {3, 4};
Line(4) = {4, 2};
Line(5) = {3, 5};
Line(6) = {5, 6};
Line(7) = {6, 4};
Line(8) = {5, 7};
Line(9) = {7, 8};
Line(10) = {8, 6};
Line(11) = {10, 9};
Line(12) = {9, 11};
Line(13) = {11, 12};
Line(14) = {12, 10};
Curve Loop(1) = {3, 4, 1, 2};
Curve Loop(2) = {6, 7, -3, 5};
Curve Loop(3) = {9, 10, -6, 8};
Curve Loop(4) = {13, 14, 11, 12};
Plane Surface(1) = {1};
Plane Surface(2) = {2};
Plane Surface(3) = {3};
Plane Surface(4) = {4};
Extrude {{0, 1, 0}, {0, 0, 0}, Pi/2} {
Surface{1};
}
Extrude {{0, 1, 0}, {0, 0, 0}, Pi/2} {
Surface{2};
}
Extrude {{0, 1, 0}, {0, 0, 0}, Pi/2} {
Surface{3};
}
Extrude {{0, 1, 0}, {0, 0, 0}, Pi/2} {
Surface{4};
}
//Coherence;
//Cone(5) = {0.027, 0.0003, -0.0017, 0.003, 0, 0, 0.0001, 0.0003, 2*Pi};
//Cone(6) = {0.0189, 0.0003, -0.0202, 0.00155, 0, -0.0019, 0.0001, 0.0003, 2*Pi};
//Cone(7) = {0.0017, 0.0003, -0.027, 0, 0, -0.003, 0.0001, 0.0003, 2*Pi};
//BooleanDifference{ Volume{1}; Volume{2}; Volume{3}; Delete; }{ Volume{5}; Volume{6}; Volume{7}; Delete; }
//Cone(8) = {0.027, 0.0003, -0.0017, 0.003, 0, 0, 0.0001, 0.0003, 2*Pi};
//Cone(9) = {0.0189, 0.0003, -0.0202, 0.00155, 0, -0.0019, 0.0001, 0.0003, 2*Pi};
//Cone(10) = {0.0017, 0.0003, -0.027, 0, 0, -0.003, 0.0001, 0.0003, 2*Pi};
//Curve Loop(56) = {70, 78, 51};
Cylinder(5) = {0.0286, 0.0003, -0.0024, 0.0015, 0, 0, 0.00015, 2*Pi};
Cylinder(6) = {0.0276, 0.0003, -0.0085, 0.0015, 0, 0, 0.00015, 2*Pi};
Surface Loop(7) = {25, 26, 27};
Surface Loop(8) = {25, 26, 27};
BooleanDifference{ Volume{3}; Volume{2}; Volume{1}; Delete; }{ Volume{6}; Volume{5}; Delete; }
Edited by Callistus Okoye