LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

fix gran/diag command

Syntax:

fix ID group-ID gran/diag nevery file zlayer 

Examples:

fix 1 all gran/diag 1000 tmp 0.9 

Description:

Compute aggregate density, velocity, and stress diagnostics for a group of granular atoms as a function of z depth in the granular system. The results are written to 3 files named file.den, file.vel, and file.str. The z bins begin at the bottom of the system and extend upward with a thickness of zlayer for each bin. The quantities written to the file are averaged over all atoms in the bin.

Restrictions:

Can only be used with atom_style granular.

Related commands:

atom_style granular

Default: none