About total force compute on a plane in a whole system

Hi lists,
I have a question about how to compute the total force on a plane in a whole system. For example, a CNT with axis along the Z direction. What if I want to know the total force on any section perpendicular to Z direction, saying the total force on any carbon ring. I do know there is a command ‘compute group/group’, but I do not think it can be used to potential like rebo/airebo.


The doc page clearly said no.

Alternatively, you may define a carbon ring of interest into a group, apply compute property/atom, then use compute reduce to get the total forces acting on the ring.