Hi David,<br><br>I tried to follow your advice and the point is:<br><br>if I launch gmsh with a GUI and I open the sphere-discrete.geo,<br>then I can click on the 3D button and I see the 3D mesh. While if<br>I click again on the 2D button, I see only the surface mesh.<br>
<br>Could I do the same with my .stl surface mesh? Should I wait<br>until the volume mesh appears? Or, if there's something wrong,<br>I'll get an error message? Because the geometry I am dealing<br>with is not simple and it can happen that there is something<br>
wring, can't is??<br><br>Thanks again,<br><br>Samuele.<br><br><div class="gmail_quote">On Wed, Oct 20, 2010 at 9:14 AM, David Colignon <span dir="ltr"><<a href="mailto:David.Colignon@ulg.ac.be">David.Colignon@ulg.ac.be</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi Samuele,<br>
<br>
have a look at /demos/sphere-discrete.geo<br>
<br>
<br>
ace35:~/gmsh/demos > more sphere-discrete.geo<br>
<br>
// merge a surface mesh (any format will work: .msh, .unv, etc.)<br>
<br>
Merge "sphere-surf.stl";<br>
<br>
// add a geometrical volume<br>
<br>
Surface Loop(1) = {1};<br>
Volume(1) = {1};<br>
<br>
// use this to force a coarse mesh inside<br>
//Mesh.CharacteristicLengthExtendFromBoundary = 0;<br>
//Mesh.CharacteristicLengthMax = 0.5;<br>
<br>
<br>
Regards,<br>
<br>
Dave<br>
<br>
-- <br>
David Colignon, Ph.D.<br>
Collaborateur Logistique du F.R.S.-FNRS<br>
CÉCI - Consortium des Équipements de Calcul Intensif<br>
ACE - Applied & Computational Electromagnetics<br>
Sart-Tilman B28<br>
Université de Liège<br>
4000 Liège - BELGIQUE<br>
Tél: +32 (0)4 366 37 32<br>
Fax: +32 (0)4 366 29 10<br>
WWW: <a href="http://hpc.montefiore.ulg.ac.be/" target="_blank">http://hpc.montefiore.ulg.ac.be/</a><br>
Agenda: <a href="http://www.google.com/calendar/embed?src=david.colignon%40gmail.com" target="_blank">http://www.google.com/calendar/embed?src=david.colignon%40gmail.com</a><div class="im"><br>
<br>
<br>
On 20/10/10 00:10, Samuele Zampini wrote:<br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
Dear All,<br>
<br>
I am trying Gmsh 2.4.2 and I have a question for you: I do have a .stl surface mesh<br>
(generated by Slicer 3D) and I want to create a volume mesh.<br>
<br>
How can I do this step?? Could you help?<br>
<br>
Thanks a lot,<br>
<br>
--<br>
Samuele<br>
_______________________________________________________________________<br>
<br>
.~.<br>
/V\ L I N U X<br>
// \\ I S T H E<br>
/( )\ W A Y<br>
^^-^^<br></div>
cell phone : +393473426510 e.mail: <a href="mailto:samuele.zampini@gmail.com" target="_blank">samuele.zampini@gmail.com</a> <mailto:<a href="mailto:samuele.zampini@gmail.com" target="_blank">samuele.zampini@gmail.com</a>><br>
home : +390331823927 www: <a href="http://samiam1000.spaces.live.com" target="_blank">samiam1000.spaces.live.com</a> <<a href="http://samiam1000.spaces.live.com" target="_blank">http://samiam1000.spaces.live.com</a>><br>
<br>
<br>
<br>
_______________________________________________<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/listinfo/gmsh</a><br>
</blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br><div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;"> Samuele Zampini</span></div>
<div><span style="font-family: arial,sans-serif; font-size: 13px; border-collapse: collapse;">____________________________________________________________________<br><br> .~. <br> /V\ L I N U X <br>
// \\ I S T H E<br> /( )\ W A Y<br> ^^-^^<br> cell phone : +393473426510 e.mail: <a href="mailto:samuele.zampini@gmail.com" target="_blank">samuele.zampini@gmail.com</a><br> home : +390331823927 www: <a href="http://samiam1000.spaces.live.com" target="_blank">samiam1000.spaces.live.com</a></span></div>
<br>