small doc fixes

This commit is contained in:
Axel Kohlmeyer
2024-08-13 20:47:46 -04:00
parent 70384d4344
commit 4d1632b9f7
4 changed files with 25 additions and 19 deletions

View File

@ -96,7 +96,7 @@ ordered :math:`xx`, :math:`yy`, :math:`zz`, :math:`xy`, :math:`xz`, :math:`yz`.
The number of atoms contributing to the temperature is assumed to be
constant for the duration of the run; use the *dynamic* option of the
:doc:`compute_modify <compute_modify>` command if this is not the case.
However, in order to get meaningful result, the group ID of this compute should
However, in order to get meaningful results, the group ID of this compute should
be all.
The removal of the cosine-shaped velocity component by this command is
@ -145,7 +145,10 @@ The seventh element of vector value will be in velocity :doc:`units <units>`.
Restrictions
""""""""""""
This command is only available when LAMMPS was built with the MISC package.
This compute is part of the MISC package. It is only enabled if LAMMPS
was built with that package. See the :doc:`Build package
<Build_package>` page for more info.
Since this compute depends on :doc:`fix accelerate/cos <fix_accelerate_cos>`
which can only work for 3d systems, it cannot be used for 2d systems.

View File

@ -20,7 +20,7 @@ Examples
.. code-block:: LAMMPS
fix 1 all accelerate/cos 0.02e-5
fix 1 all accelerate/cos 2.0e-7
Description
"""""""""""
@ -57,19 +57,18 @@ where :math:`m_i`, :math:`v_{i,x}`, and :math:`z_i` are the mass,
:math:`x`-component velocity, and :math:`z`-coordinate of a particle,
respectively.
The velocity amplitude :math:`V` can be calculated with
:doc:`compute viscosity/cos <compute_viscosity_cos>`,
which enables viscosity calculation with periodic perturbation method,
as described by :ref:`Hess<Hess2>`.
Because the applied acceleration drives the system away from equilibration,
the calculated shear viscosity is lower than the intrinsic viscosity
due to the shear-thinning effect.
Extrapolation to zero acceleration should generally be performed to
predict the zero-shear viscosity.
As the shear stress decreases, the signal-noise ratio decreases rapidly,
the simulation time must be extended accordingly to get converged result.
The velocity amplitude :math:`V` can be calculated with :doc:`compute
viscosity/cos <compute_viscosity_cos>`, which enables viscosity
calculation with periodic perturbation method, as described by
:ref:`Hess<Hess2>`. Because the applied acceleration drives the system
away from equilibration, the calculated shear viscosity is lower than
the intrinsic viscosity due to the shear-thinning effect. Extrapolation
to zero acceleration should generally be performed to predict the
zero-shear viscosity. As the shear stress decreases, the
signal-to-noise ratio decreases rapidly, and the simulation time must be
extended accordingly to get converged results.
In order to get meaningful result, the group ID of this fix should be all.
In order to get meaningful results, the group ID of this fix should be all.
----------
@ -81,12 +80,16 @@ None of the fix_modify options are relevant to this fix.
No global or per-atom quantities are stored by this fix for access by various
output commands. 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 command is only available when LAMMPS was built with the MISC package.
This fix is part of the MISC package. It is only enabled if LAMMPS was
built with that package. See the :doc:`Build package <Build_package>`
page for more info.
Since this fix depends on the :math:`z`-coordinate of atoms, it cannot be used
in 2d simulations.

View File

@ -1,4 +1,4 @@
Fix ave/spatial command
fix ave/spatial command
=======================
.. meta::

View File

@ -1,5 +1,5 @@
Fix ave/spatial command
=======================
fix ave/spatial/sphere command
==============================
.. meta::
:http-equiv=Refresh: 5; url=https://docs.lammps.org/Commands_removed.html#fix-ave-spatial-and-fix-ave-spatial-sphere