Personal tools
You are here: Home Forum Use Re: Loading a Mesh without continuous element numbering

Re: Loading a Mesh without continuous element numbering

Up to Use

Re: Loading a Mesh without continuous element numbering

Posted by Miguel Segade at April 16. 2020

Hi

I'm trying to load a mesh into salome in .MED format that does not have continous element numbering. Loading the file in gmsh, shows the correct element numbering as can be seen in the attached image: gmsh.png. However, if I load the file in salome, the original numbering scheme is lost: salome.png.

Coming from a Nastran background, this kind of  numbering schemes are very common. Is there any way to force salome to keep the original numbering?

Thanks

Attachments

Re: Loading a Mesh without continuous element numbering

Posted by Miguel Segade at April 16. 2020

I also attach the .med file for testing.

Attachments

Re: Loading a Mesh without continuous element numbering

Posted by SMESH expert at April 16. 2020

Hello

Initial numbering at mesh import has been broken since version 8.5.0. So you can try to use SALOME-8.4.0.

Best regards

Edward

Re: Loading a Mesh without continuous element numbering

Posted by Miguel Segade at April 17. 2020

Previously SMESH expert wrote:

Hello

Initial numbering at mesh import has been broken since version 8.5.0. So you can try to use SALOME-8.4.0.

Best regards

Edward

Re: Loading a Mesh without continuous element numbering

Posted by Miguel Segade at April 17. 2020

I tried salome-8.4.0. But the MED files I'm using are not compatible (they require med > 4.0). Are there plans to fix this? Any workaround?

 

Re: Loading a Mesh without continuous element numbering

Posted by SMESH expert at April 17. 2020

I think it is worth adding an option to get the old behavior available. But note that the old behavior will be available in batch mode only, since in GUI mode the mesh is always compacted before visualization, due to VTK requirements.

Best regards

Edward

Re: Loading a Mesh without continuous element numbering

Posted by Miguel Segade at April 17. 2020
Yes, it will be very helpful, even if it is only in batch mode.
 
In the meantime, is there any way to predict the new renumbering? Is always done in ascending order from the old one?
For example, if my mesh has 3 elements with ids: 40, 50, 60. It will always be renumbered to 1, 2 and 3 respectively.
 

Re: Loading a Mesh without continuous element numbering

Posted by SMESH expert at April 17. 2020

Yes, the order of elements is kept, only "holes" in numbering are removed.

Best regards

Edward 

Re: Loading a Mesh without continuous element numbering

Posted by Miguel Segade at April 19. 2020

Thanks!

I think that would do the trick for now

Powered by Ploneboard
Document Actions