Diffusion path

Dear all,

I want to record atoms diffusion path inside nanotube, identify it's spiral or linear?
Does anyone have any idea to do this case?

Thank you !

Wu