LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Commands

fix gran/diag command

Syntax:

fix ID group-ID gran/diag nevery file layer 

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 depth in the granular system. "Depth" means the z-dimension for a 3d simulation, and the y-dimension for a 2d simulation. The results are written to 3 files named file.den, file.vel, and file.str. The bins begin at the bottom of the system and extend upward with a thickness of layer for each bin. The quantities written to the file are averaged over all atoms in the bin.

Restart, fix_modify, thermo output, run start/stop, minimize info:

No information about this fix is written to binary restart files. None of the fix_modify options are relevant to this fix. No quantities calculated by this fix can be output by the thermo_style custom command. No parameter of this fix can be used with the start/stop keywords of the run command. This fix is not invoked during energy minimization.

Restrictions:

This fix is part of the "granular" package. It is only enabled if LAMMPS was built with that package. See the Making LAMMPS section for more info.

Related commands:

atom_style granular

Default: none