[Gmsh] Gmsh interactive mode meshing

NENNIG Benoit benoit.nennig at supmeca.fr
Sat Jan 10 15:03:15 CET 2015


to mesh you need 2 volumes.

1/ In Gmsh you can build a volume with a list of surface with a geo file :

Surface Loop(X) = {.....};
Volume(Y) = {X};
I am not sure it will work all the times.

2/ To avoid such manipulations, you can put directly the 2 volumes in your step file. In freeCAD you can use something like that

doc.addObject("Part::Feature","Solid1").Shape = S1
doc.addObject("Part::Feature","Solid2").Shape = S2

del __objs__

Or select both solids before the export in the GUI.



De : gmsh <gmsh-bounces at ace20.montefiore.ulg.ac.be> de la part de Allan Svejstrup Nielsen <svejstrup at ieee.org>
Envoyé : mercredi 7 janvier 2015 09:26
À : gmsh at geuz.org
Objet : [Gmsh] Gmsh interactive mode meshing

Dear All,

I am using, FreeCAD to draw and Gmsh to mesh. It works well, in FreeCAD i export a model to a STEP file and then import it in Gmsh and simply press the 3d mesh button. See two figures attached. Say i now wish to also mesh the inside of the now still empty cube, is it possible to do so using the graphical interface in the Gmsh interactive mode? If so, how is it done?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20150110/7f0b0fb5/attachment.html>

More information about the gmsh mailing list