<div dir="ltr">Dear Matthias,<div><br></div><div>I figured out what the problem was. I created a physical entity for a surface but not the volume or other surfaces and hence GMSH did not write it in the mesh file. </div><div>
I created a physical entity for the rest of the surfaces and the volume and it works well now.</div><div><br></div><div>Best regards</div><div>Lakshmi.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Aug 15, 2013 at 11:03 AM, Lakshmi Selvakumaran <span dir="ltr"><<a href="mailto:lakshmi.selvakumaran@kaust.edu.sa" target="_blank">lakshmi.selvakumaran@kaust.edu.sa</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Matthias,<div><br></div><div>Thanks for your reply. I was able to generate the mesh as well today morning when I tried again. But for some reason, when I save it, the mesh file saves only the 2D mesh and not the 3D mesh. Could you please tell me what could be the problem?</div>
<div><br></div><div>Thanks.</div><div><br></div><div>Best regards</div><span class="HOEnZb"><font color="#888888"><div>Lakshmi.</div><div><br></div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra">
<br><br><div class="gmail_quote">On Thu, Aug 15, 2013 at 10:51 AM, Zenker, Dr. Matthias <span dir="ltr"><<a href="mailto:Matthias.Zenker@erbe-med.com" target="_blank">Matthias.Zenker@erbe-med.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="DE" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Hi,</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I can generate and view the mesh without problems.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Is „Volume Edges“ or „Volume Faces“ checked under Tools->Options->Mesh->General? Then you should see your mesh.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">HTH,</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Matthias</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p>
<p class="MsoNormal"><span lang="EN-US"> </span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Lakshmi Selvakumaran [mailto:<a href="mailto:lakshmi.selvakumaran@kaust.edu.sa" target="_blank">lakshmi.selvakumaran@kaust.edu.sa</a>]
<br>
<b>Gesendet:</b> Mittwoch, 14. August 2013 14:19<br>
<b>An:</b> <a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
<b>Betreff:</b> [Gmsh] 3D Mesh not generated</span></p>
</div>
</div><div><div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">Hi,</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">I am trying to generate a simple 3D mesh of a plate of size 50 X 50 X 0.01. I started with the 2D code of the same plate </p>
</div>
<div>
<p class="MsoNormal">and it works well. </p>
</div>
<div>
<p class="MsoNormal">When I tried to extend it to 3D using extrude command, I am unable to see the mesh eventhough my terminal says that</p>
</div>
<div>
<p class="MsoNormal">3D mesh has been generated. Could you please tell me whether my code has any mistake? Below is the code for your</p>
</div>
<div>
<p class="MsoNormal">reference.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<div>
<p class="MsoNormal">Point(1) = {25, 25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(2) = {-4, 25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(3) = {-6, 25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(4) = {-14, 25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(5) = {-16, 25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(6) = {-25, 25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(7) = {-25, -25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(8) = {-16, -25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(9) = {-14, -25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(10) = {-6, -25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(11) = {-4, -25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal">Point(12) = {25, -25, 0, 1.0};</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Line(1) = {1, 2};</p>
</div>
<div>
<p class="MsoNormal">Line(2) = {2, 3};</p>
</div>
<div>
<p class="MsoNormal">Line(3) = {3, 4};</p>
</div>
<div>
<p class="MsoNormal">Line(4) = {4, 5};</p>
</div>
<div>
<p class="MsoNormal">Line(5) = {5, 6};</p>
</div>
<div>
<p class="MsoNormal">Line(6) = {6, 7};</p>
</div>
<div>
<p class="MsoNormal">Line(7) = {7, 8};</p>
</div>
<div>
<p class="MsoNormal">Line(8) = {8, 9};</p>
</div>
<div>
<p class="MsoNormal">Line(9) = {9, 10};</p>
</div>
<div>
<p class="MsoNormal">Line(10) = {10, 11};</p>
</div>
<div>
<p class="MsoNormal">Line(11) = {11, 12};</p>
</div>
<div>
<p class="MsoNormal">Line(12) = {12, 1};</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Line Loop(5) = {1,2,3,4,5,6,7,8,9,10,11,12};</p>
</div>
<div>
<p class="MsoNormal">Plane Surface(60) = {5};</p>
</div>
<div>
<p class="MsoNormal">Physical Line(100)={1,3,5,6,7,9,11,12};</p>
</div>
<div>
<p class="MsoNormal">Physical Line('elec1')={2};</p>
</div>
<div>
<p class="MsoNormal">Physical Line('elec2')={4};</p>
</div>
<div>
<p class="MsoNormal">Physical Line('elec3')={8};</p>
</div>
<div>
<p class="MsoNormal">Physical Line('elec4')={10};</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Physical Surface(200)={60};</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(1)=29;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(2)=3;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(3)=8;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(4)=3;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(5)=9;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(6)=50;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(7)=9;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(8)=3;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(9)=8;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(10)=3;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(11)=29;</p>
</div>
<div>
<p class="MsoNormal">Transfinite Line(12)=50;</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Transfinite Surface(60)={1,6,7,12};</p>
</div>
<div>
<p class="MsoNormal">Recombine Surface(60);</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Extrude {0,0,1.01} {Surface{60}; Layers{2}; Recombine; }</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Thanks.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<p class="MsoNormal">Best regards</p>
</div>
<div>
<p class="MsoNormal">Lakshmi.</p>
</div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
<p class="MsoNormal"> </p>
</div></div><div>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
</div>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Arial","sans-serif"">This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in
error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.</span></p>
</div>
</div>
<br>
<br>
_____________________________________________________________________<br>
ERBE Elektromedizin GmbH<br>
Firmensitz: 72072 Tuebingen<br>
Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede<br>
Registergericht: Stuttgart HRB 380137<br>
<br>
</div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
<br>
<div><hr></div><font face="Arial" size="1">This message and its contents, including attachments are intended solely for the original recipient. If you are not the intended recipient or have received this message in error, please notify me immediately and delete this message from your computer system. Any unauthorized use or distribution is prohibited. Please consider the environment before printing this email.</font>