<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hi,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">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: </p>
<p style="margin-top:0;margin-bottom:0"></p>
<pre style="font-size: 16px;">gmsh file.geo -2 -o file.stl</pre>
<br>
<p></p>
<p style="margin-top:0;margin-bottom:0">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?<br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Thanks,</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0">Cristina</p>
<pre><br></pre>
<pre><br></pre>
<p></p>
</div>
</body>
</html>