<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi,</div><div class="gmail_default" style="font-size:small">1. I encountered the same problem when meshing some surfaces like in this geo file. Since my surfaces are generated randomly even if I scale there might be always something that is small enough thus generating errors. So is there a chance of implementing a better implementation that could take care even very small elements?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">2. Also I would like to suggest the addition of a new Boolean command which will be the combination of two commands BooleanPartition=BooleanIntersection & BooleanFragments. In the attached geo file we see that the combination of these two commands gives a new shape without anything extending outside from the original volume. Since the arguments of these two commands are almost identical perhaps they could be combined instead of performing two times a Boolean operation.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">3. When I try to select the optimize with NetGen gmsh throws me out. My guess is that the NetGen tries to move nodes from one side of the internal baffles without taking care of the cell that is on the other side of the baffle and shares the node. Since optimization with NetGen produces good results is there a way to fix this?</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">4. I guess that you have already thought of that but if on a geometry we could do a BooleanPartitioning with eg. 4 volumes then we could define the internal surfaces that are produced as periodic and mesh each volume in a different thread. After the meshing they could be united and produce a single final mesh. But meshing in different threads is a way to do multiprocessing with gmsh thus reducing the time to create a mesh.</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 tsiantis</div><div class="gmail_default" style="font-size:small"><br></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">2017-10-02 16:52 GMT+03:00 Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@ulg.ac.be" target="_blank">cgeuzaine@ulg.ac.be</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
Dear Giampiero,<br>
<br>
Indeed, there are still some issues with OpenCASCADE models when the dimensions are very large (or very small).<br>
<br>
For the time being, rescale your model. For example, just dividing all lengths by 10 fixes the issue:<br>
<br>
SetFactory("OpenCASCADE");<br>
Mesh.CharacteristicLengthMin = 20;<br>
Mesh.CharacteristicLengthMax = 20;<br>
<br>
//Definisco il cilindro com e coppia di superfici no periodiche (altrimenti non posso usare i Boolean)<br>
Circle(1) = {0,0,0, 905, 0, Pi};<br>
Extrude{0,0,611}{Line{1};}<br>
<br>
You can still save the mesh with another scaling with the Mesh.ScalingFactor (e.g. "Mesh.ScalingFactor=10;") option.<br>
<br>
Christophe<br>
<span><br>
<br>
> On 1 Oct 2017, at 19:28, ing. Nobile - OAC Ingegneria <<a href="mailto:gnobile@oacingegneria.com">gnobile@oacingegneria.com</a>> wrote:<br>
><br>
> Dear all,<br>
><br>
> I have problem meshing an half cylinder.<br>
><br>
> From a first look the mesh seems very good<br>
><br>
</span>> <image.png><br>
<span>><br>
><br>
> But along the upper/lower border there are very deformed and overlapped mesh surfaces.<br>
><br>
</span>> <image.png><br>
<span>><br>
> For example elements 7730 and 7728 in the picture (overlapped, made with the same nodes, and very deformed)<br>
><br>
><br>
</span>> <image.png><br>
<span>><br>
><br>
> Am I missing something before the 2D meshing process?<br>
><br>
> I attached the script with the geometry.<br>
><br>
> Thanks very much.<br>
><br>
><br>
> Giampiero<br>
><br>
><br>
> Ing. Giampiero Nobile, PhD | OAC Ingegneria<br>
><br>
> Mobile: <a href="tel:%2B39%203494632155" value="+393494632155">+39 3494632155</a><br>
> Office: <a href="tel:%2B39%200108698603" value="+390108698603">+39 0108698603</a><br>
><br>
> <a href="http://www.oacingegneria.com" target="_blank" rel="noreferrer">www.oacingegneria.com</a><br>
><br>
</span>> <24795144.jpg><br>
><br>
> <half_cylinder.geo>___________<wbr>______________________________<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>
<span class="HOEnZb"><font color="#888888"><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" target="_blank" rel="noreferrer">http://www.montefiore.ulg.ac.<wbr>be/~geuzaine</a><br>
<br>
Free software: <a href="http://gmsh.info" target="_blank" rel="noreferrer">http://gmsh.info</a> | <a href="http://getdp.info" target="_blank" rel="noreferrer">http://getdp.info</a> | <a href="http://onelab.info" target="_blank" rel="noreferrer">http://onelab.info</a><br>
<br>
<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>
</font></span></blockquote></div><br></div>