Hi All,
I am a new user of LAMMPS and starting to learn things.
I would like to compute and record the time evolution of the distance between 2 atoms which are part of different groups . Does anybody have an idea how to do that using fix ave/ or any other commands. I tried using following options but this gives an error.
group a 1 10
group b 11 20
variable b1 x[11]-x[1]
fix 1 all ave/time 1 1000 1000 v_b1 file dist_ev.dat
Regards
Ateeque