[Gmsh] "Tag # already exists" with OpenCASCADE engine

Christophe Geuzaine cgeuzaine at uliege.be
Tue Oct 16 23:39:16 CEST 2018



> On 16 Oct 2018, at 17:03, Wang Bin <binwang.0213 at gmail.com> wrote:
> 
> Dear Developers,
> 
> Thanks for the nice mesh generator.  Now I'm trying to use BooleanFragments in OpenCASCADE engine to mesh some "compsolid" model (picture) with conforming mesh on the common interface (see attachment geo file). 
> 
> <compsolid.PNG>
> But the OpenCASCADE engine will add new Points, Lines or Surfaces during the boolean operation. Thus, Gmsh keeps give me a error "Point/Line/Surface # already exists".
> 
> So, is there any method/tricks to avoid this issue? Such as reserve some tag id for the New geometry objects. Why Gmsh not using "newreg" internally to append new geometry?

Your surfaces are not correctly oriented, which leads to the creation of new entities when you create "surface loops". The duplicates are reported when you force the creation of new points after these extra entities have been created.

Christophe 





> 
> Thanks for your help!
> -- 
> Bin Wang  
> PhD Student
> Craft & Hawkins Department of Petroleum Engineering
> Louisiana State University
> 2245 Patrick F Taylor Hall, Baton Rouge, LA  70803
> <composolid_new.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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://onelab.info/pipermail/gmsh/attachments/20181016/0366e540/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ori.png
Type: image/png
Size: 362006 bytes
Desc: not available
URL: <http://onelab.info/pipermail/gmsh/attachments/20181016/0366e540/attachment-0001.png>


More information about the gmsh mailing list