[Getdp] [Gmsh] conversion med file to msh file - duplicate id number for solids and faces to be used in getdP

Christophe Geuzaine cgeuzaine at ulg.ac.be
Fri Feb 14 23:25:35 CET 2014

On 14 Feb 2014, at 21:00, Frederic Trillaud <ftrillaudp at pumas.ii.unam.mx> wrote:

> Good afternoon,
> I have an issue related to the id number in gmsh. I have created a
> geometry in the platform salome and converted the mesh into *.msh gmsh
> format (gmsh file.med -3).
> My geometry has solids and one face for boundary condition. Gmsh
> numbered the face as the same number of solid 1. Both face and solid are
> identified as 1 in gmsh. When I want to select the region 1, both solid
> and face are selected. However, I want to select only the solid.
> Therefore, how can I make the difference in getDP between solids and
> faces of same id number?

Hi Frederic,

Indeed: GetDP requires unique physical tags across dimensions (I forgot about this when I wrote the MED I/O)... I've changed the MED file reader so that it creates such unique physical tags -- the fix will be in tomorrow's nightly build.

Thanks for the feedback,


> Best,
> Frederic 
> _______________________________________________
> 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