Hi Lammps users,
I shall be thankful if anyone explained me how to output average contact number per atom into a file.
I just used following two commands in my lammps input file… The ‘compute’ command for computation of the contact per atom and I have used the ‘fix’ command to write the output into a file.
compute 5 all contact/atom
fix 5 all ave/atom 100 100000 10000000 c_5 ave one file zperatom.dat
But the fix command gave an error saying that
ERROR: Illegal fix ave/atom command (…/fix_ave_atom.cpp:113)
If somebody can help me, that would be a great help for me.
Thanks.
Nira.
Hi Lammps users,
I shall be thankful if anyone explained me how to output *average contact
number per atom* into a file.
I just used following two commands in my lammps input file.... The
'compute' command for computation of the contact per atom and I have used
the 'fix' command to write the output into a file.
*compute 5 all contact/atomfix 5 all ave/atom 100
100000 10000000 c_5 ave one file zperatom.dat*
But the fix command gave an error saying that
*ERROR: Illegal fix ave/atom command (../fix_ave_atom.cpp:113)*
yes, and it is a well deserved error. you need to explain where in the
documentation of the fix ave/atom command are the flags "one" "ave" and
"file" mentioned? i don't see them here:
If somebody can help me, that would be a great help for me.
that goes without saying.
axel.