Hi Felipe,

 a quick note regarding the stl file format: it can only hold triangles without 
any additional 
information such as physical tags of gmsh (see here: 
http://en.wikipedia.org/wiki/STL_(file_format) ). Stl does not save any 
information about the 
connectivity of your mesh either. More importantly, your mesh is 3D, so if you 
export to stl, you'll 
lose your volume elements, because they cannot be represented in the stl file.

 The behaviour you observe is not a shortcoming of gmsh, but a consequence of 
the stl file 
format specification.

Best regards,

  Martin Vymazal

On Tuesday 19 March 2013 12:12:05 F. A. Portela wrote:


Hello all,


I have two issues I require help with.


Firstly, I am trying to mesh a MVG (see attached file) to use in OpenFOAM. I 
tried making both 
unstructured and structured (dividing the doain into blocks), but with no 
success: the mesh near 
the leading edge of the MVG is always of very poor quality... Does anyone have 
any idea on how 
to solve this? 


Second issue, I noticed that when exporting a mesh to .stl the physical tags 
are not preserved 
and everything is saved as a single object. I was wondering if there is a way 
to do this without 
changing the code. I noticed there is already the option to save all entities 
but it seems like this is 
always triggered, no matter what. 


Thanks in advance!
Felipe


Felipe Alves Portela
MSc student in Aerospace Eng. at TU Delft
http://www.linkedin.com/in/felipealvesportela[1]  



--------
[1] http://www.linkedin.com/in/felipealvesportela
_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to