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

Christophe Geuzaine cgeuzaine at uliege.be
Mon Jul 9 21:06:41 CEST 2018

> On 4 Jul 2018, at 19:56, Hernandez Pereira, Cristina <cristina.hernandez-pereira17 at imperial.ac.uk> wrote:
> 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?

There are no names in .stl files...


> Thanks,
> Cristina
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info <mailto:gmsh at onelab.info>
> http://onelab.info/mailman/listinfo/gmsh <http://onelab.info/mailman/listinfo/gmsh>
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 

Free software: http://gmsh.info | http://getdp.info | http://onelab.info

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180709/901a5f5c/attachment.html>

More information about the gmsh mailing list