Dear Andrew,
I tried diff -b and I got something similar, and I don’t know what’s reason.
in VMD part I tried to use this command in lammps
dump 1 all custom 5000 DUMP_FILE.lammpstrj id mol type x y z ix iy iz
but I got this error
ERROR: Dumping an atom property that isn’t allocated (…/dump_custom.cpp:1029)
and I tried some thing else, by using
dump 1 all xyz 100000 *.xyz
in both of codes and I got these
from read_data file:
1
Atoms. Timestep: 0
1 0.5 0.99 0
1
Atoms. Timestep: 900000000
1 0.5 0.826027 0
and from input script:
1
Atoms. Timestep: 0
1 0.5 0.99 0
1
Atoms. Timestep: 900000000
1 0.5 0.012498 0
the difference is distinct
Regards,
David
Dear lammps users,
So sorry for disturbing you, I’m new in lammps and I have a problem, I checked mail list and manual but I cant solve it. could you please tell me what is difference between these to scripts? (I get different results from them)
Try typing this into the shell
(change “file1.in”, “file2.in” to the names of your input script files).
When I do this with your input scripts (after changing the line order) I see:
file1.in:
fix 5 all wall/gran 24487562190 29670922496 8688783570 1000000 0.9 1
yplane 0.0 NULL
pair_style gran/hertz/history 24487562190 29670922496 868878350 1000000 0.0 1
file2.in:
fix 5 all wall/gran 24487562190 29670922496 8688783570 1000000 0.9 1
yplane 0 1.0
pair_style gran/hertz/history 24487562190 29670922496 868878350 1000000 0.1 1
I don’t know what effect these changes would have on your system.
Additionally, one of the script reads a data file and the other does
not. You will have to visualize the system with VMD to make sure the
data file you are reading is equivalent to the input script commands
you were using. (Attached file has instructions for viewing data
files with VMD&topotools.)
Andrew