<p>This fix is based on the <aclass="reference internal"href="fix_momentum.html"><spanclass="doc">fix momentum</span></a> command, and
was created to be used in place of that command, when a
lattice-Boltzmann fluid is present.</p>
<p>Zero the total linear momentum of the system, including both the atoms
specified by group-ID and the lattice-Boltzmann fluid every nevery
timesteps. This is accomplished by adjusting the particle velocities
and the fluid velocities at each lattice site.</p>
<divclass="admonition note">
<pclass="first admonition-title">Note</p>
<pclass="last">This fix only considers the linear momentum of the system.</p>
</div>
<p>By default, the subtraction is performed for each dimension. This can
be changed by specifying the keyword <em>linear</em>, along with a set of
three flags set to 0/1 in order to exclude/ include the corresponding
dimension.</p>
<p><strong>Restart, fix_modify, output, run start/stop, minimize info:</strong></p>
<p>No information about this fix is written to <aclass="reference internal"href="restart.html"><spanclass="doc">binary restart files</span></a>. None of the <aclass="reference internal"href="fix_modify.html"><spanclass="doc">fix_modify</span></a> options
are relevant to this fix. No global or per-atom quantities are stored
by this fix for access by various <aclass="reference internal"href="Section_howto.html#howto-15"><spanclass="std std-ref">output commands</span></a>. No parameter of this fix can be
used with the <em>start/stop</em> keywords of the <aclass="reference internal"href="run.html"><spanclass="doc">run</span></a> command.
This fix is not invoked during <aclass="reference internal"href="minimize.html"><spanclass="doc">energy minimization</span></a>.</p>
</div>
<divclass="section"id="restrictions">
<h2>Restrictions</h2>
<p>Can only be used if a lattice-Boltzmann fluid has been created via the
<aclass="reference internal"href="fix_lb_fluid.html"><spanclass="doc">fix lb/fluid</span></a> command, and must come after this
command.</p>
<p>This fix is part of the USER-LB package. It is only enabled if LAMMPS
was built with that package. See the <aclass="reference internal"href="Section_start.html#start-3"><spanclass="std std-ref">Making LAMMPS</span></a> section for more info.</p>
Built with <ahref="http://sphinx-doc.org/">Sphinx</a> using a <ahref="https://github.com/snide/sphinx_rtd_theme">theme</a> provided by <ahref="https://readthedocs.org">Read the Docs</a>.