July 2, 2019 at 7:10 am
Ansys Employee
Yes: you need to identify those cells by a just checking if the centroids are within a sphere. What you need is the center of the sphere and the radius.
If center of the sphere will be different as it corresponds to the center of a cell then all become difficult and I cannot help on that within this open community. But you can imagine you will need two loops: one to loop of the cells, fix center of the sphere and another cell loop within the first one to calculate the distance between the new cells and the reference cell.