From: Madhur Aggarwal (
Date: Wed Oct 02 2019 - 09:53:05 CDT

Hi all,

I am beginner in VMD. I have a lammps data file which contains the dimensions of my simulation box. I want to translate my system to the center of the box. It would be great if someone could help me in figuring out how to do it.
Also, in my lammps data file, my simulation box dimensions are:

-10.000 10.000 xlo xhi
-10.000 10.000 ylo yhi
-10.000 10.000 zlo zhi

So VMD origin should be at the center of my simulation box, which is not the case when I visualize it by using "pbc box" command. I am not sure why this is happening.

Thanks in advance,
Madhur Aggarwal