-
I have a solid geometry which is constructed using
Now, for conformal meshing I wish to overlap all these individual volumes:
Clearly, this boolean operation creates new volume IDs.
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
I think using mapdl.boptn worked for retaining the old volumes and IDs.
But, when I use the old volume IDs to mesh the volumes separately, I do not get a conformal mesh (nodes of volumes sharing an area does not coincide). |
Beta Was this translation helpful? Give feedback.
-
As @mikerife mentioned, on booleans operations the IDs cannot be traced back uniquely. The best way to re-match the old volumes (with the new ids) is to perfom new subentities selection... aka selecting an area or keypoint (based on location) we know it should be contained by that volume, and obtain the volume from it. For instance: mapdl.ksel("S","loc", "x", 0)
mapdl.lslk()
mapdl.asll()
mapdl.vsla() |
Beta Was this translation helpful? Give feedback.
@VHB4910 well that makes sense as the original volumes were meshed and not the new volumes. Since you are selecting the set of volumes to overlap, and using 'all' as the list, use mapdl.geometry.vnum to return an array of volume IDs after the overlap.
Tracking the IDs after a Boolean can be difficult as both the topology and geometry are used to assign new IDs. Plus available ID numbers are used, so there could be gaps etc depending on the state of the model at the time of the Boolean. Plus a Boolean can result in the same or different number of entities as before the Boolean.