How to group particles?

Submitted by Sherif on
SHUBHAM AGARWAL

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 :)

Sat, 17 Jul 2021 - 19:51 Permalink

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?