////////////////////////////////////////////////////////////////////// // First attempt to write a 3D Program // BOTONAKIS 06.02.05 lc = 2; // POINTS Point(1) = {3.00,2.00,0.00,lc}; Point(2) = {0.00,4.00,0.00,lc}; Point(3) = {0.00,0.00,0.00,lc}; Point(4) = {1.00,2.00,5.00,lc}; //LINES Line(1) = {1,2}; Line(2) = {2,3}; Line(3) = {3,1}; Line(4) = {1,4}; Line(5) = {2,4}; Line(6) = {3,4}; //Line Loops and Surfaces Line Loop(1) = {1,2,3}; Plane Surface(1) = {1}; Line Loop(2) = {3,4,-6}; Plane Surface(2) = {2}; Line Loop(3) = {1,5,-4}; Plane Surface(3) = {3}; Line Loop(4) = {2,6,-5}; Plane Surface(4) = {4}; Surface Loop(1) = {1,2,3,4}; Volume(1) = {1}; // Physical Lines //Physical Line(101) = {1}; //Physical Line(102) = {2}; //Physical Line(103) = {3}; //Physical Line(104) = {4}; //Physical Line(105) = {5}; //Physical Line(106) = {6}; // Physical Surfaces Physical Surface(1001) = {1}; Physical Surface(1002) = {2}; Physical Surface(1003) = {3}; Physical Surface(1004) = {4}; // VOLUMES Physical Volume(1001) = {1};