[Gmsh] boolean partitioning

Christophe Geuzaine cgeuzaine at ulg.ac.be
Wed May 3 10:34:00 CEST 2017


Have a look at the new boolean examples, e.g.

http://gitlab.onelab.info/gmsh/gmsh/blob/master/demos/boolean/compsolid.geo
http://gitlab.onelab.info/gmsh/gmsh/blob/master/demos/boolean/compsolid2.geo

BooleanFragments does exactly what you need.


> On 3 May 2017, at 10:14, Zenker, Dr. Matthias <Matthias.Zenker at erbe-med.com> wrote:
> 
> Hi,
>  
> I would also be interested in that functionality. It would resolve the old “duplicated surfaces” problem that forced me (and others) to leave gmsh and do the meshing with Salomé, even though IMHO gmsh does a better job especially in 3D meshing – in Salomé, only netgen is available as 3D algorithm in the free version.
> BTW there seems to be a macro permitting to use gmsh in Salomé, see this post at the Salomé forum: http://salome-platform.org/forum/forum_12/953948027#494327180
> I haven’t tested it, though.
> To export a geometry from Salomé to gmsh, I have sometimes had success using brep format.
>  
> Matthias
>  
> Von: andrew [mailto:armitatz at gmail.com] 
> Gesendet: Dienstag, 2. Mai 2017 19:58
> An: gmsh at onelab.info
> Betreff: [Gmsh] boolean partitioning
>  
>  
> hi,
>  
> In Salome which uses the opencascade model there is a Boolean operation called partition. With this you can create a solid from two others but with a shared face. A usage of that is the creation of meshes with internal walls in it with zero thickness aka 'baffles'. Is there a procedure in gmsh that can give the same results given that it has implemented the same opencascade model? Obviously there is a way to have such results if you give the precise geometry but sometimes it is very difficult to cut geometries and it is easier if gmsh could do that.
>  
> Attached is an image of a mesh with internal baffles created with partitioning and the geometry that created it. I would prefer t if gmsh could do the meshing but I haven't found a way to load the geometry to gmsh from Salome.
>  
> kind regards
>  
> Andrew
>  
> 
> Erbe Elektromedizin GmbH Firmensitz: 72072 Tuebingen Geschaeftsfuehrer: Christian O. Erbe, Reiner Thede Registergericht: Stuttgart HRB 380137
> 
> _______________________________________________
> 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