<div dir="ltr"><div>Hello,</div><div><br></div>Has anyone submitted a bug regarding the C3D20 export problem in Gmsh?  (I am cc'ing the <a href="mailto:gmsh@geuz.org">gmsh@geuz.org</a> in case no one has.)<div><br></div>
<div>It would be an easy fix if someone wanted to set up a build environment for Gmsh.  The nodes are not ordered incorrectly.  Looking at th 2.8.2 source, line 245 of the header file Geo/MHexahedron.h needs to reorder the local node numbers.  There are examples in the lines above and below.  The local node coordinates are in the Gmsh and CCX docs.  Double check it, but this should be correct (these are the comments from my translator):<div>
<br></div><div><div><font face="courier new, monospace">    GMSH Hexahedron20:     CCX C3D20:</font></div><div><font face="courier new, monospace">   4----14----3           4----11----3        </font></div><div><font face="courier new, monospace">   |\         |\          |\         |\       </font></div>
<div><font face="courier new, monospace">   | 16       | 15        | 20       | 19     </font></div><div><font face="courier new, monospace">   10 \       12 \        12 \       10 \     </font></div><div><font face="courier new, monospace">   |   8----20+---7       |   8----15+---7    </font></div>
<div><font face="courier new, monospace">   |   |      |   |       |   |      |   |    </font></div><div><font face="courier new, monospace">   1---+-9----2   |       1---+-9----2   |    </font></div><div><font face="courier new, monospace">    \  18      \  19       \  16      \  14   </font></div>
<div><font face="courier new, monospace">    11 |        13|        17 |        18|    </font></div><div><font face="courier new, monospace">      \|         \|          \|         \|    </font></div><div><font face="courier new, monospace">       5----17----6           5----13----6    </font></div>
<div>                                                  <br></div><div><div><font face="courier new, monospace">                     CCX: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20</font></div><div><span style="font-family:'courier new',monospace">                    GMSH: 1,2,3,4,5,6,7,8,9,12,14,10,17,19,20,18,11,13,15,16</span><br>
</div></div></div><div><div><span style="font-family:'courier new',monospace"><br></span></div><div><span style="font-family:'courier new',monospace">static const int map[20]={0,1,2,3,4,5,6,7,8,11,13, 9,16,18,19,17,10,12,14,15};</span><br>
</div></div><div><span style="font-family:'courier new',monospace"><br></span></div><div>Subtract one for Gmsh since its local node numbers start with zero.  Having Gmsh write the mesh correctly is a much better solution than a translator.</div>
</div><div><br></div><div>Best,</div><div>Jeff</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 11:47 AM, Prool <span dir="ltr"><<a href="mailto:prool@itl.ua" target="_blank">prool@itl.ua</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<u></u>










<div style>
<span> </span>


<div>
  <div>


    <div>
      
      
      <p></p><div class="im">--- In <a href="mailto:calculix%40yahoogroups.com" target="_blank">calculix@yahoogroups.com</a>, "gmazanakis" <gmazanakis@...> wrote:<br>
><br>
> Mr Prool <br>
> <br>
> thank you very much for your help but once again unfortunately it does not work on my pc neither on my laptop. <br>
> <br>
> Now it does not appear any error, the command window opens but  it closes immidietly. <br>
> <br>
>  Any help with this? <br>
> <br>
> I run the exe for my windows deskop maybe it is a problem of the windows 7 which I use.<br>
><br>
<br></div>
This is a program written in a hurry, it works in command line mode.<br>
<br>
Instruction:<br>
<br>
For example, You have 1.INP file you want to convert.<br>
<br>
1. Create a directory on disk C \WORKDIR<br>
<br>
2. There are copying my program KONVERTOR.EXE (take KONVERTOR.EXE from archive, from directory DEVCPP)<br>
<br>
2a. There are copying file 1.INP<br>
<br>
3. Windows menu click: "START" - "RUN" - "CMD", press ENTER key<br>
<br>
4. Type the command:<br>
<br>
converter 1.inp 2.inp<br>
<br>
press ENTER key<br>
<br>
5. In the catalog converted file appears 2.INP<br>
<br>
Prool<br>
<a href="http://www.calculixforwin.com" target="_blank">www.calculixforwin.com</a><br>
<br>
<p></p>

    </div>
     

    
    <div style="color:#fff;min-height:0">__._,_.___</div>

        
  
  
    <table cellspacing="4px" style="margin-top:20px;margin-bottom:10px">
      <tbody>
        <tr>
          <td style="font-size:12px;font-family:arial;font-weight:bold;padding:7px 5px 5px;color:#fff;background-color:#f2f2f2;border:1px solid #eaeaea">
                          <a style="text-decoration:none;color:#2d50fd" href="http://groups.yahoo.com/group/calculix/post;_ylc=X3oDMTJwa2p1ZmdlBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBG1zZ0lkAzkxNjEEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMzc0NjkxNjU2?act=reply&messageNum=9161" target="_blank">Reply via web post</a>
                      </td>
          <td style="font-size:12px;font-family:arial;padding:7px 5px 5px;color:#fff;background-color:#f2f2f2;border:1px solid #eaeaea">
            <a href="mailto:prool@itl.ua?subject=Re%3A%20Mesh%20Library" style="text-decoration:none;color:#2d50fd" target="_blank">
              Reply to sender            </a> 
          </td>
          <td style="font-size:12px;font-family:arial;padding:7px 5px 5px;color:#fff;background-color:#f2f2f2;border:1px solid #eaeaea">
            <a href="mailto:calculix@yahoogroups.com?subject=Re%3A%20Mesh%20Library" style="text-decoration:none;color:#2d50fd" target="_blank">
              Reply to group            </a> 
          </td>
          <td style="font-size:12px;font-family:arial;padding:7px 5px 5px;color:#fff;background-color:#f2f2f2;border:1px solid #eaeaea">
            <a href="http://groups.yahoo.com/group/calculix/post;_ylc=X3oDMTJlbWc4YmV2BF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTM3NDY5MTY1Ng--" style="text-decoration:none;color:#2d50fd" target="_blank">Start a New Topic</a>
          </td>
          <td style="font-size:12px;font-family:arial;padding:7px 5px 5px;color:#2d50fd;background-color:#f2f2f2;border:1px solid #eaeaea">
                            <a href="http://groups.yahoo.com/group/calculix/message/9096;_ylc=X3oDMTM0Z3RlZWI2BF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBG1zZ0lkAzkxNjEEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMzc0NjkxNjU2BHRwY0lkAzkwOTY-" style="text-decoration:none;color:#2d50fd" target="_blank">Messages in this topic</a>
                (17)
                      </td>
        </tr>
      </tbody>
    </table><div class="im">

        





<div style="background-color:#f2f2f2;font-family:Verdana;font-size:10px;margin-bottom:10px;padding:10px">
      <span style="font-weight:bold;color:#333;text-transform:uppercase">Recent Activity:</span>

    <ul style="list-style-type:none;margin:0;padding:0;display:inline">
            <li style="border-right:1px solid #000;font-weight:700;display:inline;padding:0 5px;margin-left:0">
      <span><a href="http://groups.yahoo.com/group/calculix/members;_ylc=X3oDMTJmcmR1NmFqBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzEzNzQ2OTE2NTY-?o=6" style="text-decoration:none" target="_blank">New Members</a></span>
      <span style="color:#ff7900">4</span>
    </li>
                                      <li style="border-right:1px solid #000;font-weight:700;display:inline;padding:0 5px;margin-left:0">
      <span><a href="http://groups.yahoo.com/group/calculix/files;_ylc=X3oDMTJnM2ZtbGFtBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwN2dGwEc2xrA3ZmaWxlcwRzdGltZQMxMzc0NjkxNjU2" style="text-decoration:none" target="_blank">New Files</a></span>
      <span style="color:#ff7900">1</span>
    </li>
              </ul>
    
  <div style="clear:both;padding-top:2px;color:#1e66ae">
    <a href="http://groups.yahoo.com/group/calculix;_ylc=X3oDMTJlYTQzamJhBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTM3NDY5MTY1Ng--" style="text-decoration:none" target="_blank">Visit Your Group</a>
  </div>
</div>


  
<div style="font-family:Arial;font-size:11px;margin-top:5px;padding:0 2px 0 0;clear:both">
  <a href="http://groups.yahoo.com/;_ylc=X3oDMTJkdDNqdDBnBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMzc0NjkxNjU2" style="float:left" target="_blank"><img height="15" width="137" alt="Yahoo! Groups" style="border:0"></a>
  <div style="color:#747575;float:right">Switch to: <a href="mailto:calculix-traditional@yahoogroups.com?subject=Change+Delivery+Format:+Traditional" style="text-decoration:none" target="_blank">Text-Only</a>, <a href="mailto:calculix-digest@yahoogroups.com?subject=Email+Delivery:+Digest" style="text-decoration:none" target="_blank">Daily Digest</a> • <a href="mailto:calculix-unsubscribe@yahoogroups.com?subject=Unsubscribe" style="text-decoration:none" target="_blank">Unsubscribe</a> • <a href="http://docs.yahoo.com/info/terms/" style="text-decoration:none" target="_blank">Terms of Use</a> • <a href="mailto:ygroupsnotifications@yahoogroups.com?subject=Feedback+on+the+redesigned+individual+mail+v1" style="text-decoration:none" target="_blank">Send us Feedback </a></div>

</div>



  </div></div> 

  
  
  <div style="width:160px;float:right;clear:none;margin:0 0 25px 0;background:#fff">


<div>
     </div>




  </div>   

  <div style="clear:both;color:#fff;font-size:1px">.</div>
</div>

  <img width="1" height="1"> <br>

<div style="color:#fff;min-height:0">__,_._,___</div>


</div>



  






</blockquote></div><br><br clear="all"><div><br></div>-- <br><br>Jeff Baylor<br>-----------------------------------<br>Convergent Mechanical Solutions LLC<br>web:   <a href="http://bConverged.com" target="_blank">http://bConverged.com</a><br>
email: jbaylor@bConverged.com<br>phone: 206.755.6199<br>
</div>