[Gmsh] Bug#332491: gmsh: UNV output is broken

Christophe Geuzaine christophe.geuzaine at case.edu
Mon Oct 10 21:34:02 CEST 2005


Christophe Prud'homme wrote:
> [ Jeudi 6 Octobre 2005 21:20 ]
> | Package: gmsh
> | Version: 1.60.1-2
> | Severity: normal
> |
> | Hi again,
> |
> | given that I could not use its GUI, I ran some demos on the command line ;)
> |   $ gmsh -2 -o sphere.msh /usr/share/doc/gmsh/demos/sphere.geo
> | works fine, but
> |   $ gmsh -2 -o sphere.unv -format unv /usr/share/doc/gmsh/demos/sphere.geo
> | does not: the 2412 block is empty, which means that no triangles have not
> | been written.
> yup 
> tail sphere.unv                                                         /tmp
>        325         1         1        11
>    7.0035110399138734D-01  -7.0022284531142676D-01  -1.3855091653180310D-01
>        326         1         1        11
>    7.0037627507839728D-01  -1.3876943956427798D-01  -7.0015443998262705D-01
>        327         1         1        11
>    1.3894459500157721D-01  -7.0025158802370213D-01  -7.0024435800046181D-01
>     -1
>     -1
>   2412
>     -1
> 
> I am not familiar with the unv format so I cannot really comment
> 
> I forward this to gmsh list
> 

I'm not very familiar with the UNV format either, but it seems that we 
don't print the surface mesh when there is a volume in the CAD whose 
boundary contains this surface. I'm not sure why it's coded up this 
way... JF: any comments?

If nobody objects, I will change this behavior so that we always save 
all the elements.

Christophe


> cu & thanks for the report
> C.


-- 
Christophe Geuzaine
Assistant Professor, Case University, Mathematics
http://www.case.edu/artsci/math/geuzaine