On 25 Jul 2013, at 00:02, Jeff Baylor <[email protected]> wrote:

> Hello,
> 
> Has anyone submitted a bug regarding the C3D20 export problem in Gmsh?  (I am 
> cc'ing the [email protected] in case no one has.)
> 
> 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):
> 
>     GMSH Hexahedron20:     CCX C3D20:
>    4----14----3           4----11----3        
>    |\         |\          |\         |\       
>    | 16       | 15        | 20       | 19     
>    10 \       12 \        12 \       10 \     
>    |   8----20+---7       |   8----15+---7    
>    |   |      |   |       |   |      |   |    
>    1---+-9----2   |       1---+-9----2   |    
>     \  18      \  19       \  16      \  14   
>     11 |        13|        17 |        18|    
>       \|         \|          \|         \|    
>        5----17----6           5----13----6    
>                                                   
>                      CCX: 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20
>                     GMSH: 1,2,3,4,5,6,7,8,9,12,14,10,17,19,20,18,11,13,15,16
> 
> 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};
> 
> 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.
> 

Hi Jeff - I've committed a patch with your renumbering: can you give it a try?

Also, please let us know if your see other renumbering problems in the Abaqus 
export: we have not tested this anything other than forst order 
triangles/tets...

Thanks,

Christophe


> Best,
> Jeff
> 
> 
> 
> On Wed, Jul 24, 2013 at 11:47 AM, Prool <[email protected]> wrote:
>  
> 
> --- In [email protected], "gmazanakis" <gmazanakis@...> wrote:
> >
> > Mr Prool 
> > 
> > thank you very much for your help but once again unfortunately it does not 
> > work on my pc neither on my laptop. 
> > 
> > Now it does not appear any error, the command window opens but it closes 
> > immidietly. 
> > 
> > Any help with this? 
> > 
> > I run the exe for my windows deskop maybe it is a problem of the windows 7 
> > which I use.
> >
> 
> This is a program written in a hurry, it works in command line mode.
> 
> Instruction:
> 
> For example, You have 1.INP file you want to convert.
> 
> 1. Create a directory on disk C \WORKDIR
> 
> 2. There are copying my program KONVERTOR.EXE (take KONVERTOR.EXE from 
> archive, from directory DEVCPP)
> 
> 2a. There are copying file 1.INP
> 
> 3. Windows menu click: "START" - "RUN" - "CMD", press ENTER key
> 
> 4. Type the command:
> 
> converter 1.inp 2.inp
> 
> press ENTER key
> 
> 5. In the catalog converted file appears 2.INP
> 
> Prool
> www.calculixforwin.com
> 
> 
> __._,_.___
> Reply via web post                             Reply to sender                
>                  Reply to group                         Start a New Topic     
>           Messages in this topic (17)                       
> RECENT ACTIVITY: 
>       • New Members 4 
>       • New Files 1
> 
> Visit Your Group
> Switch to: Text-Only, Daily Digest • Unsubscribe • Terms of Use • Send us 
> Feedback 
> .
>  
> __,_._,___
> 
> 
> 
> -- 
> 
> Jeff Baylor
> -----------------------------------
> Convergent Mechanical Solutions LLC
> web:   http://bConverged.com
> email: [email protected]
> phone: 206.755.6199
> _______________________________________________
> gmsh mailing list
> [email protected]
> http://www.geuz.org/mailman/listinfo/gmsh

-- 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine




_______________________________________________
gmsh mailing list
[email protected]
http://www.geuz.org/mailman/listinfo/gmsh

Reply via email to