Skip to content

Tracking Volume IDs using mapdl.vovlap #3341

Answered by mikerife
VHB4910 asked this question in Q&A
Discussion options

You must be logged in to vote

@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.

mapdl.allsel()
mapdl.vovlap("ALL")
volumes = mapdl.geometry.vnum

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.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mikerife
Comment options

Answer selected by germa89
@VHB4910
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants