<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Dear Mr Geuzaine,</p>
    <p><br>
    </p>
    <p>About my last email, I understood what you were talking about.
      Using extrusion with layers to generate the bulk mesh, I finally
      succeed to get what I needed. Here enclosed the file
      ('NewTransfSphere.geo') with the good definition of the geometry.
      <br>
    </p>
    <p>I am now trying to generate the same geometry but with hybrid
      (Hexahedrons&Pyramids&Tetrahedron) meshes. I found a lot
      of help about it, I use the "TransfQuadTri" algorithm and the
      "QuadTriAddVerts" option of the extrusion command but I still get
      errors. The first one is "In QuadToTriGetRegionDiags(), top
      surface of region 1 has quads in a non-toroidal QuadToTri
      extrusion." and I don't find anything about it. This error then
      lead to "flat pyramids" and "Cannot build pyramids on non manifold
      faces" error, which I was trying to avoid using Quadtri. If you
      have any idea about what I'm doing wrong it would be of great
      help. The problematic file ('NewTransfRecSphere.geo') is also
      enclosed in this email. <br>
    </p>
    <p><br>
    </p>
    <p>Thanks again for your help and your work,</p>
    <p>Best regards, <br>
    </p>
    <p>--<br>
    </p>
    <p>Quentin <br>
    </p>
    <br>
    <div class="moz-cite-prefix">Le 31/05/2018 à 15:40, Quentin
      Goestchel a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:ef34ecb4-806f-54ce-8b0c-e1c4c86a7e93@ens-cachan.fr">
      <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
      <p>Thank you for your answer. Let me know if I understood well: I
        have two option, the first one is to change the order of the
        corners in the transfinite volume definition to have the match
        and the second one is to create the bulk cube using extrusion? <br>
      </p>
      <p>I'm not sure to understand perfectly how transfinite could be
        replaced by extrusion. Is there is a way to have regular
        elements in the bulk of the volume with this method? <br>
      </p>
      Best regards, <br>
      <br>
      --<br>
      <br>
      Quentin Goestchel <br>
      <br>
      <div class="moz-cite-prefix">Le 30/05/2018 à 22:10, Christophe
        Geuzaine a écrit :<br>
      </div>
      <blockquote type="cite"
        cite="mid:618F87E0-7E5B-456B-9F0D-CA255EEEC842@uliege.be">
        <meta http-equiv="Content-Type" content="text/html;
          charset=utf-8">
        <br class="">
        <div><br class="">
          <blockquote type="cite" class="">
            <div class="">On 25 May 2018, at 16:26, Quentin Goestchel
              <<a href="mailto:quentin.goestchel@ens-cachan.fr"
                class="" moz-do-not-send="true">quentin.goestchel@ens-cachan.fr</a>>
              wrote:</div>
            <br class="Apple-interchange-newline">
            <div class="">
              <meta http-equiv="content-type" content="text/html;
                charset=utf-8" class="">
              <div text="#000000" bgcolor="#FFFFFF" class="">
                <p class="">Dear Sir or Madam,</p>
                <p class=""> I would like to thank you for the great
                  work which has been done to develop the open-source
                  Gmsh software. <br class="">
                </p>
                <p class="">I am currently working on a 3D numerical
                  method and I think I have found a bug in the 3D
                  meshing algorithm. I was trying to generate a
                  transfinite bulk in a mesh (to have a constant
                  orthogonality of the elements), and an unstructured
                  layer around it, as shown in the enclosed
                  "sphereTransfinite.png". <br class="">
                </p>
              </div>
            </div>
          </blockquote>
          <div><br class="">
          </div>
          <div>This is "normal" the (non-recombined) 3D transfinite
            algorithm does not try to enforce the compatibility between
            the volume and surface meshes. It's actually impossible
            without modifying the 2D mesh a posteriori in some
            configuration (since we also generate the 2D mesh first).
            You should specify the corners of the transfinite
            interpolation in the right order to have the match.</div>
          <div><br class="">
          </div>
          <div>PS: Using Extrusion instead of Transfinite, Gmsh will try
            to perform the modifications automatically.</div>
          <br class="">
          <blockquote type="cite" class="">
            <div class="">
              <div text="#000000" bgcolor="#FFFFFF" class="">
                <p class=""> </p>
                <p class="">Everything was going fine until I noticed a
                  big error on my discretized spherical surface,
                  computed with the sum of the areas of the boundary
                  faces. I found out that my code was unable to find the
                  neighbours of many tetrahedrons around the bulk mesh
                  because many faces were not matching but crossing each
                  other edges, as shown in sphereTransfinite_err.png . <br
                    class="">
                </p>
                <p class="">I didn't find any topics about such problem
                  so I assume that you didn't know about it, but I might
                  be wrong. <br class="">
                </p>
                <p class="">Best regards, <br class="">
                </p>
                <div class="moz-signature">-- <br class="">
                  <table class="eps main" ;="" style="border: 0;
                    cellpadding: 0; cellspacing: 0;" width="100%"
                    bgcolor="#ffffff">
                    <tbody class="">
                      <tr style="border: 0; box-sizing: border-box;
                        cellpadding: 0; cellspacing: 0; font-family:
                        Helvetica, Arial; font-size: 9pt; line-height:
                        18px;" class="">
                        <td style="border-top: 0px; color: #00778b;
                          padding: 5px 4px 0px 4px;" class=""
                          bgcolor="#ffffff">
                          <table style="border: 0; cellpadding: 0;
                            cellspacing: 0; margin-bottom: 25px;"
                            class="" width="400px" align="left">
                            <tbody class="">
                              <tr class="">
                                <td style="color: #00778b; font-size:
                                  9pt;" class="" align="left"> <span
                                    style="font-size: 12pt;" class="">Quentin
                                    Goestchel</span> <span class="nd"
                                    style="font-size: 17px;"> | </span><span
                                    class="nl"><i class="">Etudiant -
                                      Année ARPE </i></span> <br
                                    class="nd">
                                  Département Génie Civil <br class="">
                                  <a href="tel:+33683755753"
                                    style="color:
                                    #00778b;text-decoration: none;"
                                    class="" moz-do-not-send="true">+33(0)6
                                    83 75 57 53</a> <span class="nd"
                                    style="font-size: 11pt;"> | </span>
                                  <span class="nl" style="text-align:
                                    left;font-size: 9pt;"><a
                                      href="mailto:prenom.nom@ens-paris-saclay.fr"
                                      style="color:
                                      #00778b;text-decoration: none;"
                                      class="" moz-do-not-send="true"><span
                                        style="color:
                                        #00778b;white-space: nowrap;"
                                        class="">quentin.goestchel<span
                                          class="">@</span>ens-paris-saclay<span
                                          class="">.</span>fr</span></a>
                                    <br class="nd">
                                    <a
                                      href="geo://?q=61+Avenue+du+Pr%C3%A9sident+Wilson+Cachan+France"
                                      target="_blank" style="color:
                                      #00778b; text-decoration:none;"
                                      class="" moz-do-not-send="true"><span
                                        class="nl" style="color:
                                        #00778b">ENS Cachan</span><span
                                        class="nd"> - </span><span
                                        class="nl" style="color:
                                        #00778b;">61 avenue du Président
                                        Wilson 94235 Cachan CEDEX</span></a><br
                                      class="nd">
                                    <span style="font-size:
                                      12pt;line-height: 24px;" class=""><a
href="http://www.ens-paris-saclay.fr/" target="_blank" style="color:
                                        #00778b;text-decoration: none;"
                                        class="" moz-do-not-send="true">
                                        <span style="color: #00778b;"
                                          class="">www<span class="">.</span>ens-paris-saclay<span
                                            class="">.</span>fr</span></a></span></span></td>
                              </tr>
                            </tbody>
                          </table>
                          <table class="width="230px""
                            style="align: left; border: 0; cellpadding:
                            0; cellspacing: 0;" align="left">
                            <tbody class="">
                              <tr class="">
                                <td style="align: right;" class=""
                                  align="right"><a
                                    href="http://www.ens-paris-saclay.fr/"
                                    style="color: #00778b;
                                    text-decoration: none;" class=""
                                    moz-do-not-send="true"> <span
                                      id="cid:part5.1443793A.F59A3289@ens-cachan.fr"><imblgnlknopffhfn.png></span>
                                  </a></td>
                              </tr>
                            </tbody>
                          </table>
                        </td>
                      </tr>
                    </tbody>
                  </table>
                </div>
              </div>
              <span id="cid:73485356-7987-4870-88A0-75851CAA9770@home"><sphereTransfinite.png></span><span
                id="cid:D0F9A114-3082-4C96-983E-5226B0D70FC2@home"><sphereTransfinite_err.png></span><span
                id="cid:2D9AFF67-924E-47A8-ABB3-E17A1DC4C7B5@home"><sphereTransfinite.geo></span>_______________________________________________<br
                class="">
              gmsh mailing list<br class="">
              <a href="mailto:gmsh@onelab.info" class=""
                moz-do-not-send="true">gmsh@onelab.info</a><br class="">
              <a class="moz-txt-link-freetext"
                href="http://onelab.info/mailman/listinfo/gmsh"
                moz-do-not-send="true">http://onelab.info/mailman/listinfo/gmsh</a><br
                class="">
            </div>
          </blockquote>
        </div>
        <br class="">
        <div class="">
          <div dir="auto" style="word-wrap: break-word;
            -webkit-nbsp-mode: space; line-break: after-white-space;"
            class="">
            <div style="color: rgb(0, 0, 0); font-family: Helvetica;
              font-size: 12px; font-style: normal; font-variant-caps:
              normal; font-weight: normal; letter-spacing: normal;
              text-align: start; text-indent: 0px; text-transform: none;
              white-space: normal; word-spacing: 0px;
              -webkit-text-stroke-width: 0px;">— </div>
            <div style="color: rgb(0, 0, 0); font-family: Helvetica;
              font-size: 12px; font-style: normal; font-variant-caps:
              normal; font-weight: normal; letter-spacing: normal;
              text-align: start; text-indent: 0px; text-transform: none;
              white-space: normal; word-spacing: 0px;
              -webkit-text-stroke-width: 0px;">Prof. Christophe Geuzaine<br
                class="">
              University of Liege, Electrical Engineering and Computer
              Science <br class="">
              <a href="http://www.montefiore.ulg.ac.be/%7Egeuzaine"
                class="" moz-do-not-send="true">http://www.montefiore.ulg.ac.be/~geuzaine</a><br
                class="">
              <br class="">
              Free software: <a class="moz-txt-link-freetext"
                href="http://gmsh.info" moz-do-not-send="true">http://gmsh.info</a> | <a
                class="moz-txt-link-freetext" href="http://getdp.info"
                moz-do-not-send="true">http://getdp.info</a> | <a
                class="moz-txt-link-freetext" href="http://onelab.info"
                moz-do-not-send="true">http://onelab.info</a></div>
          </div>
        </div>
        <br class="">
      </blockquote>
      <br>
      <div class="moz-signature">-- <br>
        <table class="eps main" ;="" style="border: 0; cellpadding: 0;
          cellspacing: 0;" width="100%" bgcolor="#ffffff">
          <tbody class="">
            <tr style="border: 0; box-sizing: border-box; cellpadding:
              0; cellspacing: 0; font-family: Helvetica, Arial;
              font-size: 9pt; line-height: 18px;" class="">
              <td style="border-top: 0px; color: #00778b; padding: 5px
                4px 0px 4px;" class="" bgcolor="#ffffff">
                <table style="border: 0; cellpadding: 0; cellspacing: 0;
                  margin-bottom: 25px;" class="" width="400px"
                  align="left">
                  <tbody class="">
                    <tr class="">
                      <td style="color: #00778b; font-size: 9pt;"
                        class="" align="left"> <span style="font-size:
                          12pt;" class="">Quentin Goestchel</span> <span
                          class="nd" style="font-size: 17px;"> | </span><span
                          class="nl"><i class="">Etudiant - Année ARPE </i></span>
                        <br class="nd">
                        Département Génie Civil <br class="">
                        <a href="tel:+33683755753" style="color:
                          #00778b;text-decoration: none;" class=""
                          moz-do-not-send="true">+33(0)6 83 75 57 53</a>
                        <span class="nd" style="font-size: 11pt;"> | </span>
                        <span class="nl" style="text-align:
                          left;font-size: 9pt;"><a
                            href="mailto:prenom.nom@ens-paris-saclay.fr"
                            style="color: #00778b;text-decoration:
                            none;" class="" moz-do-not-send="true"><span
                              style="color: #00778b;white-space:
                              nowrap;" class="">quentin.goestchel<span
                                class="">@</span>ens-paris-saclay<span
                                class="">.</span>fr</span></a> <br
                            class="nd">
                          <a
                            href="geo://?q=61+Avenue+du+Pr%C3%A9sident+Wilson+Cachan+France"
                            target="_blank" style="color: #00778b;
                            text-decoration:none;" class=""
                            moz-do-not-send="true"><span class="nl"
                              style="color: #00778b">ENS Cachan</span><span
                              class="nd"> - </span><span class="nl"
                              style="color: #00778b;">61 avenue du
                              Président Wilson 94235 Cachan CEDEX</span></a><br
                            class="nd">
                          <span style="font-size: 12pt;line-height:
                            24px;" class=""><a
                              href="http://www.ens-paris-saclay.fr"
                              target="_blank" style="color:
                              #00778b;text-decoration: none;" class=""
                              moz-do-not-send="true"> <span
                                style="color: #00778b;" class="">www<span
                                  class="">.</span>ens-paris-saclay<span
                                  class="">.</span>fr</span></a></span></span></td>
                    </tr>
                  </tbody>
                </table>
                <table class="width="230px"" style="align:
                  left; border: 0; cellpadding: 0; cellspacing: 0;"
                  align="left">
                  <tbody class="">
                    <tr class="">
                      <td style="align: right;" class="" align="right"><a
                          href="http://www.ens-paris-saclay.fr"
                          style="color: #00778b; text-decoration: none;"
                          class="" moz-do-not-send="true"> <img
                            class="gfx" style="border: 0; max-height:
                            100px; max-width: 230px; padding-left: 2px;"
src="cid:part17.6C9BB8D7.D88A6F27@ens-cachan.fr"> </a></td>
                    </tr>
                  </tbody>
                </table>
              </td>
            </tr>
          </tbody>
        </table>
      </div>
    </blockquote>
    <br>
    <div class="moz-signature">-- <br>
      <table class="eps main" ;="" style="border: 0; cellpadding: 0;
        cellspacing: 0;" width="100%" bgcolor="#ffffff">
        <tbody class="">
          <tr style="border: 0; box-sizing: border-box; cellpadding: 0;
            cellspacing: 0; font-family: Helvetica, Arial; font-size:
            9pt; line-height: 18px;" class="">
            <td style="border-top: 0px; color: #00778b; padding: 5px 4px
              0px 4px;" class="" bgcolor="#ffffff">
              <table style="border: 0; cellpadding: 0; cellspacing: 0;
                margin-bottom: 25px;" class="" width="400px"
                align="left">
                <tbody class="">
                  <tr class="">
                    <td style="color: #00778b; font-size: 9pt;" class=""
                      align="left">
                      <span style="font-size: 12pt;" class="">Quentin
                        Goestchel</span>
                      <span class="nd" style="font-size: 17px;"> | </span><span
                        class="nl"><i class="">Etudiant - Année ARPE </i></span>
                      <br class="nd">
                      Département Génie Civil <br class="">
                      <a href="tel:+33683755753" style="color:
                        #00778b;text-decoration: none;" class="">+33(0)6
                        83 75 57 53</a>
                      <span class="nd" style="font-size: 11pt;"> | </span>
                      <span class="nl" style="text-align:
                        left;font-size: 9pt;"><a
                          href="mailto:prenom.nom@ens-paris-saclay.fr"
                          style="color: #00778b;text-decoration: none;"
                          class=""><span style="color:
                            #00778b;white-space: nowrap;" class="">quentin.goestchel<span
                              class="">@</span>ens-paris-saclay<span
                              class="">.</span>fr</span></a>
                        <br class="nd">
                        <a
                          href="geo://?q=61+Avenue+du+Pr%C3%A9sident+Wilson+Cachan+France"
                          target="_blank" style="color: #00778b;
                          text-decoration:none;" class=""><span
                            class="nl" style="color: #00778b">ENS Cachan</span><span
                            class="nd"> - </span><span class="nl"
                            style="color: #00778b;">61 avenue du
                            Président Wilson 94235 Cachan CEDEX</span></a><br
                          class="nd">
                        <span style="font-size: 12pt;line-height: 24px;"
                          class=""><a
                            href="http://www.ens-paris-saclay.fr"
                            target="_blank" style="color:
                            #00778b;text-decoration: none;" class="">
                            <span style="color: #00778b;" class="">www<span
                                class="">.</span>ens-paris-saclay<span
                                class="">.</span>fr</span></a></span></span></td>
                  </tr>
                </tbody>
              </table>
              <table class="width="230px"" style="align: left;
                border: 0; cellpadding: 0; cellspacing: 0;" align="left">
                <tbody class="">
                  <tr class="">
                    <td style="align: right;" class="" align="right"><a
                        href="http://www.ens-paris-saclay.fr"
                        style="color: #00778b; text-decoration: none;"
                        class="">
                        <img class="gfx" style="border: 0; max-height:
                          100px; max-width: 230px; padding-left: 2px;"
                          src="cid:part23.AE0D543D.FF2FB8FC@ens-cachan.fr">
                      </a></td>
                  </tr>
                </tbody>
              </table>
            </td>
          </tr>
        </tbody>
      </table>
    </div>
  </body>
</html>