[Gmsh] Salome -> UNV Mesh -> GMSH -> physical groups lost
Christophe Geuzaine
cgeuzaine at ulg.ac.be
Fri Apr 5 10:39:26 CEST 2013
On 05 Apr 2013, at 10:03, Andreas <a-v-a-t-a-r at gmx.net> wrote:
> Hi all,
>
> I just subscribed to this list because I ran into a problem that wasn't covered anywhere.
>
> It seems that GMSH does not import physical groups from UNV mesh format (tried with Salome 6.6.0 and GMSH 2.7.0 - both on 64 Bit Linux and 64Bit Windows 7).
>
> I created a basic 3D model in Salome, assigned some physical groups to 3D and 2D objects, created a tet mesh via Netgen, transfered the groups to the mesh and exported the mesh to UNV.
>
> The UNV contains the physical groups, but gmsh does not import that info, see attached file.
>
> The FE code I'm using is based on gmsh mesh format and I wanted to use gmsh as a converter between UNV and MSH.
>
> Now, my question is: are there plans to include physical group support into UNV import in gmsh?
>
I don't know the UNV format well enough, but if you do you we could help you code this. Have a look at Geo/GModelIO_UNV.cpp.
PS : doesn't Salome provide direct Gmsh format output?
> Otherwise I would have to code a UNV mesh reader for the FE code...
>
> Anyone knowing another way of transfering a mesh with physical groups created in Salome to gmshformat is welcome, of course.
>
> Cheers, Andreas
> <Mesh_1.unv>_______________________________________________
> 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