Analysing the number of molecules on a colloid surface and inside the collloid

GROMACS version: 2018.8
GROMACS modification: NO
Here post your question

Dear Gromacs users,

My MD system contains a colloidal structure. Some molecules in the system are inside the colloid while some are on the surface of the colloid. I aimed to calculate the number of particular molecules on the surface and inside the colloid. May I know is there any method/gmx tool available for doing my calculations?

Appreciate your help.

Thank you.

Best Regards,

Amali

Maybe you can try gmx rdf.