[Gmsh] Extruding a 2D Surface Created in FreeCAD
James Gross
jgross0227 at gmail.com
Thu Feb 1 16:34:19 CET 2018
Thanks Christophe! It is working now.
James
On Wed, Jan 31, 2018 at 7:34 PM, Christophe Geuzaine <cgeuzaine at uliege.be>
wrote:
>
>
> On 31 Jan 2018, at 19:39, James Gross <jgross0227 at gmail.com> wrote:
>
> Hi people,
>
> 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.
>
> 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.
>
> Here is a shortened version of the script.
>
>
> Add SetFactory(“OpenCASCADE”) at the beginning of the file.
>
>
> Merge "Part.brep";
>>
>> Recombine Surface{1};
>>
>> out[] = Extrude {0,0,1}
>> {
>> Surface {1}; Layers{1}; Recombine;
>> };
>>
>> Mesh.Smoothing = 100;
>>
>
> Thanks.
>
> James
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20180201/600d7e2b/attachment.html>
More information about the gmsh
mailing list