forked from lijiext/lammps
62 lines
2.1 KiB
HTML
62 lines
2.1 KiB
HTML
<HTML>
|
|
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
|
|
</CENTER>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
<H3>fix gran/diag command
|
|
</H3>
|
|
<P><B>Syntax:</B>
|
|
</P>
|
|
<PRE>fix ID group-ID gran/diag nevery file layer
|
|
</PRE>
|
|
<UL><LI>ID, group-ID are documented in <A HREF = "fix.html">fix</A> command
|
|
<LI>gran/diag = style name of this fix command
|
|
<LI>nevery = compute diagnostics every this many timesteps
|
|
<LI>file = filename to store diagnostic info in
|
|
<LI>layer = bin size in z-dimension (3d) or y-dimension (2d)
|
|
</UL>
|
|
<P><B>Examples:</B>
|
|
</P>
|
|
<PRE>fix 1 all gran/diag 1000 tmp 0.9
|
|
</PRE>
|
|
<P><B>Description:</B>
|
|
</P>
|
|
<P>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 <I>layer</I> for each bin.
|
|
The quantities written to the file are averaged over all atoms in the
|
|
bin.
|
|
</P>
|
|
<P><B>Restart, fix_modify, output, run start/stop, minimize info:</B>
|
|
</P>
|
|
<P>No information about this fix is written to <A HREF = "restart.html">binary restart
|
|
files</A>. None of the <A HREF = "fix_modify.html">fix_modify</A> options
|
|
are relevant to this fix. No global scalar or vector or per-atom
|
|
quantities are stored by this fix for access by various <A HREF = "Section_howto.html#4_15">output
|
|
commands</A>. No parameter of this fix can be
|
|
used with the <I>start/stop</I> keywords of the <A HREF = "run.html">run</A> command.
|
|
This fix is not invoked during <A HREF = "minimize.html">energy minimization</A>.
|
|
</P>
|
|
<P><B>Restrictions:</B>
|
|
</P>
|
|
<P>This fix is part of the "granular" package. It is only enabled if
|
|
LAMMPS was built with that package. See the <A HREF = "Section_start.html#2_3">Making
|
|
LAMMPS</A> section for more info.
|
|
</P>
|
|
<P><B>Related commands:</B>
|
|
</P>
|
|
<P><A HREF = "atom_style.html">atom_style granular</A>
|
|
</P>
|
|
<P><B>Default:</B> none
|
|
</P>
|
|
</HTML>
|