<div dir="ltr"><div>Hello Sir,<br></div>         I am suffering a little bit problem. I am trying mesh an structure using the following code. Here, there is an small volume which is indicated by volume 2 inside another volume indicated by  volume 1. The plane surfaces 34 and 36 of volume 2 are coincide with the the plane surfaces of  47 and 49 of volume 1. Problem is when I am doing the 3d mesh, it can be seen that only the surfaces of volume 1 are meshing, not the whole volume.<br clear="all"><div><div><br>// Gmsh project created on Mon Jan 12 14:22:18 2015<br>nm = 1e-06;<br>e1 = 4.5 * nm; e2 = 6 * nm / 2; e3 =  5 * nm / 2; <br>l1 = 20 * nm;<br>h1 = 4 * nm; h2 = 22 * nm; h3 = 14 * nm; h4 = 20 * nm; h5 = 4 * nm;<br>R1 = 10 * nm; R2 = 2 * nm; R3 = 8 * nm;<br>Lc1 = 0.000001;<br>Lc2 = 0.0000005;<br>Lc3 = 0.000001;<br><br><br>// Si substarte<br>Point(1) = {-e1-e2, 0    , 0, Lc1}; <br>Point(2) = {e1+e2, 0  , 0, Lc1};<br>Point(3)= { e1+e2,  -l1  , 0, Lc1};<br>Point(4)= {-e1-e2, -l1 , 0, Lc1};<br>Point(5) = {-e1-e2, 0    , h1, Lc1}; <br>Point(6) = {e1+e2, 0  , h1, Lc1};<br>Point(7)= { e1+e2,  -l1  , h1, Lc1};<br>Point(8)= {-e1-e2, -l1 , h1, Lc1};<br><br>Line(1) = {1, 2};<br>Line(2) = {2, 3};<br>Line(3) = {3, 4};<br>Line(4) = {4, 1};<br>Line(5) = {1, 5};<br>Line(6) = {5, 6};<br>Line(7) = {6, 2};<br>Line(8) = {6, 7};<br>Line(9) = {7, 8};<br>Line(10) = {8, 5};<br>Line(11) = {4, 8};<br>Line(12) = {3, 7};<br><br>// SiO2 layer<br>Point(9) = {-e1-e2, 0  , h1+h2  , Lc1}; <br>Point(10) = {e1+e2, 0   , h1+h2  , Lc1};<br>Point(11) = {e1+e2, -l1  , h1+h2  , Lc1}; <br>Point(12) = {-e1-e2, -l1   , h1+h2  , Lc1};<br>Line(13) = {5, 9};<br>Line(14) = {9, 10};<br>Line(15) = {10, 6};<br>Line(16) = {10, 11};<br>Line(17) = {11, 12};<br>Line(18) = {12, 9};<br>Line(19) = {7, 11};<br>Line(20) = {8, 12};<br><br>// Cu layer<br>Point(13)= {-e3, 0 , h1+h3, Lc2};<br>Point(14)= {e3, 0 , h1+h3, Lc2};<br>Point(15)= {-e3,  -l1, h1+h3, Lc2};<br>Point(16)= {e3, -l1 , h1+h3, Lc2};<br>Point(17)= {-e3, 0 , h1+h4, Lc2};<br>Point(18)= {e3, 0 , h1+h4, Lc2};<br>Point(19)= {-e3,  -l1, h1+h4, Lc2};<br>Point(20)= {e3, -l1 , h1+h4, Lc2};<br>Line(21) = {13, 14};<br>Line(22) = {14, 18};<br>Line(23) = {18, 17};<br>Line(24) = {17, 13};<br>Line(25) = {14, 16};<br>Line(26) = {16, 15};<br>Line(27) = {15, 13};<br>Line(28) = {18, 20};<br>Line(29) = {20, 19};<br>Line(30) = {19, 17};<br>Line(31) = {16, 20};<br>Line(32) = {15, 19};<br><br>Line Loop(33) = {23, 24, 21, 22};<br>Plane Surface(34) = {33};<br>Line Loop(35) = {29, -32, -26, 31};<br>Plane Surface(36) = {35};<br>Line Loop(37) = {22, 28, -31, -25};<br>Plane Surface(38) = {37};<br>Line Loop(39) = {24, -27, 32, 30};<br>Plane Surface(40) = {39};<br>Line Loop(41) = {21, 25, 26, 27};<br>Plane Surface(42) = {41};<br>Line Loop(43) = {23, -30, -29, -28};<br>Plane Surface(44) = {43};<br>Surface Loop(45) = {44, 34, 40, 42, 38, 36};<br>Volume(2) = {45};<br><br>//SiO2 volume define<br>Line Loop(46) = {14, 15, -6, 13};<br>Plane Surface(47) = {46,33};<br>Line Loop(48) = {17, -20, -9, 19};<br>Plane Surface(49) = {48,35};<br>Line Loop(50) = {15, 8, 19, -16};<br>Plane Surface(51) = {50};<br>Line Loop(52) = {13, -18, -20, 10};<br>Plane Surface(53) = {52};<br>Line Loop(54) = {14, 16, 17, 18};<br>Plane Surface(55) = {54};<br>Line Loop(56) = {6, 8, 9, 10};<br>Plane Surface(57) = {56};<br>Surface Loop(46) = {47, 49, 51, 53, 55, 57,34,36};<br>Volume(1) = {46};<br><br>// Vacuum define<br><br>Extrude {0, 0, .00001} {<br>  Surface{55};<br>}<br>Physical Volume(300) = {3};<br>Physical Volume(200) = {2};<br>Physical Volume(100) = {1};<br>Physical Surface(1) = {43};<br>Physical Surface(2) = {87};<br>Physical Surface(3) = {34, 36, 38, 40, 42, 44};<br><br></div><div>Thanks and regards<br></div><div>Shawn<br></div><div><br><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Shawn Shakahwat Millat<br>Master of Science in Nanoelectronics System<br>Faculty of Electrical and Computer Engineering<br>Dresden University of Technology<div>Schnorrstarße 38, Room no: 0502<br>01069, Dresden<br>Germany.<br></div></div></div></div></div>
</div></div></div>