Dear Lammps users,
I am running a job, using the GPU package, in the NPT statistical ensemble (T=550K and P=1atm) using the DREIDING force - field.
When I visualized the trajectory file, I mentioned that the whole system started to travel “biased”
to a specific direction after a matter of simulation time (~ 40000000 steps). I started to investigate
the reason that this is happening. From the log file I didn’t mention any shift or drop to any of the sizes
I measure (such as Energy, Temperature, Volume etc.). When I calculated the total momentum of the system
with respect to simulation time though, I mentioned that it wasn’t fluctuating around 0 (as I was expecting)
but it was linearly increasing. In order to be sure that the code I wrote for the momentum calculation was right, I
made exactly the same calculation on trajectory files of simulations I run in the past, without there using the gpu package, and the
result I took, was the one I expected (the total momentum of the system was fluctuating around zero).
I am wondering if this happens due to the GPU package which demands by default the newton command to
be off. Does this affect the momentum conservation of the system?
I also post the .in script I am using to see the simulation parameters I am using.
package gpu force/neigh 0 5 1.0
units real
atom_style full
boundary p p p
pair_style lj/charmm/coul/long/gpu 8.0 12.0
dielectric 1.0
kspace_style pppm/gpu 0.00001
special_bonds lj 0.0 0.0 1.0 coul 0.0 0.0 1.0
bond_style harmonic
angle_style harmonic
dihedral_style charmm
improper_style harmonic
read_data pol_550K.dat
group mobile union all
timestep 1
#reset_timestep 0
fix 1 mobile npt temp 550.00 550.00 10.0 iso 1.000000 1.000000 350.0
velocity mobile create 550 1284578715 mom yes rot yes dist gaussian
dump 1 all atom 50000 pol_water_550K.dump
dump_modify 1 scale no image yes append yes
dump 2 all custom 50000 pol_water_550K.veldump vx vy vz
dump_modify 2 append yes
thermo_style custom etotal ke pe ebond eangle edihed eimp evdwl ecoul elong etail enthalpy te
mp press pxx pxy pxz pyy pyz pzz vol lx ly lz
thermo_modify line multi
thermo 50000
thermo_modify flush yes
restart 50000 pol_550K.rst pol_550K.rst
run 100000000
write_restart pol_550K_final.rst
Thank you very much for your help and your support in advance.
with respect,
Emmanuel Skountzos.