forked from lijiext/lammps
54 lines
1.6 KiB
Plaintext
54 lines
1.6 KiB
Plaintext
"LAMMPS WWW Site"_lws - "LAMMPS Documentation"_ld - "LAMMPS Commands"_lc :c
|
|
|
|
:link(lws,http://lammps.sandia.gov)
|
|
:link(ld,Manual.html)
|
|
:link(lc,Section_commands.html#comm)
|
|
|
|
:line
|
|
|
|
compute smd/contact_radius command :h3
|
|
|
|
[Syntax:]
|
|
|
|
compute ID group-ID smd/contact_radius :pre
|
|
|
|
ID, group-ID are documented in "compute"_compute.html command
|
|
smd/contact_radius = style name of this compute command :ul
|
|
|
|
[Examples:]
|
|
|
|
compute 1 all smd/contact_radius :pre
|
|
|
|
[Description:]
|
|
|
|
Define a computation which outputs the contact radius, i.e., the radius used to prevent particles from penetrating each other.
|
|
The contact radius is used only to prevent particles belonging to different physical bodies from penetrating each other. It is used by the contact pair styles,
|
|
e.g., smd/hertz and smd/tri_surface.
|
|
|
|
See "this PDF guide"_USER/smd/SMD_LAMMPS_userguide.pdf to using Smooth Mach Dynamics in
|
|
LAMMPS.
|
|
|
|
The value of the contact radius will be 0.0 for particles not in the
|
|
specified compute group.
|
|
|
|
[Output info:]
|
|
|
|
This compute calculates a per-particle vector, which can be accessed by
|
|
any command that uses per-particle values from a compute as input. See
|
|
"Section_howto 15"_Section_howto.html#howto_15 for an overview of
|
|
LAMMPS output options.
|
|
|
|
The per-particle vector values will be in distance "units"_units.html.
|
|
|
|
[Restrictions:]
|
|
|
|
This compute is part of the USER-SMD package. It is only enabled if
|
|
LAMMPS was built with that package. See the "Making
|
|
LAMMPS"_Section_start.html#start_3 section for more info.
|
|
|
|
[Related commands:]
|
|
|
|
"dump custom"_dump.html smd/hertz smd/tri_surface
|
|
|
|
[Default:] none
|