<div dir="ltr"><div><div>Dear Bolun,<br><br></div>Yes, you should specify the different curved zones separately. There is a bit of documentation at the end of the file "mshconvert.py". Here is what is said about the curves input:<br><br>"<br><span class="gmail-pl-s">             curves = Dictionary of curve information. Keys are curve zones </span>
      
      
        
        <span class="gmail-pl-s">                      and value is either<br>    </span>
      
      
        
        <span class="gmail-pl-s">                               {'type': 'C', </span>
      
      
        
        <span class="gmail-pl-s">                                'radius': radius, </span>
      
      
        
        <span class="gmail-pl-s">                                'circle_center': (x, y), </span>
      
      
        
        <span class="gmail-pl-s">                                'depth': depth}<br> </span>
      
      
        
        <span class="gmail-pl-s">                      for a circle or </span>
      
      
        
        <span class="gmail-pl-s">                               <br>    {'type': 'm'} <br></span>
      
      
        
        <span class="gmail-pl-s">                      for midpoint with nek5000 or</span>
<br>    <span class="gmail-pl-s">{'type': 'spline'}</span>
      
      
        
        <br><span class="gmail-pl-s">                      for a curved side with semtex. Here a .geom file containing</span>
      
      
        
        <span class="gmail-pl-s">                      the spline information will be created.</span>
      
      
        
        <br><br><span class="gmail-pl-s">                      </span>
      
      
        
        <span class="gmail-pl-s">                      The circle may provide the radius or the center of the</span>
      
      
        
        <span class="gmail-pl-s">                      circle through 'circle_center'. The curvature may also be </span>
      
      
        
        <span class="gmail-pl-s">                      used in the internal elements inside the surface through</span>
      
      
        
        <span class="gmail-pl-s">                      specifying the depth. depth=4 means that the curvature </span>
      
      
        
        <span class="gmail-pl-s">                      is used throughout the first four elements inside that </span>
      
      
        
        <span class="gmail-pl-s">                      surface. This is necessary to get good quality meshes in,</span>
      
      
        
        <span class="gmail-pl-s">                      e.g., a cylinder. The radius for an internal face is </span>
      
      
        
        <span class="gmail-pl-s">                      always computed as the distance to the circle_center.</span>
      
      
        
        <span class="gmail-pl-s">                      Not for FEniCS.<br>"<br><br></span></div><span class="gmail-pl-s">I hope that helps.<br>Best,<br>Nicolas Offermans</span><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 9, 2016 at 3:16 AM,  <span dir="ltr"><<a href="mailto:nek5000-users@lists.mcs.anl.gov" target="_blank">nek5000-users@lists.mcs.anl.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div link="blue" vlink="purple" lang="ZH-CN"><div class="m_-5070905957635042540WordSection1"><p class="MsoNormal" style="text-indent:0cm"><span lang="EN-US">Hi, neks<u></u><u></u></span></p><p class="MsoNormal" style="text-indent:21.0pt"><span lang="EN-US">I tried to convert a 2D circular ring mesh generated by gambit to .rea file using the code mshconvert.py, but failed. I converted the example mesh file sirkel4.msh following the step in README, then I have a question that what command I should input when my mesh has more than one curved boundary just like a ring mesh. For sirkel4.msh the command “7:{……}” means that the zone 7 is curved, if I have two curved zones, for example, zone 3 and 4, should I input “3:{……..},4:{……..}” in one command line? <u></u><u></u></span></p><p class="MsoNormal" style="text-indent:21.0pt"><span lang="EN-US">Thank you in advance.<u></u><u></u></span></p><p class="MsoNormal" style="text-align:right;text-indent:21.0pt" align="right"><span lang="EN-US">Regards,<u></u><u></u></span></p><p class="MsoNormal" style="text-align:right;text-indent:21.0pt" align="right"><span lang="EN-US">Xu<u></u><u></u></span></p><p class="MsoNormal" style="text-indent:0cm"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-indent:0cm"><span lang="EN-US">------------------------------<wbr>------------------------------<wbr>----<u></u><u></u></span></p><p class="MsoNormal" style="text-indent:0cm"><span lang="EN-US">Bolun Xu<u></u><u></u></span></p><p class="MsoNormal" style="text-indent:0cm"><span lang="EN-US">University of Science and Technology of Chnia<u></u><u></u></span></p><p class="MsoNormal" style="text-indent:0cm"><span lang="EN-US">Hefei, Anhui, China<u></u><u></u></span></p><p class="MsoNormal" style="text-indent:21.0pt"><span lang="EN-US"><u></u> <u></u></span></p><p class="MsoNormal" style="text-align:left;text-indent:21.0pt" align="left"><span lang="EN-US"><u></u> <u></u></span></p></div></div><br>______________________________<wbr>_________________<br>
Nek5000-users mailing list<br>
<a href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.<wbr>gov</a><br>
<a href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" rel="noreferrer" target="_blank">https://lists.mcs.anl.gov/<wbr>mailman/listinfo/nek5000-users</a><br>
<br></blockquote></div><br></div>