[Gmsh] gmsh slow at drawing

German Theler gtheler at seamplex.com
Mon Aug 1 13:15:55 CEST 2016

Hi Guido

You did not share the geo file so we cannot tell much. Nevertheless, if
you want to use milonga with this mesh and extrude 20 times each
individual channel, you are missing the design basis of the code. Each
channel is a single physical entity, not twenty different ones.

On the other hand, I think you may get a better performance by
generating the geometry in FreeCAD using its Python interface, then
connecting the solids to obtain a CompSolid (perhaps Bernd can help you
better than myself) and then finally mesh in Gmsh.

See the post that coincidentally Bernd shared last week:


On Wed, 2016-07-27 at 12:30 +0000, Giuntoli Guido Alfredo wrote:
> Hi ! I want to extrude a surface like “geometry.jpg”. The problem is
> that when I extrude and open the GUI interface, gmsh becomes very slow
> drawing the 3D geometry (in “geometry1.jpg” I extruded some of these
> surface elements). I think that the problem here is the huge quantity
> of definitions that are in the .geo file. As you can see in the figure
> “geometry.jpg” each quadrilateral is a different physical entity. What
> can I do to solve my problem ? I mean, draw the geometry in a
> reasonable time  (in my case each quadrilateral should be extruded 20
> times because I should define different phisical entities in the z
> axis.

More information about the gmsh mailing list