Dear lammps-users
The values that lammps calculate for the command variable are difference with numbers calculated by myself with the format from lammps manual. And sometimes the differences are so big that I cannot think it can be explained with error. The partial commands are:
units real
dimension 3
pair_style lj/cut 10.0
pair_coeff 1 1 0.2394 3.405 10.0
pair_coeff 2 2 0.2394 3.405 10.0
pair_coeff 1 2 0.2394 3.405 3.822
group solide type 1
group reflect type 2
group ALL molecule >= 0
variable vel equal swiggle(0,0.4974,389.105058)
variable replacement equal cwiggle(0,30.8,389.105058)
variable vvx equal 0
variable vvy equal 0
variable vxx equal 0
variable vyy equal 0
fix 3 solide move variable v_vvx v_vvy v_replacement v_vxx v_vyy v_vel
timestep 1
And some values that the differences are too big are listed in table below. Where the rep and velocity represents the value that calculate by myself, the replacem and vel come from lammps. why is the difference so large? And how should I do to eliminate the difference?