<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body>
    <p><font face="Times New Roman, Times, serif">Apologies for the late
        reply. Thanks Christophe, It works fine now.<br>
      </font></p>
    <font face="Times New Roman, Times, serif">
    </font>
    <pre class="moz-quote-pre" wrap=""><font face="Times New Roman, Times, serif">Regards,

Hossam</font>
</pre>
    <div class="moz-cite-prefix">On 14/12/2020 20:50, Christophe
      Geuzaine wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:7BF8A233-F7EC-4335-B310-0351BE85C994@uliege.be">
      <pre class="moz-quote-pre" wrap="">CAUTION: This e-mail originated outside the University of Southampton.

</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">On 10 Dec 2020, at 14:34, Hossam Ragheb <a class="moz-txt-link-rfc2396E" href="mailto:har1g15@soton.ac.uk"><har1g15@soton.ac.uk></a> wrote:

Hi,

I am new to gmsh, so apologies if the answer to my question is obvious.

I coded a .geo file (Attached) to create 3D RVE with fibers in a matrix that includes voids.

The process simply is :

    1- Create box of the matrix material.

    2- Create voids using Sphere command and BooleanDifference to remove these from the matrix material.

    3- Create fibers as Cylinders and and utilise BooleanFragments to include the cylinders in the matrix.

I have one persistent problem, once the mesh is created the fibers are meshed as hollow cylinders, however i need them to be solid.

Its interesting behavior. Last thing to note that mesh size affects the outcome, for example when the min/max mesh size is 2, the result is solid cylinders, but with mesh size of 1, it becomes hollow.

It there a way to force the meshing algorithm to mesh the cylinder as solid object?

I have attached the .geo file, please let me know if you can help.

Any suggestions?
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">

The geometry is a bit tricky: it's almost degenerate (with some cylinders very close to the boundary), and the parametrization of some curves does not seem monotonic. I've successfully meshed with the following parameters:

MeshSize{305, 310} = 0.5;
Mesh.MeshSizeMax = 2; // successfully tested with 1 and 2
Mesh.AngleToleranceFacetOverlap = 1e-6;
Mesh.Algorithm3D = 10;

Christophe


</pre>
      <blockquote type="cite">
        <pre class="moz-quote-pre" wrap="">
Thanks,

Hossam Ragheb

<RVE_rev1.geo>_______________________________________________
gmsh mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gmsh@onelab.info">gmsh@onelab.info</a>
<a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fonelab.info%2Fmailman%2Flistinfo%2Fgmsh&amp;data=04%7C01%7Char1g15%40soton.ac.uk%7C2d883704735a4170b10908d8a071e9a6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637435758392711911%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=gfbYdVnFYMsVlAZMfoBKb%2Fe3EAGSk3YJb5QoADlJ7Zk%3D&amp;reserved=0">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fonelab.info%2Fmailman%2Flistinfo%2Fgmsh&amp;data=04%7C01%7Char1g15%40soton.ac.uk%7C2d883704735a4170b10908d8a071e9a6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637435758392711911%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=gfbYdVnFYMsVlAZMfoBKb%2Fe3EAGSk3YJb5QoADlJ7Zk%3D&amp;reserved=0</a>
</pre>
      </blockquote>
      <pre class="moz-quote-pre" wrap="">

Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science
<a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpeople.montefiore.ulg.ac.be%2Fgeuzaine&amp;data=04%7C01%7Char1g15%40soton.ac.uk%7C2d883704735a4170b10908d8a071e9a6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637435758392711911%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=AledTjJM7AOu1pI11gBrPWraciR%2F8Yumu4JvCzoYBnQ%3D&amp;reserved=0">https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fpeople.montefiore.ulg.ac.be%2Fgeuzaine&amp;data=04%7C01%7Char1g15%40soton.ac.uk%7C2d883704735a4170b10908d8a071e9a6%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637435758392711911%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=AledTjJM7AOu1pI11gBrPWraciR%2F8Yumu4JvCzoYBnQ%3D&amp;reserved=0</a>




</pre>
    </blockquote>
  </body>
</html>