[Gmsh] [calculix] Re: Mesh Library

Jeff Baylor jbaylor at bconverged.com
Thu Jul 25 00:02:59 CEST 2013


Hello,

Has anyone submitted a bug regarding the C3D20 export problem in Gmsh?  (I
am cc'ing the gmsh at geuz.org 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.

Best,
Jeff



On Wed, Jul 24, 2013 at 11:47 AM, Prool <prool at itl.ua> wrote:

> **
>
>
> --- In calculix at yahoogroups.com, "gmazanakis" <gmazanakis at ...> 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<http://groups.yahoo.com/group/calculix/post;_ylc=X3oDMTJwa2p1ZmdlBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBG1zZ0lkAzkxNjEEc2VjA2Z0cgRzbGsDcnBseQRzdGltZQMxMzc0NjkxNjU2?act=reply&messageNum=9161>  Reply
> to sender <prool at itl.ua?subject=Re%3A%20Mesh%20Library>  Reply to group
> <calculix at yahoogroups.com?subject=Re%3A%20Mesh%20Library>  Start a New
> Topic<http://groups.yahoo.com/group/calculix/post;_ylc=X3oDMTJlbWc4YmV2BF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwNmdHIEc2xrA250cGMEc3RpbWUDMTM3NDY5MTY1Ng-->  Messages
> in this topic<http://groups.yahoo.com/group/calculix/message/9096;_ylc=X3oDMTM0Z3RlZWI2BF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBG1zZ0lkAzkxNjEEc2VjA2Z0cgRzbGsDdnRwYwRzdGltZQMxMzc0NjkxNjU2BHRwY0lkAzkwOTY->(17)
>  Recent Activity:
>
>    - New Members<http://groups.yahoo.com/group/calculix/members;_ylc=X3oDMTJmcmR1NmFqBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzEzNzQ2OTE2NTY-?o=6>
>    4
>    - New Files<http://groups.yahoo.com/group/calculix/files;_ylc=X3oDMTJnM2ZtbGFtBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwN2dGwEc2xrA3ZmaWxlcwRzdGltZQMxMzc0NjkxNjU2>
>    1
>
>  Visit Your Group<http://groups.yahoo.com/group/calculix;_ylc=X3oDMTJlYTQzamJhBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTM3NDY5MTY1Ng-->
>  [image: Yahoo! Groups]<http://groups.yahoo.com/;_ylc=X3oDMTJkdDNqdDBnBF9TAzk3MzU5NzE0BGdycElkAzI2ODM3NTMEZ3Jwc3BJZAMxNzA1MDE2MDYxBHNlYwNmdHIEc2xrA2dmcARzdGltZQMxMzc0NjkxNjU2>
> Switch to: Text-Only<calculix-traditional at yahoogroups.com?subject=Change+Delivery+Format:+Traditional>,
> Daily Digest<calculix-digest at yahoogroups.com?subject=Email+Delivery:+Digest>•
> Unsubscribe <calculix-unsubscribe at yahoogroups.com?subject=Unsubscribe> • Terms
> of Use <http://docs.yahoo.com/info/terms/> • Send us Feedback
> <ygroupsnotifications at yahoogroups.com?subject=Feedback+on+the+redesigned+individual+mail+v1>
>    .
>
> __,_._,___
>



-- 

Jeff Baylor
-----------------------------------
Convergent Mechanical Solutions LLC
web:   http://bConverged.com
email: jbaylor at bConverged.com
phone: 206.755.6199
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20130724/b525dadb/attachment.html>