<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Paolo,</div><div>First, you do not need to define physical quantities, points, surfaces, volumes, for generating the geometry. </div><div>Those numbers are useful in e.g. a FE software. You can thus remove them.</div><div>For getting the volume, you need a surface loop, and the numbers in the loop are the surface numbers, not point numbers.</div><div>Change the end of your file to:</div><div><br></div><div><div>Surface Loop(100) = {2, 3, 1, 6, 4, 5};</div><div>Volume(1) = {100};</div><div>Transfinite Volume(1) ;</div><div>Physical Volume(1000) = {1};</div></div><div><br></div><div>Regards,</div><div>Ruth</div><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>--</div><div>Dr. Ir. Ruth V. Sabariego</div><div>University of Liege, Electrical Engineering & Computer Science, </div><div>Applied & Computational Electromagnetics (ACE),</div><div>phone: +32-4-3663737 - fax: +32-4-3662910 - <a href="http://ace.montefiore.ulg.ac.be/">http://ace.montefiore.ulg.ac.be/</a></div><br class="Apple-interchange-newline"><br></div></span></div></span></span>
</div>
<br><div><div>On 23 Oct 2012, at 13:56, Paolo Tricerri wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Dear all,<br><br>I am having problem at using the command Transfinite Volume. I am<br>trying to give to the definition of the volume the list of the eight<br>points at the corners of the geometry but the volume does not get<br>meshed.<br><br>Hereafter you can see the code I have using. Btw, I would like to ask<br>if any of you could give an example of use of the command Transfinite<br>Volume {expression-list} | "*" < = {expression-list} since I do not<br>understand if I have to pass to is Physical Point or Points.<br><br>Many thanks,<br><br>I wish you all a nice day,<br><br>Paolo Tricerri<br><br>Code:<br><br>lc = 0.1;<br>H= 0.44;<br>L = 0.48;<br>pH = 0.16;<br>thickness = pH/10;<br><br>// ############# POINTS ##############<br>//Base<br>Point(0) = {0, 0, 0, lc};<br>Point(1) = {0, H, 0, lc};<br>Point(2) = {L, H+pH, 0, lc};<br>Point(3) = {L, H, 0, lc};<br><br>Point(4) = {0, 0, thickness, lc};<br>Point(5) = {0, H, thickness, lc};<br>Point(6) = {L, H+pH, thickness, lc};<br>Point(7) = {L, H, thickness, lc};<br><br>Physical Point(1000) = {0};<br>Physical Point(2000) = {1};<br>Physical Point(3000) = {2};<br>Physical Point(4000) = {3};<br>Physical Point(5000) = {4};<br>Physical Point(6000) = {5};<br>Physical Point(7000) = {6};<br>Physical Point(8000) = {7};<br><br><br>//############### LINES ##############<br>//Base`<br>Line (1) = {0,1};<br>Line (2) = {1,2};<br>Line (3) = {2,3};<br>Line (4) = {3,0};<br><br>Line (5) = {4,5};<br>Line (6) = {5,6};<br>Line (7) = {6,7};<br>Line (8) = {7,4};<br><br>Line (9) = {0,4};<br>Line (10) = {1,5};<br>Line (11) = {3,7};<br>Line (12) = {2,6};<br><br>// ############# LINE LOOPS ############<br>Line Loop(1) = {1,2,3,4}; //on lines<br>Line Loop(2) = {5,6,7,8}; //on lines<br>Line Loop(3) = {1,10,-5,-9}; //on lines<br>Line Loop(4) = {3,11,-7,-12}; //on lines<br>Line Loop(5) = {9,-8,-11,4}; //on lines<br>Line Loop(6) = {10,6,-12,-2}; //on lines<br><br>// ############ SURFACES ############<br><br>Plane Surface(1) = {1}; //on line loops<br>Plane Surface(2) = {2}; //on line loops<br>Plane Surface(3) = {3}; //on line loops<br>Plane Surface(4) = {4}; //on line loops<br>Plane Surface(5) = {5}; //on line loops<br>Plane Surface(6) = {6}; //on line loops<br><br>// ############ TRANSFINITE LINES ############<br>Transfinite Line{1,3,5,7}=23; //Number of points on a 1/4 of circle<br>Transfinite Line{2,4,6,8}=15;       //Number of structure layers<br>Transfinite Line{9,10,11,12}=4;<br>// ############ TRANSFINITE SURFACES ############<br><br>Transfinite Surface { 1 } = { 0,1,2,3} ; //on points<br>Transfinite Surface { 2 } = { 4,5,6,7} ; //on points<br>Transfinite Surface { 3 } = { 0,4,5,1} ; //on points<br>Transfinite Surface { 4 } = { 3,7,6,2} ; //on points<br>Transfinite Surface { 5 } = { 0,4,7,3} ; //on points<br>Transfinite Surface { 6 } = { 1,5,6,2} ; //on points<br>Physical Surface(20)={1};<br>Physical Surface(30)={2};<br>Physical Surface(40)={3};<br>Physical Surface(50)={4};<br>Physical Surface(60)={5};<br>Physical Surface(70)={6};<br><br>//Surface Loop(100) = {0,1,2,3,4,5,6,7};<br><br>Volume(1) = {0,1,2,3,4,5,6,7};<br>//Transfinite Volume(1) = {0,1,2,3,4,5,6,7};<br>Physical Volume(1000) = {1};<br>//############# EXTRUSION TO 3D ###############<br><br>_______________________________________________<br>gmsh mailing list<br><a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a><br>http://www.geuz.org/mailman/listinfo/gmsh<br></div></blockquote></div><br></body></html>