[Gmsh] error with quadratic prism element in a post-processing file

Christophe Geuzaine cgeuzaine at ulg.ac.be
Thu Jan 31 15:31:07 CET 2013


Hi Gérard,

Is this still an issue with the latest nightly builds? (It seems to work fine over here.)

Christophe


On 22 Jan 2013, at 10:42, gérard rio <gerard.rio at univ-ubs.fr> wrote:

> hello,
> I have encountered an error with a post-processing file including quadratic prism elements. The same file works correctly with the 2.5 version of gmsh.
> I have not seen any particular information in the documentation, about it. 
> Is it a bug in gmsh ?
> Thanks
> 
> NB: without a Node Data field, it is ok, but with it, gmsh crashes. 
> Attached, a small example:
> 
> $MeshFormat 
> 2.2 0 8 
> $EndMeshFormat 
> 
> $Nodes 
>  18
> 1            0            0            0 
> 2            1            0            0 
> 3            0            1            0 
> 4            0            0            1 
> 5            1            0            1 
> 6            0            1            1 
> 7          0.5            0            0 
> 8          0.5          0.5            0 
> 9            0          0.5            0 
> 10          0.5            0            1 
> 11          0.5          0.5            1 
> 12            0          0.5            1 
> 13            0            0          0.5 
> 14            1            0          0.5 
> 15            0            1          0.5 
> 16          0.5            0          0.5 
> 17          0.5          0.5          0.5 
> 18            0          0.5          0.5 
> $EndNodes
> 
> $Elements 
> 1
> 1  13  3 1 1 0  1 2 3 4 5 6 7 9 13 8 14 15 10 12 11 16 18 17 
> $EndElements
> 
> 
> $NodeData 
> 1 
> "deplace"
> 1 
> 1
> 3 
> 1
> 3
> 18
> 1            0            0            0 
> 2            0            0            0 
> 3            0            0            0 
> 4            0            0            0 
> 5            0            0            0 
> 6            0            0            0 
> 7            0            0            0 
> 8            0            0            0 
> 9            0            0            0 
> 10            0            0            0 
> 11            0            0            0 
> 12            0            0            0 
> 13            0            0            0 
> 14            0            0            0 
> 15            0            0            0 
> 16            0            0            0 
> 17            0            0            0 
> 18            0            0            0 
> $EndNodeData 
>  
> 
> ================================================================
> Gerard Rio : LIMATB, EA4250, Equipe de Génie Mécanique et Matériaux 
> mailto:gerard.rio at univ-ubs.fr
> Universite de Bretagne Sud - EG2M - Centre de Recherche 
> Rue de Saint Maudé - BP 92116,  56321 Lorient cedex
> http://web.univ-ubs.fr/lg2m/ phone  0297874573, fax : 0297874588 
> ================================================================
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> 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