[Gmsh] .unv export : wrong physical entities tag
Zacharie DE GRÈVE [530160]
Zacharie.DEGREVE at umons.ac.be
Wed Jan 22 10:33:19 CET 2014
OK, thank you Christophe.
I understood my mistake : I tested the functionality on a very big mesh file (not very smart approach I agree), in which it was difficult to navigate, and I did not see that the physical group information was appended at the end of the .unv file.
Thank you for your help, and sorry for the inconvenience.
Regards,
Zacharie
--
------------------------------------------------------------------------------
Zacharie De Grève - PhD
Research and Teaching Assistant - Power Electrical Engineering Department
University of Mons - Faculty of Engineering
Bd Dolez, 31 BE-7000 Mons
Tél : +32 (0)65 374125
Fax : +32 (0)65 374120
https://sites.google.com/site/zachariedegreve/
------------------------------------------------------------------------------
________________________________________
De : Christophe Geuzaine [cgeuzaine at ulg.ac.be]
Envoyé : mardi 21 janvier 2014 22:09
À : Zacharie DE GRÈVE [530160]
Cc : gmsh at geuz.org
Objet : Re: [Gmsh] .unv export : wrong physical entities tag
On 21 Jan 2014, at 18:32, Zacharie DE GRÈVE [530160] <Zacharie.DEGREVE at umons.ac.be> wrote:
>
> Hello everyone,
>
> It seems that the .unv export functionality does not correctly transfer the gmsh physical entities tags.
>
> Indeed, in the exported .unv file (element subset), the third field gives the number of the gmsh geometrical entity instead of the physical entity.
>
> Moreover, the numbering of the elements is also different when comparing .msh and .unv files.
>
> Is this behaviour normal ? (gmsh version : 2.8.3, linux 64bits)
>
Hello Zacharie,
Yes - we have modified the UNV and INP output to use their "natural" grouping capabilities (groups of elements and optional groups of nodes for physical entities), instead of duplicating elements like we use to in the MSH2 format. This also means that we don't have to renumber elements anymore, which makes the input/output consistent with the internal state of the model mesh. The new MSH3 format will follow the same approach.
Cheers,
Christophe
> Thank you very much in advance.
>
> Regards,
>
>
>
> --
> ------------------------------------------------------------------------------
> Zacharie De Grève - PhD
> Research and Teaching Assistant - Power Electrical Engineering Department
> University of Mons - Faculty of Engineering
> Bd Dolez, 31 BE-7000 Mons
> Tél : +32 (0)65 374125
> Fax : +32 (0)65 374120
> https://sites.google.com/site/zachariedegreve/
> ------------------------------------------------------------------------------
> _______________________________________________
> 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