I am very new to using LAMMPS. I am trying to obtain some simulations. I was using an older code which had ave/spatial fix style. In the new LAMMPS version it doesn't work so I am switching to ave/chunk fix style. Below are the lines where I am using this style.
compute a1 all chunk/atom bin/1d x lower 10.0 units box compute b1 all chunk/atom bin/1d x lower 20.0 units box fix 4a all ave/chunk 1 1000000 1000000 a1 v_atemp file 10Temperature.txt fix 4b all ave/chunk 1 1000000 1000000 b1 v_atemp file 20Temperature.txt fix 5a all ave/chunk 1 2000000 2000000 a1 v_atemp file 10Temperature2.txt fix 5b all ave/chunk 1 2000000 2000000 b1 v_atemp file 20Temperature2.txt fix 6a all ave/chunk 1 4000000 4000000 a1 v_atemp file 10Temperature4.txt fix 6b all ave/chunk 1 4000000 4000000 b1 v_atemp file 20Temperature4.txt
For this I am getting the error:
Two fix ave commands using same compute chunk/atom command in incompatible ways.
I don't know how to fix this error. I tried to follow the document but I wasn't able to find a fix or I wasn't able to understand much from it. If anyone came across the same error please help.