<div dir="ltr"><div dir="ltr"><div dir="ltr">Dear Dr. Geuzaine,</div><div dir="ltr"><br></div><div>Thanks for you rapid reply. </div><div><br></div><div>Based on your suggestion, now I'm working on normal vector issue in a simplified problem.</div><div><br></div><div>Now I found a potential bug in Gmsh. When I use build-in geometry engine, the normal vector are all in the same direction.</div><div>But when I switch to OpenCASCADE engine (adding SetFactory("OpenCASCADE")), the normal vector shows different. All of other info in geo file is exactly the same. </div><div><br></div><div>How do I resolve this issue?</div><div><div><div><img src="cid:ii_jndnxrxt3" alt="image.png" width="391" height="190" style="margin-right: 0px;">  <img src="cid:ii_jndnyb1l4" alt="image.png" width="391" height="189" style="margin-right: 0px;"><br></div></div></div><div><br></div><div>Please check attachment geo file to see the details.</div><div><br></div><div>Thanks,</div><div>Bin</div></div></div><br><div class="gmail_quote"><div dir="ltr">Christophe Geuzaine <<a href="mailto:cgeuzaine@uliege.be">cgeuzaine@uliege.be</a>> 于2018年10月16日周二 下午4:39写道:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space"><br><br><blockquote type="cite">On 16 Oct 2018, at 17:03, Wang Bin <<a href="mailto:binwang.0213@gmail.com" target="_blank">binwang.0213@gmail.com</a>> wrote:<br><br>Dear Developers,<br><br>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). <br><br><span id="m_-7061249479159211068cid:ii_jnbul51m1"><compsolid.PNG></span><br>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".<br><br>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?<br></blockquote><div><br></div><div>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.</div><div><br></div><div>Christophe </div><div><br></div><div><br></div><div><img id="m_-7061249479159211068979D9DB3-0194-4FC2-A287-A27DAE620446" src="cid:47AEDDCD-105A-4803-8897-6330C83D07D6@home"></div><div><br></div><br><blockquote type="cite"><br>Thanks for your help!<br>-- <br>Bin Wang  <br>PhD Student<br>Craft & Hawkins Department of Petroleum Engineering<br>Louisiana State University<br>2245 Patrick F Taylor Hall, Baton Rouge, LA  70803<br><span id="m_-7061249479159211068cid:f_jnbuy5cr2"><composolid_new.geo></span>_______________________________________________<br>gmsh mailing list<br><a href="mailto:gmsh@onelab.info" target="_blank">gmsh@onelab.info</a><br><a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br></blockquote><br><div>— <br>Prof. Christophe Geuzaine<br>University of Liege, Electrical Engineering and Computer Science <br><a href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br><br>Free software: <a href="http://gmsh.info" target="_blank">http://gmsh.info</a> | <a href="http://getdp.info" target="_blank">http://getdp.info</a> | <a href="http://onelab.info" target="_blank">http://onelab.info</a><br></div><br></div></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Bin Wang  </div><div>PhD Student</div><div>Craft & Hawkins Department of Petroleum Engineering</div><div>Louisiana State University</div><div>2245 Patrick F Taylor Hall, Baton Rouge, LA  70803</div></div></div>