Tracking cluster counts and sizes

Submitted by dakichetr on Wed, 07/01/2026 - 07:38

Hello,

I would like to track the time evolution of the number of clusters and the number of particles in each cluster during an impact simulation.

As a first step I use :

compute cluscoord all cluster/atom ${diam}

in order to identify the clusterID for each particle. However, I am wondering what would be the easiest way to count the number of clusters and the number of particles in each cluster.

Thanks in advance