Merge pull request #4273 from jtclemm/small-patches

Few small patches to BPM, RHEO, and GRANULAR packages
This commit is contained in:
Axel Kohlmeyer
2024-08-21 16:33:28 -04:00
committed by GitHub
12 changed files with 518 additions and 504 deletions

View File

@ -17,6 +17,8 @@ producing fracture. The examples/bpm directory has sample input scripts
for simulations of the fragmentation of an impacted plate and the
pouring of extended, elastic bodies. See :ref:`(Clemmer) <howto-Clemmer>`
for more general information on the approach and the LAMMPS implementation.
Example movies illustrating some of these capabilities are found at
https://www.lammps.org/movies.html#bpmpackage.
----------

View File

@ -15,7 +15,8 @@ details of the system, or develop new capabilities. For instance, the numerics
associated with calculating gradients, reproducing kernels, etc. are separated
into distinct classes to simplify the development of new integration schemes
which can call these calculations. Additional numerical details can be found in
:ref:`(Clemmer) <howto_rheo_clemmer>`.
:ref:`(Clemmer) <howto_rheo_clemmer>`. Example movies illustrating some of these
capabilities are found at https://www.lammps.org/movies.html#rheopackage.
Note, if you simply want to run a traditional SPH simulation, the :ref:`SPH package
<PKG-SPH>` package is likely better suited for your application. It has fewer advanced

View File

@ -350,6 +350,7 @@ models for mesoscale simulations of solids and fracture. See the
* :doc:`compute nbond/atom <compute_nbond_atom>`
* :doc:`fix nve/bpm/sphere <fix_nve_bpm_sphere>`
* :doc:`pair_style bpm/spring <pair_bpm_spring>`
* https://www.lammps.org/movies.html#bpmpackage
* ``examples/bpm``
----------
@ -2658,6 +2659,7 @@ Thomas C. O'Connor (Carnegie Mellon University)
* :doc:`fix rheo/viscosity <fix_rheo_viscosity>`
* :doc:`pair_style rheo <pair_rheo>`
* :doc:`pair_style rheo/solid <pair_rheo_solid>`
* https://www.lammps.org/movies.html#rheopackage
* ``examples/rheo``
----------

View File

@ -18,11 +18,11 @@ Syntax
*constant* args = *rate*
*rate* = rate of heat flow (energy/time units)
*linear* args = :math:`T_{target}` *k*
:math:`T_{target}` = target temperature (temperature units)
*linear* args = *Ttarget* *k*
*Ttarget* = target temperature (temperature units)
*k* = prefactor (energy/(time*temperature) units)
*quartic* args = :math:`T_{target}` *k*
:math:`T_{target}` = target temperature (temperature units)
*quartic* args = *Ttarget* *k*
*Ttarget* = target temperature (temperature units)
*k* = prefactor (energy/(time*temperature^4) units)
* zero or more keyword/value pairs may be appended to args
@ -45,9 +45,9 @@ Examples
Description
"""""""""""
This fix adds heat to particles with the temperature attribute every timestep.
Note that this is an internal temperature of a particle intended for use with
non-atomistic models like the discrete element method.
This fix adds heat to particles with the temperature attribute every timestep
at a given rate. Note that this is an internal temperature of a particle intended
for use with non-atomistic models like the discrete element method.
For the *constant* style, heat is added at the specified rate. For the *linear* style,
heat is added at a rate of :math:`k (T_{target} - T)` where :math:`k` is the
@ -96,7 +96,8 @@ only enabled if LAMMPS was built with that package.
See the :doc:`Build package <Build_package>` page for more info.
This fix requires that atoms store temperature and heat flow
as defined by the :doc:`fix property/atom <fix_property_atom>` command.
as defined by the :doc:`fix property/atom <fix_property_atom>` command or
included in certain atom styles, such as atom_style rheo/thermal.
Related commands
""""""""""""""""