[Gmsh] [calculix] Re: Mesh Library

Jeff Baylor jbaylor at bconverged.com
Sat Aug 24 21:12:14 CEST 2013


Thanks Christophe, I really appreciate it. I am heading out of town, but
may get a chance to test it tomorrow.  If not, it will be a week before I
am back to work.  I will also look through the other node ordering.  I
think all of the quadratic volumetric elements have different node orders.
 If you already tested the tetrahedron, but not the others then I will send
you the line of code to reorder the second order prism (C3D15).  I think
the others would be fine.

If there is anyone on the CalculiX group who gets a chance to download the
nightly Gmsh build and test its exporting of the quadratic hex (C3D20),
please post if it works for you.  Thanks!


On Fri, Aug 23, 2013 at 11:33 PM, Christophe Geuzaine
<cgeuzaine at ulg.ac.be>wrote:

>
> On 25 Jul 2013, at 00:02, Jeff Baylor <jbaylor at bConverged.com> wrote:
>
> > 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.
> >
>
> 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 <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                             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: jbaylor at bConverged.com
> > phone: 206.755.6199
> > _______________________________________________
> > gmsh mailing list
> > gmsh at geuz.org
> > 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
>
>
>
>


-- 

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/20130824/839bfb4c/attachment.html>