<div dir="ltr">> <span style="color:rgb(33,33,33)">Note that this relies on the new Compound implementation, which will still undergo major changes</span><div><span style="color:rgb(33,33,33)">> until it is released in Gmsh 3.1 or Gmsh 4.0, hopefully early next year.</span><br style="color:rgb(33,33,33)"><div><span style="color:rgb(33,33,33)"><br></span></div><div><span style="color:rgb(33,33,33)">Alright, I'll hold out for it. Thanks for the tip!</span></div></div><div><span style="color:rgb(33,33,33)"><br></span></div><div><span style="color:rgb(33,33,33)">> </span><span style="color:rgb(33,33,33)">PS: have a look at the new Python API (see demos/api/*.py), which you might find useful.</span></div><div><br></div>Very interesting! I might switch pygmsh's backend to it once this is more mature.<div><br></div><div>Cheers,</div><div>Nico<br><div><br></div><div>[1] <a href="https://github.com/nschloe/pygmsh">https://github.com/nschloe/pygmsh</a></div></div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Dec 8, 2017 at 8:58 PM Christophe Geuzaine <<a href="mailto:cgeuzaine@uliege.be">cgeuzaine@uliege.be</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
<br>
> On 8 Dec 2017, at 16:24, Nico Schlömer <<a href="mailto:nico.schloemer@gmail.com" target="_blank">nico.schloemer@gmail.com</a>> wrote:<br>
><br>
> Hi everyone,<br>
><br>
> When combining two domains using an opencascade union, the seams will still be respected by the mesher. As an example, check out the geometry of a union of two overlapping circles:<br>
> ```<br>
> SetFactory("OpenCASCADE");<br>
> s0 = news;<br>
> Disk(s0) = {-5.0, 0.0, 0.0, 10.0};<br>
> s1 = news;<br>
> Disk(s1) = {5.0, 0.0, 0.0, 10.0};<br>
> bo1[] = BooleanUnion{Surface {s0}; Delete;} {Surface {s1}; Delete;};<br>
> ```<br>
> After the meshing process, the outlines of both circles are still recognizable.<br>
><br>
> Is it possible to give the mesher the freedom to disregard the outlines?<br>
><br>
<br>
With the latest snapshots, do:<br>
<br>
SetFactory("OpenCASCADE");<br>
s0 = news;<br>
Disk(s0) = {-5.0, 0.0, 0.0, 10.0};<br>
s1 = news;<br>
Disk(s1) = {5.0, 0.0, 0.0, 10.0};<br>
bo1() = BooleanUnion{Surface {s0}; Delete;} {Surface {s1}; Delete;};<br>
Compound Surface{bo1()};<br>
<br>
Note that this relies on the new Compound implementation, which will still undergo major changes until it is released in Gmsh 3.1 or Gmsh 4.0, hopefully early next year.<br>
<br>
Christophe<br>
<br>
PS: have a look at the new Python API (see demos/api/*.py), which you might find useful.<br>
<br>
<br>
> Cheers,<br>
> Nico<br>
> _______________________________________________<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" rel="noreferrer" target="_blank">http://onelab.info/mailman/listinfo/gmsh</a><br>
<br>
<br>
--<br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science<br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" rel="noreferrer" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
<br>
Free software: <a href="http://gmsh.info" rel="noreferrer" target="_blank">http://gmsh.info</a> | <a href="http://getdp.info" rel="noreferrer" target="_blank">http://getdp.info</a> | <a href="http://onelab.info" rel="noreferrer" target="_blank">http://onelab.info</a><br>
<br>
</blockquote></div>