From 318f8c411c3a10aef87feff8d01b323f39bbc819 Mon Sep 17 00:00:00 2001
From: sjplimp Typical MD models treat atoms or particles as point masses.
-Sometimes, however, it is desirable to have a model with finite-size
-particles such as spheres or aspherical ellipsoids. The difference is
-that such particles have a moment of inertia, rotational energy, and
-angular momentum. Rotation is induced by torque from interactions
-with other particles.
+ Typical MD models treat atoms or particles as point masses. Sometimes
+it is desirable to have a model with finite-size particles such as
+spheroids or ellipsoids or generalized aspherical bodies. The
+difference is that such particles have a moment of inertia, rotational
+energy, and angular momentum. Rotation is induced by torque coming
+from interactions with other particles.
LAMMPS has several options for running simulations with these kinds of
particles. The following aspects are discussed in turn:
@@ -1032,11 +1032,9 @@ particles. The following aspects are discussed in turn:
There are 2 atom styles that allow for definition of
-finite-size particles: sphere and ellipsoid. The peri atom style also
-treats particles as having a volume, but that is internal to the
-pair_style peri potentials. The dipole atom style is
-most often used in conjunction with finite-size particles.
+ There are several atom styles that allow for
+definition of finite-size particles: sphere, dipole, ellipsoid, line,
+tri, peri, and body.
The sphere style defines particles that are spheriods and each
particle can have a unique diameter and mass (or density). These
@@ -1044,6 +1042,18 @@ particles store an angular velocity (omega) and can be acted upon by
torque. The "set" command can be used to modify the diameter and mass
of individual particles, after then are created.
The dipole style does not actually define extended particles, but is
+often used in conjunction with spherical particles, via a command like
+ This is because when dipoles interact with each other, they induce
+torques, and a particle must be extended (i.e. have a moment of
+inertia) in order to respond and rotate. See the atom_style
+dipole command for details. The "set" command can be
+used to modify the orientation and length of the dipole moment of
+individual particles, after then are created.
+ The ellipsoid style defines particles that are ellipsoids and thus can
be aspherical. Each particle has a shape, specified by 3 diameters,
and mass (or density). These particles store an angular momentum and
@@ -1054,41 +1064,53 @@ The "set" command can be used to modify the diameter, orientation, and
mass of individual particles, after then are created. It also has a
brief explanation of what quaternions are.
The dipole style does not define extended particles, but is often
-used in conjunction with spherical particles, via a command like
+ The line style defines line segment particles with two end points and
+a mass (or density). They can be used in 2d simulations, and they can
+be joined together to form rigid bodies which represent arbitrary
+polygons.
This is because when dipoles interact with each other, they induce
-torques, and a particle must be extended (i.e. have a moment of
-inertia) in order to respond and rotate. See the atom_style
-dipole command for details. The "set" command can be
-used to modify the orientation and length of the dipole moment of
-individual particles, after then are created.
+ The tri style defines triangular particles with three corner points
+and a mass (or density). They can be used in 3d simulations, and they
+can be joined together to form rigid bodies which represent arbitrary
+particles with a triangulated surface.
+ The peri style is used with Peridynamic models and
+defines particles as having a volume, that is used internally in the
+pair_style peri potentials.
+ The body style allows for definition of particles which can represent
+complex entities, such as surface meshes of discrete points,
+collections of sub-particles, deformable objects, etc. The body style
+is discussed in more detail on the body doc page.
Note that if one of these atom styles is used (or multiple styles via
the atom_style hybrid command), not all particles in
-the system are required to be finite-size or aspherical. For example,
-if the 3 shape parameters are set to the same value, the particle will
-be a sphere rather than an ellipsoid. If the 3 shape parameters are
-all set to 0.0 or if the diameter is set to 0.0, it will be a point
-particle. If the length of the dipole moment is set to zero, the
-particle will not have a point dipole associated with it. The pair
-styles used to compute pairwise interactions will typically compute
-the correct interaction in these simplified (cheaper) cases.
-Pair_style hybrid can be used to insure the correct
-interactions are computed for the appropriate style of interactions.
-Likewise, using groups to partition particles (ellipsoids versus
-spheres versus point particles) will allow you to use the appropriate
-time integrators and temperature computations for each class of
-particles. See the doc pages for various commands for details.
+the system are required to be finite-size or aspherical.
Also note that for 2d simulations, finite-size
-spheres and ellipsoids are still treated as 3d particles, rather than
-as circular disks or ellipses. This means they have the same moment
-of inertia for a 3d extended object. When their temperature is
-coomputed, the correct degrees of freedom are used for rotation in a
-2d versus 3d system.
+ For example, in the ellipsoid style, if the 3 shape parameters are set
+to the same value, the particle will be a sphere rather than an
+ellipsoid. If the 3 shape parameters are all set to 0.0 or if the
+diameter is set to 0.0, it will be a point particle. In the line or
+tri style, if the lineflag or triflag is specified as 0, then it
+will be a point particle.
+ Many of the pair styles used to compute pairwise interactions between
+extended particles typically compute the correct interaction in these
+simplified (cheaper) cases. e.g. the interaction between a point
+particle and an extended particle or between two point particles. If
+necessary, pair_style hybrid can be used to insure
+the correct interactions are computed for the appropriate style of
+interactions. Likewise, using groups to partition particles
+(ellipsoids versus spheres versus point particles) will allow you to
+use the appropriate time integrators and temperature computations for
+each class of particles. See the doc pages for various commands for
+details.
+ Also note that for 2d simulations, atom styles sphere
+and ellipsoid still use 3d particles, rather than as circular disks or
+ellipses. This means they have the same moment of inertia as a 3d
+extended object. When temperature is computed, the correct degrees of
+freedom are used for rotation in a 2d versus 3d system.
The granular pair styles are used with spherical
-particles. The dipole pair style is used with
-atom_style dipole, which could be applied to
-spherical or ellipsoidal particles. The GayBerne
-and REsquared potentials require ellipsoidal
-particles, though they will also work if the 3 shape parameters are
-the same (a sphere). The lubrication potential
-works with spherical particles.
+ The granular pair styles are used with spherical particles. The
+dipole pair style is used with the dipole atom style, which could be
+applied to spherical or ellipsoidal particles. The GayBerne and
+REsquared potentials require ellipsoidal particles, though they will
+also work if the 3 shape parameters are the same (a sphere). The
+Brownian and lubrication potentials are used with spherical particles.
+The line, tri, and body potentials are used with line segment,
+triangular, and body particles respectively.
There are 3 fixes that perform time integration on extended spherical
-particles, meaning the integrators update the rotational orientation
-and angular velocity or angular momentum of the particles:
+ There are several fixes that perform time integration on extended
+spherical particles, meaning the integrators update the rotational
+orientation and angular velocity or angular momentum of the particles:
Likewise, there are 3 fixes that perform time integration on
-ellipsoids as extended aspherical particles:
+ellipsoidal particles:
The advantage of these fixes is that those which thermostat the
particles include the rotational degrees of freedom in the temperature
-calculation and thermostatting. Other thermostats can be used with
-fix nve/sphere or fix nve/asphere, such as fix langevin or fix
-temp/berendsen, but those thermostats only operate on the
-translational kinetic energy of the extended particles.
+calculation and thermostatting. The fix langevin
+command can also be used with its omgea or angmom options to
+thermostat the rotational degrees of freedom for spherical or
+ellipsoidal particles. Other thermostatting fixes only operate on the
+translational kinetic energy of extended particles.
Note that for mixtures of point and extended particles, you should
-only use these integration fixes on groups which contain
-extended particles.
+ These fixes perform constant NVE time integration on line segment,
+triangular, and body particles:
+ Note that for mixtures of point and extended particles, these
+integration fixes can only be used with groups which
+contain extended particles.
There are 4 computes that calculate the temperature or rotational energy
-of extended spherical or aspherical particles (ellipsoids):
+ There are several computes that calculate the temperature or
+rotational energy of spherical or ellipsoidal particles:
6.21 Calculating viscosity
-
- 6.22 Body particles
6.14 Extended spherical and aspherical particles
-Atom styles
-atom_style hybrid sphere dipole
+
+atom_style hybrid sphere dipole
-
-Pair potentials
@@ -1103,29 +1125,33 @@ that generate torque:
Time integration
-Computes, thermodynamics, and dump output
-
The dump custom command can output various attributes of -extended particles, including the dipole moment (mu), the angular -velocity (omega), the angular momentum (angmom), the quaternion -(quat), and the torque (tq) on the particle. +
These commands can be used to output various attributes +of extended particles: +
+ +Attributes include the dipole moment, the angular velocity, the +angular momentum, the quaternion, the torque, the end-point and +corner-point coordinates (for line and tri particles), and +sub-particle attributes of body particles.
If any of the constituent particles of a rigid body are extended -particles (spheres or ellipsoids), then their contribution to the -inertia tensor of the body is different than if they were point -particles. This means the rotational dynamics of the rigid body will -be different. Thus a model of a dimer is different if the dimer -consists of two point masses versus two extended sphereoids, even if -the two particles have the same mass. Extended particles that -experience torque due to their interaction with other particles will -also impart that torque to a rigid body they are part of. +particles (spheres or ellipsoids or line segments or triangles), then +their contribution to the inertia tensor of the body is different than +if they were point particles. This means the rotational dynamics of +the rigid body will be different. Thus a model of a dimer is +different if the dimer consists of two point masses versus two +extended sphereoids, even if the two particles have the same mass. +Extended particles that experience torque due to their interaction +with other particles will also impart that torque to a rigid body they +are part of.
See the "fix rigid" command for example of complex rigid-body models it is possible to define in LAMMPS. @@ -1190,6 +1232,15 @@ it is possible to define in LAMMPS. treat 2, 3, or 4 particles as a rigid body, but it always assumes the particles are point masses.
+Also note that body particles cannot be modeled with the fix +rigid command. Body particles are treated by LAMMPS +as single particles, though they can store internal state, such as a +list of sub-particles. Individual body partices are typically treated +as rigid bodies, and their motion integrated with a command like fix +nve/body. Interactions between pairs of body +particles are computed via a command like pair_style +body. +
(Berendsen) Berendsen, Grigera, Straatsma, J Phys Chem, 91, diff --git a/doc/Section_howto.txt b/doc/Section_howto.txt index ceaffe141f..7e2f80f235 100644 --- a/doc/Section_howto.txt +++ b/doc/Section_howto.txt @@ -1005,12 +1005,12 @@ An alternative method for calculating viscosities is provided via the 6.14 Extended spherical and aspherical particles :link(howto_14),h4 -Typical MD models treat atoms or particles as point masses. -Sometimes, however, it is desirable to have a model with finite-size -particles such as spheres or aspherical ellipsoids. The difference is -that such particles have a moment of inertia, rotational energy, and -angular momentum. Rotation is induced by torque from interactions -with other particles. +Typical MD models treat atoms or particles as point masses. Sometimes +it is desirable to have a model with finite-size particles such as +spheroids or ellipsoids or generalized aspherical bodies. The +difference is that such particles have a moment of inertia, rotational +energy, and angular momentum. Rotation is induced by torque coming +from interactions with other particles. LAMMPS has several options for running simulations with these kinds of particles. The following aspects are discussed in turn: @@ -1023,11 +1023,9 @@ rigid bodies composed of extended particles :ul Atom styles :h5 -There are 2 "atom styles"_atom_style.html that allow for definition of -finite-size particles: sphere and ellipsoid. The peri atom style also -treats particles as having a volume, but that is internal to the -"pair_style peri"_pair_peri.html potentials. The dipole atom style is -most often used in conjunction with finite-size particles. +There are several "atom styles"_atom_style.html that allow for +definition of finite-size particles: sphere, dipole, ellipsoid, line, +tri, peri, and body. The sphere style defines particles that are spheriods and each particle can have a unique diameter and mass (or density). These @@ -1035,6 +1033,18 @@ particles store an angular velocity (omega) and can be acted upon by torque. The "set" command can be used to modify the diameter and mass of individual particles, after then are created. +The dipole style does not actually define extended particles, but is +often used in conjunction with spherical particles, via a command like + +atom_style hybrid sphere dipole :pre + +This is because when dipoles interact with each other, they induce +torques, and a particle must be extended (i.e. have a moment of +inertia) in order to respond and rotate. See the "atom_style +dipole"_atom_style.html command for details. The "set" command can be +used to modify the orientation and length of the dipole moment of +individual particles, after then are created. + The ellipsoid style defines particles that are ellipsoids and thus can be aspherical. Each particle has a shape, specified by 3 diameters, and mass (or density). These particles store an angular momentum and @@ -1045,41 +1055,53 @@ The "set" command can be used to modify the diameter, orientation, and mass of individual particles, after then are created. It also has a brief explanation of what quaternions are. -The dipole style does not define extended particles, but is often -used in conjunction with spherical particles, via a command like +The line style defines line segment particles with two end points and +a mass (or density). They can be used in 2d simulations, and they can +be joined together to form rigid bodies which represent arbitrary +polygons. -atom_style hybrid sphere dipole :pre +The tri style defines triangular particles with three corner points +and a mass (or density). They can be used in 3d simulations, and they +can be joined together to form rigid bodies which represent arbitrary +particles with a triangulated surface. -This is because when dipoles interact with each other, they induce -torques, and a particle must be extended (i.e. have a moment of -inertia) in order to respond and rotate. See the "atom_style -dipole"_atom_style.html command for details. The "set" command can be -used to modify the orientation and length of the dipole moment of -individual particles, after then are created. +The peri style is used with "Peridynamic models"_pair_peri.html and +defines particles as having a volume, that is used internally in the +"pair_style peri"_pair_peri.html potentials. + +The body style allows for definition of particles which can represent +complex entities, such as surface meshes of discrete points, +collections of sub-particles, deformable objects, etc. The body style +is discussed in more detail on the "body"_body.html doc page. Note that if one of these atom styles is used (or multiple styles via the "atom_style hybrid"_atom_style.html command), not all particles in -the system are required to be finite-size or aspherical. For example, -if the 3 shape parameters are set to the same value, the particle will -be a sphere rather than an ellipsoid. If the 3 shape parameters are -all set to 0.0 or if the diameter is set to 0.0, it will be a point -particle. If the length of the dipole moment is set to zero, the -particle will not have a point dipole associated with it. The pair -styles used to compute pairwise interactions will typically compute -the correct interaction in these simplified (cheaper) cases. -"Pair_style hybrid"_pair_hybrid.html can be used to insure the correct -interactions are computed for the appropriate style of interactions. -Likewise, using groups to partition particles (ellipsoids versus -spheres versus point particles) will allow you to use the appropriate -time integrators and temperature computations for each class of -particles. See the doc pages for various commands for details. +the system are required to be finite-size or aspherical. -Also note that for "2d simulations"_dimension.html, finite-size -spheres and ellipsoids are still treated as 3d particles, rather than -as circular disks or ellipses. This means they have the same moment -of inertia for a 3d extended object. When their temperature is -coomputed, the correct degrees of freedom are used for rotation in a -2d versus 3d system. +For example, in the ellipsoid style, if the 3 shape parameters are set +to the same value, the particle will be a sphere rather than an +ellipsoid. If the 3 shape parameters are all set to 0.0 or if the +diameter is set to 0.0, it will be a point particle. In the line or +tri style, if the lineflag or triflag is specified as 0, then it +will be a point particle. + +Many of the pair styles used to compute pairwise interactions between +extended particles typically compute the correct interaction in these +simplified (cheaper) cases. e.g. the interaction between a point +particle and an extended particle or between two point particles. If +necessary, "pair_style hybrid"_pair_hybrid.html can be used to insure +the correct interactions are computed for the appropriate style of +interactions. Likewise, using groups to partition particles +(ellipsoids versus spheres versus point particles) will allow you to +use the appropriate time integrators and temperature computations for +each class of particles. See the doc pages for various commands for +details. + +Also note that for "2d simulations"_dimension.html, atom styles sphere +and ellipsoid still use 3d particles, rather than as circular disks or +ellipses. This means they have the same moment of inertia as a 3d +extended object. When temperature is computed, the correct degrees of +freedom are used for rotation in a 2d versus 3d system. Pair potentials :h5 @@ -1094,29 +1116,33 @@ that generate torque: "pair_style dipole/cut"_pair_dipole.html "pair_style gayberne"_pair_gayberne.html "pair_style resquared"_pair_resquared.html -"pair_style lubricate"_pair_lubricate.html :ul +"pair_style brownian"_pair_brownian.html +"pair_style lubricate"_pair_lubricate.html +"pair_style line/lj"_pair_line_lj.html +"pair_style tri/lj"_pair_tri_lj.html +"pair_style body"_pair_body.html :ul -The "granular pair styles"_pair_gran.html are used with spherical -particles. The "dipole pair style"_pair_dipole.html is used with -"atom_style dipole"_atom_style.html, which could be applied to -spherical or ellipsoidal particles. The "GayBerne"_pair_gayberne.html -and "REsquared"_pair_resquared.html potentials require ellipsoidal -particles, though they will also work if the 3 shape parameters are -the same (a sphere). The "lubrication potential"_pair_lubricate.html -works with spherical particles. +The granular pair styles are used with spherical particles. The +dipole pair style is used with the dipole atom style, which could be +applied to spherical or ellipsoidal particles. The GayBerne and +REsquared potentials require ellipsoidal particles, though they will +also work if the 3 shape parameters are the same (a sphere). The +Brownian and lubrication potentials are used with spherical particles. +The line, tri, and body potentials are used with line segment, +triangular, and body particles respectively. Time integration :h5 -There are 3 fixes that perform time integration on extended spherical -particles, meaning the integrators update the rotational orientation -and angular velocity or angular momentum of the particles: +There are several fixes that perform time integration on extended +spherical particles, meaning the integrators update the rotational +orientation and angular velocity or angular momentum of the particles: "fix nve/sphere"_fix_nve_sphere.html "fix nvt/sphere"_fix_nvt_sphere.html "fix npt/sphere"_fix_npt_sphere.html :ul Likewise, there are 3 fixes that perform time integration on -ellipsoids as extended aspherical particles: +ellipsoidal particles: "fix nve/asphere"_fix_nve_asphere.html "fix nvt/asphere"_fix_nvt_asphere.html @@ -1124,19 +1150,27 @@ ellipsoids as extended aspherical particles: The advantage of these fixes is that those which thermostat the particles include the rotational degrees of freedom in the temperature -calculation and thermostatting. Other thermostats can be used with -fix nve/sphere or fix nve/asphere, such as fix langevin or fix -temp/berendsen, but those thermostats only operate on the -translational kinetic energy of the extended particles. +calculation and thermostatting. The "fix langevin"_fix_langevin +command can also be used with its {omgea} or {angmom} options to +thermostat the rotational degrees of freedom for spherical or +ellipsoidal particles. Other thermostatting fixes only operate on the +translational kinetic energy of extended particles. -Note that for mixtures of point and extended particles, you should -only use these integration fixes on "groups"_group.html which contain -extended particles. +These fixes perform constant NVE time integration on line segment, +triangular, and body particles: + +"fix nve/line"_fix_nve_line.html +"fix nve/tri"_fix_nve_tri.html +"fix nve/body"_fix_nve_body.html :ul + +Note that for mixtures of point and extended particles, these +integration fixes can only be used with "groups"_group.html which +contain extended particles. Computes, thermodynamics, and dump output :h5 -There are 4 computes that calculate the temperature or rotational energy -of extended spherical or aspherical particles (ellipsoids): +There are several computes that calculate the temperature or +rotational energy of spherical or ellipsoidal particles: "compute temp/sphere"_compute_temp_sphere.html "compute temp/asphere"_compute_temp_asphere.html @@ -1147,15 +1181,22 @@ These include rotational degrees of freedom in their computation. If you wish the thermodynamic output of temperature or pressure to use one of these computes (e.g. for a system entirely composed of extended particles), then the compute can be defined and the -"thermo_modify"_thermo_modify.html command used. Note that by -default thermodynamic quantities will be calculated with a temperature -that only includes translational degrees of freedom. See the +"thermo_modify"_thermo_modify.html command used. Note that by default +thermodynamic quantities will be calculated with a temperature that +only includes translational degrees of freedom. See the "thermo_style"_thermo_style.html command for details. -The "dump custom"_dump.html command can output various attributes of -extended particles, including the dipole moment (mu), the angular -velocity (omega), the angular momentum (angmom), the quaternion -(quat), and the torque (tq) on the particle. +These commands can be used to output various attributes +of extended particles: + +"dump custom"_dump.html +"compute property/atom"_compute_property_atom.html +"compute body/local"_compute_body_local.html :ul + +Attributes include the dipole moment, the angular velocity, the +angular momentum, the quaternion, the torque, the end-point and +corner-point coordinates (for line and tri particles), and +sub-particle attributes of body particles. Rigid bodies composed of extended particles :h5 @@ -1165,14 +1206,15 @@ force and torque on the rigid body each timestep due to forces on its constituent particles, and integrates the motion of the rigid body. If any of the constituent particles of a rigid body are extended -particles (spheres or ellipsoids), then their contribution to the -inertia tensor of the body is different than if they were point -particles. This means the rotational dynamics of the rigid body will -be different. Thus a model of a dimer is different if the dimer -consists of two point masses versus two extended sphereoids, even if -the two particles have the same mass. Extended particles that -experience torque due to their interaction with other particles will -also impart that torque to a rigid body they are part of. +particles (spheres or ellipsoids or line segments or triangles), then +their contribution to the inertia tensor of the body is different than +if they were point particles. This means the rotational dynamics of +the rigid body will be different. Thus a model of a dimer is +different if the dimer consists of two point masses versus two +extended sphereoids, even if the two particles have the same mass. +Extended particles that experience torque due to their interaction +with other particles will also impart that torque to a rigid body they +are part of. See the "fix rigid" command for example of complex rigid-body models it is possible to define in LAMMPS. @@ -1181,6 +1223,15 @@ Note that the "fix shake"_fix_shake.html command can also be used to treat 2, 3, or 4 particles as a rigid body, but it always assumes the particles are point masses. +Also note that body particles cannot be modeled with the "fix +rigid"_fix_rigid.html command. Body particles are treated by LAMMPS +as single particles, though they can store internal state, such as a +list of sub-particles. Individual body partices are typically treated +as rigid bodies, and their motion integrated with a command like "fix +nve/body"_fix_nve_body.html. Interactions between pairs of body +particles are computed via a command like "pair_style +body"_pair_body.html. + :line 6.15 Output from LAMMPS (thermo, dumps, computes, fixes, variables) :link(howto_15),h4 @@ -1992,6 +2043,8 @@ variable v equal (v_v11+v_v22+v_v33)/3.0 variable ndens equal count(all)/vol print "average viscosity: $v \[Pa.s/] @ $T K, $\{ndens\} /A^3" :pre +:line + :line :line diff --git a/doc/Section_modify.html b/doc/Section_modify.html index cc82093e06..e3ff305147 100644 --- a/doc/Section_modify.html +++ b/doc/Section_modify.html @@ -507,10 +507,10 @@ Body particles can represent complex entities, such as surface meshes of discrete points, collections of sub-particles, deformable objects, etc.
-See Section_howto 22 of the manual for an -overview of using body particles and the body doc page for -details on the various body styles LAMMPS supports. New styles can be -created to add new kinds of body particles to LAMMPS. +
See Section_howto 14 of the manual for +an overview of using body particles and the body doc page +for details on the various body styles LAMMPS supports. New styles +can be created to add new kinds of body particles to LAMMPS.
Body_nparticle.cpp is an example of a body particle that is treated as a rigid body containing N sub-particles. diff --git a/doc/Section_modify.txt b/doc/Section_modify.txt index 309b964baa..590eac6d90 100644 --- a/doc/Section_modify.txt +++ b/doc/Section_modify.txt @@ -484,10 +484,10 @@ Body particles can represent complex entities, such as surface meshes of discrete points, collections of sub-particles, deformable objects, etc. -See "Section_howto 22"_Section_howto.html of the manual for an -overview of using body particles and the "body"_body.html doc page for -details on the various body styles LAMMPS supports. New styles can be -created to add new kinds of body particles to LAMMPS. +See "Section_howto 14"_Section_howto.html#howto_14 of the manual for +an overview of using body particles and the "body"_body.html doc page +for details on the various body styles LAMMPS supports. New styles +can be created to add new kinds of body particles to LAMMPS. Body_nparticle.cpp is an example of a body particle that is treated as a rigid body containing N sub-particles. diff --git a/doc/compute_body_local.html b/doc/compute_body_local.html index bf79d80d52..7b8b74dfea 100644 --- a/doc/compute_body_local.html +++ b/doc/compute_body_local.html @@ -39,8 +39,9 @@ compute 1 all body/local 3 6 sub-particles. The number of datums generated, aggregated across all processors, equals the number of body sub-particles plus the number of non-body particles in the system, modified by the group parameter as -explained below. See Section_howto 22 of the -manual for an overview of using body particles. +explained below. See Section_howto 14 +of the manual and the body doc page for more details on +using body particles.
The local data stored by this command is generated by looping over all the atoms. An atom will only be included if it is in the group. If diff --git a/doc/compute_body_local.txt b/doc/compute_body_local.txt index c7d6b9fe9f..63d1f943ae 100644 --- a/doc/compute_body_local.txt +++ b/doc/compute_body_local.txt @@ -31,8 +31,9 @@ Define a computation that calculates properties of individual body sub-particles. The number of datums generated, aggregated across all processors, equals the number of body sub-particles plus the number of non-body particles in the system, modified by the group parameter as -explained below. See "Section_howto 22"_Section_howto.html of the -manual for an overview of using body particles. +explained below. See "Section_howto 14"_Section_howto.html#howto_14 +of the manual and the "body"_body.html doc page for more details on +using body particles. The local data stored by this command is generated by looping over all the atoms. An atom will only be included if it is in the group. If diff --git a/doc/fix_nve_body.html b/doc/fix_nve_body.html index 1cfd4ef04b..fc7fe3dd6a 100644 --- a/doc/fix_nve_body.html +++ b/doc/fix_nve_body.html @@ -27,9 +27,9 @@
Perform constant NVE integration to update position, velocity, orientation, and angular velocity for body particles in the group each timestep. V is volume; E is energy. This creates a system trajectory -consistent with the microcanonical ensemble. See Section_howto -22 of the manual for an overview of using body -particles. +consistent with the microcanonical ensemble. See Section_howto +14 of the manual and the body +doc page for more details on using body particles.
This fix differs from the fix nve command, which assumes point particles and only updates their position and velocity. diff --git a/doc/fix_nve_body.txt b/doc/fix_nve_body.txt index c74e2b7ffe..77d0a5e909 100755 --- a/doc/fix_nve_body.txt +++ b/doc/fix_nve_body.txt @@ -25,8 +25,8 @@ Perform constant NVE integration to update position, velocity, orientation, and angular velocity for body particles in the group each timestep. V is volume; E is energy. This creates a system trajectory consistent with the microcanonical ensemble. See "Section_howto -22"_Section_howto.html of the manual for an overview of using body -particles. +14"_Section_howto.html#howto_14 of the manual and the "body"_body.html +doc page for more details on using body particles. This fix differs from the "fix nve"_fix_nve.html command, which assumes point particles and only updates their position and velocity. diff --git a/doc/pair_body.html b/doc/pair_body.html index 686b575187..b83a52bdca 100644 --- a/doc/pair_body.html +++ b/doc/pair_body.html @@ -27,8 +27,9 @@ pair_coeff 1 1 1.0 1.5 2.5
Style body is for use with body particles and calculates pairwise body/body interactions as well as interactions between body and -point-particles. See Section_howto 22 of the -manual for an overview of using body particles. +point-particles. See Section_howto 14 +of the manual and the body doc page for more details on +using body particles.
This pair style is designed for use with the "nparticle" body style, which is specified as an argument to the "atom-style body" command. diff --git a/doc/pair_body.txt b/doc/pair_body.txt index 4fbeef2c1b..12906306a8 100644 --- a/doc/pair_body.txt +++ b/doc/pair_body.txt @@ -24,8 +24,9 @@ pair_coeff 1 1 1.0 1.5 2.5 :pre Style {body} is for use with body particles and calculates pairwise body/body interactions as well as interactions between body and -point-particles. See "Section_howto 22"_Section_howto.html of the -manual for an overview of using body particles. +point-particles. See "Section_howto 14"_Section_howto.html#howto_14 +of the manual and the "body"_body.html doc page for more details on +using body particles. This pair style is designed for use with the "nparticle" body style, which is specified as an argument to the "atom-style body" command.