<div dir="ltr"><div><div><div><div><div><div><div><div><div><div>Dear Prof<span class="">. <em>Christophe Geuzaine,<br></em></span></div><span class=""><br></span></div><span class="">I am a PhD student who is using GMSH as an effective tool for meshing geometries investigated in electromagnetic problems. Recently, I am interested in Domain Decomposition Method and it guides me to the application of METIS for partitioning. METIS is successfully implemented inside GMSH.<br>
<br></span></div><span class="">There are two ways to mesh and partition an geometry:<br></span></div><span class="">1. Open geometry file on GUI, then meshing and partitioning (on GUI as well). I have no problem with this way.<br>
</span></div><span class="">2. Using script and command-line:<br></span></div><span class=""> - At the end of the geometry file, I appended the following lines:<br> Mesh.Partitioner = 2;<br> Mesh.MetisAlgorithm = 1;<br>
Mesh.MetisEdgeMatching = 3;<br> Mesh.NbPartitions = 10;<br></span></div><span class=""> - In the command window, I executed:<br> gmsh -2 -algo del2d -rand 1e-06 cube.geo -string "General.ExpertMode=1;"<br>
<br></span></div><span class="">However, the generated mesh file does not have partition domains. I wonder if there is any mistake or missing in the second way. Could you please advise me with this problem? I attached the cube.geo that I used in this email.<br>
<br></span></div><span class="">Thank you very much for the efficient tool. I really appreciate your help.<br></span></div><span class="">Best regards,<br></span><div><div><div><div><div><div><div><div><div><div><div><div>
<div><div><div><div><br>-- <br>Vinh Pham-Xuan<br>Ph.D Student<br>School of Electronic Engineering<br>Dublin City University<br>Ireland<br>
</div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>