CALCULATING DENSITY

Dear all,

I am using lammps 9Dec11 to simulate argon in carbon-nanotubes. Please can I know the command to use to get the density across the nanotube lenght? How do I get the display of the density obtained is it automatic?

Regards
Kio Michael

Dear all,

I am using lammps 9Dec11 to simulate argon in carbon-nanotubes. Please can I know the command to use to get the density across the nanotube lenght?

you probably want to use the command "fix ave/spatial"
for details, please have a look at the documentation.

How do I get the display of the density obtained is it automatic?

<sarcasm>sure, we are currently working on a write_paper command
that would submit your work automatically to the journal of your
choice</sarcasm>

seriously, please read the documentation. that will tell you
what format the resulting data is in and that in turn should
help you to visualize the results.

cheers,
    axel.