Specify length of a group of atoms

Hi lammps users

I have a problem to specify length “lz” for special group of atoms in CNT. How can I do that?

Thanks

Hi lammps users

I have a problem to specify length “lz” for special group of atoms in CNT. How can I do that?

It is not clear what exactly you are asking for here. Can you provide more details and context?