[lammps-users] carbon nanotube

Hi
I have an input file As follows :

LAMMPS cnt

200 atoms

2 atom types

-54.3 54.3 xlo xhi
-10.86 10.86 ylo yhi
-10.86 10.86 zlo zhi

Masses

1 13.00
3 12.00

Atoms

1 3 -29.52 3.23 -1.05
2 3 -28.29 2.94 -1.7
3 3 -29.52 0 -3.39
4 3 -28.29 -0.71 -3.32
5 3 -29.52 -3.23 -1.05
6 3 -28.29 -3.37 -0.35
7 3 -29.52 -1.99 2.74
8 3 -28.29 -1.38 3.1
9 3 -29.52 1.99 2.74
10 3 -28.29 2.52 2.27



192 1 -1.230 -1.410 6.633
193 1 -2.460 2.096 6.449
194 1 -1.230 2.758 6.195
195 1 -2.460 5.486 3.986
196 1 -1.230 5.873 3.391
197 1 -2.460 6.781 -1.000
198 1 -1.230 6.744 -0.709
199 1 -2.460 5.486 -3.986
200 1 -1.230 5.040 -4.538

this file is include two nanotubes, the first segment is atom types 3 and the second segment is atom types 1 .
these nanotubes are coaxial. I want to move the axis the second nanotube to out of the first.
my question, do i sum all x component with a constant manually? or there is an another way to do this.

thanks a lot
yousefi

Look at the displace_atoms command. You'll have to
decide if it does what you want.

Steve