Personal tools
You are here: Home Forum Use Combining meshes without renumbering

Combining meshes without renumbering

Up to Use

Combining meshes without renumbering

Posted by Miguel Segade at Tuesday 15:15

Hi

I'm trying to combine two disjoint meshes without changing the numbering system. Using the concatenate method, I obtain the desired mesh, but the numbering is all new. I understand that if the two original meshes share some elements with the same Id, this will be a problem, but in my case that never occurs because the meshes I'm trying to combine are partitions from another, bigger one.

Is there any way to achieve this without changing the numbering

Thanks

Re: Combining meshes without renumbering

Posted by SMESH expert at Tuesday 16:14

Hello 

Concatenate() just adds new elements to a mesh without caring of numbering. And I see no other way to get what you need.

Best regards

Edward

Re: Combining meshes without renumbering

Posted by Christophe Bourcier at Tuesday 23:58

Hi,

With MEDCoupling, you can get the nodes numbering from the med files and set them on the concatenate mesh.

See the example in attachment, merging 4 disjoint meshes and restoring the nodes numbering.

Christophe

Attachments

Re: Combining meshes without renumbering

Posted by Christophe Bourcier at Wednesday 00:00

... and the dumped script of the study used to generate disjoint meshes with SHAPER/GEOM/SMESH.

Attachments
Powered by Ploneboard
Document Actions