[Gmsh] boolean with surface loop

Christophe Geuzaine cgeuzaine at uliege.be
Fri Nov 16 22:57:49 CET 2018



> On 16 Nov 2018, at 16:43, Guido Blöcher <bloech at gfz-potsdam.de> wrote:
> 
> Dear Christoph,
> 
> 
> 
> We try to mesh a three dimensional fracture embedded in a cylindrically shaped rock volume.
> 
> We can mesh the fracture and the cylinder separately but for later use as input for  a numerical simulation, we have to subtract or intersect the two volumes.
> 
> 
> 
> Unfortunately, gmsh provides an error message regarding our surface loop.
> 
> Gmsh complains that our surface loop is not a valid openCascade entity.
> 

Indeed: in your script you SetFactory("OpenCASCADE") after having created the first volume - which was thus created with the default "Built-In" CAD kernel.

Here's a working script:

-------------- next part --------------
A non-text attachment was scrubbed...
Name: frac_matrix.geo
Type: application/octet-stream
Size: 403839 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20181116/f8286577/attachment-0001.geo>
-------------- next part --------------

-------------- next part --------------
A non-text attachment was scrubbed...
Name: frac_matrix.png
Type: image/png
Size: 474455 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20181116/f8286577/attachment-0001.png>
-------------- next part --------------

> 
> 
> Do you have any suggestion to perform boolean operation with our geometries?
> 
> Please find attached our input geo-file.
> 
> 
> 
> kind regards
> 
> 
> 
> Guido
> 
> 
> 
> <mjodpaciaalmgcen.png>
> 
> <frac_matrix.geo>_______________________________________________
> 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