<div dir="ltr"><div>Thanks Christophe! It is working now.<br><br></div>James<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 31, 2018 at 7:34 PM, Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@uliege.be" target="_blank">cgeuzaine@uliege.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><br><div><span class=""><br><blockquote type="cite"><div>On 31 Jan 2018, at 19:39, James Gross <<a href="mailto:jgross0227@gmail.com" target="_blank">jgross0227@gmail.com</a>> wrote:</div><br class="m_5695872787017889143Apple-interchange-newline"><div><div dir="ltr"><div><div><div>Hi people,<br><br></div>I am hoping to use Gmsh to create a 2D mesh for OpenFOAM. I've created the original 2D surface in FreeCAD and exported it as a BRep file. <br><br></div>When I try to extrude the surface, it doesn't work. There are no error messages, but the surface hasn't been extruded. When I created the geometry in Gmsh, there was no issue with extrusion.<br><br></div><div>Here is a shortened version of the script.<br></div><div><br></div></div></div></blockquote><div><br></div></span><div>Add SetFactory(“OpenCASCADE”) at the beginning of the file.</div><div><br></div><br><blockquote type="cite"><div><span class=""><div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Merge "Part.brep";<br><br>Recombine Surface{1};<br><br>out[] = Extrude {0,0,1}<br>{<br>  Surface {1}; Layers{1}; Recombine;<br>};<br><br>Mesh.Smoothing = 100;<br></blockquote><div><br></div><div>Thanks.<br><br></div><div>James <br></div></div></span>
______________________________<wbr>_________________<br>gmsh mailing list<br><a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br><a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/<wbr>listinfo/gmsh</a><br></div></blockquote></div><br></div></blockquote></div><br></div>