<div dir="ltr">Dear <span style="font-family:arial,sans-serif;font-size:13px">Dr. Rene Schneider, </span><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">Thanks for the reply. I tried the physical volume but could you please tell me if it is possible to start the node numbering and the element numbering in the exported mesh from 1. If I created the 3D mesh from extrusion, the physical volume exports only the volume elements but the numbering does not start from 1. </span></div>
<div style><span style="font-family:arial,sans-serif;font-size:13px">I use my own code for the analysis and I dont want to do much preprocessing myself if it is possible from within gmsh. </span></div><div style><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div style><span style="font-family:arial,sans-serif;font-size:13px">thanks</span></div><div style><font face="arial, sans-serif">regards</font></div><div style><font face="arial, sans-serif">Kiran</font></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, Jul 7, 2013 at 11:55 PM, Rene Schneider <span dir="ltr"><<a href="mailto:rene.schneider@mathematik.tu-chemnitz.de" target="_blank">rene.schneider@mathematik.tu-chemnitz.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello Kiran<div><div class="h5"><br>
<br>
On 07/06/2013 08:41 PM, Kiran Chandra wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hello,<br>
I would like to generate a 3D mesh. To this end, I generate a 2D mesh<br>
and then extrude it.<br>
However, while exporting, I want to delete all the 2D elements, renumber<br>
the remaining 3D mesh and export it. Can this be done?<br>
(I use my own code for the analysis and I do not know how to automate<br>
the renumbering in my code.)<br>
thanks in advance<br>
</blockquote>
<br></div></div>
I suggest you define your volume to be a "physical volume". Once any physical items are present in the geometry, only those physical items are exported in the mesh. I.e. if you don't mark the boundary as physical as well, the triangles of the boundary will not be exported separately.<br>

<br>
Hope this helps.<br>
<br>
Rene<br>
<br>
<br>
-- <br>
------------------------------<u></u>----------------------<br>
<br>
      Dr. Rene Schneider<br>
<br>
      TU Chemnitz, Fakultaet fuer Mathematik,<br>
      09107 Chemnitz, Germany<br>
<br>
      Besucheradresse / Visitor address:<br>
      Reichenhainer Str. 41 / Raum 625<br>
      09126 Chemnitz, Germany<br>
<br>
      Tel.: <a href="tel:%2B49-371-531-33953" value="+4937153133953" target="_blank">+49-371-531-33953</a><br>
      Fax:  <a href="tel:%2B49-371-531-8-33953" value="+49371531833953" target="_blank">+49-371-531-8-33953</a><br>
      <a href="mailto:rene.schneider@mathematik.tu-chemnitz.de" target="_blank">rene.schneider@mathematik.tu-<u></u>chemnitz.de</a><br>
<br>
      <a href="http://www.tu-chemnitz.de/~rens" target="_blank">http://www.tu-chemnitz.de/~<u></u>rens</a><br>
<br>
------------------------------<u></u>----------------------<br>
<br>
______________________________<u></u>_________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/<u></u>listinfo/gmsh</a><br>
</blockquote></div><br></div>