[Gmsh] Tips on large, tricky models?

Christophe Geuzaine cgeuzaine at uliege.be
Thu Oct 18 22:14:02 CEST 2018



> On 18 Oct 2018, at 19:37, Max Orok <morok at mevex.com> wrote:
> 
> Hello all, 
> 
> I am trying to model a large, tricky problem in Gmsh. 
> Smaller cases succeed individually but larger cases are much more difficult. 
> Does anyone have tips on "all-out" extreme meshing for cases that seem intractable? 
> 
> The small files start with "test_tube_with_stopper" and the larger files start with "test_tube_small_box"
> 
> A brep is attached for the large case as the Boolean Delete took around 5 hours! It was sped up by setting the option "Geometry.OCCParallel=1" however. 
> 

Boolean operations in OpenCASCADE can indeed become quite slow for large models. There's not much we can do about this, except switching to a more efficient CAD kernel. We have plans to natively support Parasolid in the future; unfortunately this won't be available as open source, due to Parasolid licensing constraints.

To speed up the meshing part, recompile Gmsh from source with -DENABLE_OPENMP=1. You can then specify the number of threads for 1D and 2D meshing with the "-nt" command line option. Parallel 3D meshing will be coming soon.

Christophe


> Thank you for your time!
> 
> Sincerely, 
> Max
> -- 
> Max Orok
> Contractor
> www.mevex.com
> 
> 
>  test_tube_small_box_w_air.brep
>  test_tube_small_box_w_air.geo
>  test_tube_small_box_w_air.stp
> 
> <test_tube_with_stopper.geo><test_tube_with_stopper.stp>_______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine

Free software: http://gmsh.info | http://getdp.info | http://onelab.info




More information about the gmsh mailing list