<div dir="ltr"><div class="gmail_default" style="font-size:small">The time needed for Boolean operations does grow with the opencascade model. I have noticed that behavior with Salome too.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">One solution I found was to treat the geometries with a binary tree logic.</div><div class="gmail_default" style="font-size:small">Instead of</div><div class="gmail_default" style="font-size:small">final_obj=cut (obj1) with obj(2,3,4,5)</div><div class="gmail_default" style="font-size:small">to do</div><div class="gmail_default" style="font-size:small">temp_obj1=cut obj1 with obj2,3</div><div class="gmail_default" style="font-size:small">temp_obj2=cut obj1 with obj4,5</div><div class="gmail_default" style="font-size:small">final_obj=cut temp_obj1 with temp_obj2</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">or something like that. It increases the complexity of the coding but it gets there faster. I had done these tests with Salome but since it uses the same geometry model I believe that the results hold with gmsh as well</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">kind regards</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Andrew</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-01-29 12:22 GMT+02:00 GIORGIO PALMA <span dir="ltr"><<a href="mailto:giorgio.palma@uniroma3.it" target="_blank">giorgio.palma@uniroma3.it</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div id="m_-4191149366486002035divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Dear all,<br>
I'm using the 3.0.6 version of Gmsh. </p>
<p style="margin-top:0;margin-bottom:0">I'm generating my geometry (attached) using multiple boolean operations with the OpenCascade kernel.<br>
When I try to increase the complexity of the geometry, adding more obejcts, things start to go bad: </p>
<p style="margin-top:0;margin-bottom:0">time required for opening the geo file increases exponentially, I'd say not acceptably.</p>
<p style="margin-top:0;margin-bottom:0">Can you suggest any workaround?<br>
Thank you,</p>
<p style="margin-top:0;margin-bottom:0">Giorgio Palma</p>
</div>
</div>
<br>______________________________<wbr>_________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@onelab.info">gmsh@onelab.info</a><br>
<a href="http://onelab.info/mailman/listinfo/gmsh" target="_blank" rel="noreferrer">http://onelab.info/mailman/<wbr>listinfo/gmsh</a><br>
<br></blockquote></div><br></div>