[Gmsh] Import .geo file to .stl mantaining names of surfaces

Hernandez Pereira, Cristina cristina.hernandez-pereira17 at imperial.ac.uk
Wed Jul 4 19:56:42 CEST 2018


Hi,


I want to convert a .geo file generated by gmsh to .stl format. In the .geo file I have defined 7 physical surfaces (which will be boundaries for my OpenFOAM case). I have tried the command:

gmsh file.geo -2 -o file.stl


But the .stl file does not have the names of the surfaces I have defined (it just lists all the faces as "facet"). How can I fix this?


Thanks,


Cristina


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180704/388669b6/attachment.html>


More information about the gmsh mailing list