Skip to content
Snippets Groups Projects
Commit e9099062 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

remove extra vol defs
parent ccc8e19e
No related branches found
No related tags found
No related merge requests found
...@@ -14,6 +14,3 @@ Line(4) = {1,4}; ...@@ -14,6 +14,3 @@ Line(4) = {1,4};
Line Loop(5) = {2,3,4,1}; Line Loop(5) = {2,3,4,1};
Plane Surface(6) = {5}; Plane Surface(6) = {5};
Extrude Surface {6, {0,0.0,1}}; Extrude Surface {6, {0,0.0,1}};
Surface Loop(29) = {23,6,15,19,28,27};
Complex Volume(30) = {29};
...@@ -6,5 +6,3 @@ Point(1) = {0.0,0.0,0.0,.2}; ...@@ -6,5 +6,3 @@ Point(1) = {0.0,0.0,0.0,.2};
Extrude Point {1, {1,0.0,0} }; Extrude Point {1, {1,0.0,0} };
Extrude Line {1, {0.0,0.0,1} }; Extrude Line {1, {0.0,0.0,1} };
Extrude Surface {5, {0,1,0} }; Extrude Surface {5, {0,1,0} };
Surface Loop(28) = {26,5,14,18,22,27};
Complex Volume(29) = {28};
...@@ -5,16 +5,18 @@ A cube with a hole ...@@ -5,16 +5,18 @@ A cube with a hole
Point(1) = {0.0,0.0,0.0,.1}; Point(1) = {0.0,0.0,0.0,.1};
Extrude Point {1, {1,0.0,0} }; Extrude Point {1, {1,0.0,0} };
Extrude Line {1, {0.0,0.0,1} }; Extrude Line {1, {0.0,0.0,1} };
Extrude Surface {5, {0,1,0} }; aa[] = Extrude Surface {5, {0,1,0} };;
Point(100) = {0.3,0.3,0.3,.02}; Point(100) = {0.3,0.3,0.3,.02};
Extrude Point {100, {.4,0.0,0} }; Extrude Point {100, {.4,0.0,0} };
Extrude Line {28, {0,0.4,0} }; Extrude Line {28, {0,0.4,0} };
Coherence; Coherence;
Extrude Surface {32, {0,0.,0.4} }; bb[] = Extrude Surface {32, {0,0.,0.4} };;
Coherence; Coherence;
Delete { Volume{aa[1],bb[1]}; }
Surface Loop(55) = {26,5,14,18,22,27}; Surface Loop(55) = {26,5,14,18,22,27};
Surface Loop(56) = {41,32,45,49,53,54}; Surface Loop(56) = {41,32,45,49,53,54};
Complex Volume(57) = {55,56}; Volume(57) = {55,56};
/*****************************
cube with a hole
*****************************/
lv = .1; lv = .1;
lc = .04; lc = .04;
Point(1) = {0.0,0.0,0.0,lv}; Point(1) = {0.0,0.0,0.0,lv};
...@@ -25,6 +22,3 @@ Line Loop(10) = {7,8,5,6}; ...@@ -25,6 +22,3 @@ Line Loop(10) = {7,8,5,6};
Plane Surface(11) = {9,10}; Plane Surface(11) = {9,10};
Extrude Surface{11, {0.0,1,0}, {-.5,0.0,0.0}, 3.14159/4 } ; Extrude Surface{11, {0.0,1,0}, {-.5,0.0,0.0}, 3.14159/4 } ;
Coherence;
Surface Loop(54) = {36,11,24,28,32,53,40,44,48,52};
Complex Volume(55) = {54};
/*****************************
cube with a hole
*****************************/
lv = .1; lv = .1;
lc = .04; lc = .04;
Point(1) = {0.0,0.0,0.0,lv}; Point(1) = {0.0,0.0,0.0,lv};
...@@ -24,6 +21,3 @@ Line Loop(9) = {1,2,3,4}; ...@@ -24,6 +21,3 @@ Line Loop(9) = {1,2,3,4};
Line Loop(10) = {7,8,5,6}; Line Loop(10) = {7,8,5,6};
Plane Surface(11) = {9,10}; Plane Surface(11) = {9,10};
Extrude Surface {11, {.0,0.0,.5} }; Extrude Surface {11, {.0,0.0,.5} };
Coherence;
Surface Loop(54) = {24,11,28,32,36,53,40,44,48,52};
Complex Volume(55) = {54};
...@@ -9,4 +9,3 @@ Line(4) = {4,1}; ...@@ -9,4 +9,3 @@ Line(4) = {4,1};
Line Loop(5) = {1,2,3,4}; Line Loop(5) = {1,2,3,4};
Plane Surface(6) = {5}; Plane Surface(6) = {5};
Extrude Surface {6, {1.0,0.0,0.0} }; Extrude Surface {6, {1.0,0.0,0.0} };
Coherence;
...@@ -5,14 +5,16 @@ A cube with a hole ...@@ -5,14 +5,16 @@ A cube with a hole
Point(1) = {0.0,0.0,0.0,.1}; Point(1) = {0.0,0.0,0.0,.1};
Extrude Point {1, {1,0.0,0} }; Extrude Point {1, {1,0.0,0} };
Extrude Line {1, {0.0,0.0,1} }; Extrude Line {1, {0.0,0.0,1} };
Extrude Surface {5, {0,1,0} }; aa[] = Extrude Surface {5, {0,1,0} };;
Point(100) = {0.3,0.3,0.3,.1}; Point(100) = {0.3,0.3,0.3,.1};
Extrude Point {100, {.4,0.0,0} }; Extrude Point {100, {.4,0.0,0} };
Extrude Line {28, {0,0.4,0} }; Extrude Line {28, {0,0.4,0} };
Extrude Surface {32, {0,0.,0.4} }; bb[] = Extrude Surface {32, {0,0.,0.4} };;
Delete{Volume{aa[1],bb[1]};}
Surface Loop(55) = {-26,5,-14,-18,-22,-27}; Surface Loop(55) = {-26,5,-14,-18,-22,-27};
Surface Loop(56) = {-41,32,-45,-49,-53,-54}; Surface Loop(56) = {-41,32,-45,-49,-53,-54};
Volume(57) = {55,56}; Volume(57) = {55,56};
//Volume(57) = {55}; Volume(58) = {56};
...@@ -13,5 +13,3 @@ Line Loop(5) = {4,1,2,3}; ...@@ -13,5 +13,3 @@ Line Loop(5) = {4,1,2,3};
Plane Surface(6) = {5}; Plane Surface(6) = {5};
Extrude Surface{6, {0.0,1,0}, {0,0.0,0.0}, 3.14159/4}; Extrude Surface{6, {0.0,1,0}, {0,0.0,0.0}, 3.14159/4};
Coherence;
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment