[Gmsh] physical groups not displaying correctly from home made msh file

Christophe Geuzaine cgeuzaine at ulg.ac.be
Tue Aug 3 23:02:51 CEST 2010

On 03/08/10 16:42, Danny Lathouwers - TNW wrote:
> Dear gmsh users,
> I have made a mesh from an existing mesh by bisection and want to view
> if it is fine in gmsh.
> It is fine in fact, however the physical groups are not showing
> correctly. It always displays 30003 throughout the mesh, while the
> file clearly contains regions having 10001 and 20002 as well. If I try
> to turn things on and off under tools/visibility this does not work.
> Deleting 30003 however does work and then the full mesh displays 20002.

Physical groups are collections of elementary entities. In your mesh all 
the elements belong to the elementary entity 0---thus there's no way to 
group them in separate physical groups.

> Hmmmm, I am puzzled. Anyone know what's wrong with this file. Is the
> format slightly off because of all the spaces in it?
> Thanks,
> Danny Lathouwers
> Delft University of Technology
> The Netherlands
> _______________________________________________
> 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