I am trying to use the rdf to find the radial distribution of a group of atoms. When I run,
fix 6 all rdf 1000
I get the error,
ERROR: Illegal fix rdf command
The doc page for rdf gives the syntax as a compute type, http://lammps.sandia.gov/doc/compute_rdf.html, but the example usage as a fix.
I am confused. Also, how do I view the output when it works? Can I use c_6 in the dump custom command?
It's now a compute, not a fix. The doc page was out-of-date. I just
updated it. You can print the results to a file via the fix ave/time
command, among others. See doc/compute.html or 4.15 of Section_howto.html
for details.