[Gmsh] Mesh renumbering to MED format

Christophe Geuzaine cgeuzaine at uliege.be
Wed Apr 15 18:47:31 CEST 2020



> On 15 Apr 2020, at 12:05, Miguel Segade <miguelrsegade at gmail.com> wrote:
> 
> Hi
> 
> I need to do some operations involving meshes in .bdf and .med format. One problem that I faced was that after exporting a .med file to .bdf a renumbering was done, but this was solved in this gitlab issue: https://gitlab.onelab.info/gmsh/gmsh/-/issues/601.
> 
> Now I'm facing the opossite problem, I need to export a .bdf file to .med while mantaining the element numbering scheme. But apparentely, .med does not allow arbitrary node numbering. Is this correct? If yes, is there any way to generate a relation table between the two mesh numbering?
> 
> For example, elements 80044, 80054 and 80064 in the .bdf correspond to 1, 2 and 3 in the MED file.
> 

Indeed currently Gmsh does not try to write node/element tags in MED files. It is probably possible though, as we make sure to assign tags when reading MED files. I suggest that you open an issue with this, so we can keep track.

Christophe


> Thanks
> 
> 
> _______________________________________________
> gmsh mailing list
> gmsh at onelab.info
> http://onelab.info/mailman/listinfo/gmsh

— 
Prof. Christophe Geuzaine
University of Liege, Electrical Engineering and Computer Science 
http://www.montefiore.ulg.ac.be/~geuzaine






More information about the gmsh mailing list