Geometry.AutoCoherence=1;
Geometry.ExtrudeSplinePoints=30;
Point(10000) = {0,0,-25};
Point(10001) = {0,0,-70};
Point(10002) = {0,4.95,-70};
Point(10003) = {0,4.95,0};
Point(10004) = {0,2.75,0};
Point(10005) = {0,2.75,-24.725};
Point(10006) = {0,2.75,-24.8625};
Point(10007) = {0,2.6125,-24.8625};
Point(10008) = {0,2.6125,-25};
Point(10009) = {0,2.475,-25};
Line(10011) = {10000,10001};
Line(10012) = {10001,10002};
Line(10013) = {10002,10003};
Line(10014) = {10003,10004};
Line(10015) = {10004,10005};
Line(10016) = {10005,10006};
Circle(10017) = {10006,10007,10008};
Line(10018) = {10008,10009};
Line(10019) = {10009,10000};
Line Loop(10021)={10011, 10012, 10013, 10014, 10015, 10016, 10017, 10018, 10019};
Plane Surface(10022) = {10021};
donut0a[]=Extrude {{0,0,0}, {0,0,1},{0,0,1},Pi} {Surface{10022}; Layers {18};Recombine;QuadTriAddVerts;};
donut0b[]=Extrude {{0,0,0}, {0,0,1},{0,0,1},Pi} {Surface{donut0a[0]}; Layers {18};Recombine;QuadTriAddVerts;};
Point(20000) = {0,0,-70};
Point(20001) = {-4.95,0,-70};
Point(20002) = {0,-4.95,-70};
Point(20003) = {4.95,0,-70};
Point(20004) = {0,4.95,-70};
Circle(20005) = {20001,20000,20002};
Circle(20006) = {20002,20000,20003};
Circle(20007) = {20003,20000,20004};
Circle(20008) = {20004,20000,20001};
Line Loop(20009)={20005, 20006, 20007, 20008};
Point(9990) = {0,0,-70};
Point(9991) = {0,-35,-70};
Point(9992) = {-35,0,-70};
Point(9993) = {0,35,-70};
Point(9994) = {35,0,-70};
Circle(9981) = {9991,9990,9992};
Circle(9982) = {9992,9990,9993};
Circle(9983) = {9993,9990,9994};
Circle(9984) = {9994,9990,9991};
Line Loop(9985)={9981, 9982, 9983, 9984};
Plane Surface(30000) = {9985 , 20009};
domain[] = Extrude{0,0,70}{Surface{30000};};
Surface Loop (987) = {30000, domain[0], domain[2], domain[3], domain[4], domain[5], donut0a[4], donut0b[4]};
Volume (876) = {987};
Delete {Volume{domain[1]};}
Field[1] = Attractor;
Field[1].NNodesByEdge = 200;
Field[1].EdgesList = {10016, 10017, 10018 };
Field[2] = Threshold;
Field[2].IField = 1;
Field[2].LcMin = 0.2;
Field[2].LcMax = 2;
Field[2].DistMin = 0.6;
Field[2].DistMax = 20;
Background Field = 2;
Mesh.Algorithm = 2;
Mesh.RecombineAll = 1;

