Degree of confinement

I want to study degree of confinement of ions in porous carbon, does anyone know the visualization tools to do the task?