|From:||"Yan, Rui" <ry48@...7136...>|
|Date:||Fri, 29 Sep 2017 15:51:48 +0000|
Dear Lammps users,
I want to use rerun command to read snapshots from a dump file to calculate number density in different bins. The dump file has id, type,q,x,y,z,vx,vy,vz,fx,fy,fz of each atom, with timestep ranging from 50,000 to 100,000 and a span of 100 steps. When the rerun command finishes, everything seems fine from my log file, but the output file written by fix ave/chunk command doesn’t have any information except the default three head lines. Could you tell me what the reason is and how to solve this problem?
The related commands are as follow:
compute define_bin all chunk/atom bin/1d z lower 2.5 units box
fix 1 all ave/chunk 100 500 50000 define_bin density/number norm sample file density_number_of_every_bin.txt
rerun coordinate.txt first 50100 every 100 dump x y z box yes replace yes