I'm using superquadric particles in my simulation and I want to group the particles having the same sizes after insertion so that each size is put in a certain group how could I code this issue?
A project by DCS Computing and CFDEMresearch
This website uses cookies to ensure you get the best experience on our website. By continuing to browse the site you are agreeing to our use of cookies. This website uses cookies. By continuing to browse the site you are agreeing to our use of cookies. More info
SHUBHAM AGARWAL | Sat, 07/17/2021 - 19:51
Use group command
Hello
This is much simpler if the particles of same radi have same type (say-1), you can try:
####
group g1 type 1
####
This will group all particles of type-1 in g1.
In case you have particles in different types (say 1,2 and 3), you can create subgroup and join them:
###
group g1 type 1
group g2 type 2
group g3 type 3
group gt union g1 g2 g3
###
Hope it resolves your issue
Cheers :)