diff --git a/doc/fix_addforce.html b/doc/fix_addforce.html index d6a89219ef..2cdc82377a 100644 --- a/doc/fix_addforce.html +++ b/doc/fix_addforce.html @@ -68,6 +68,8 @@ field with optional time-dependence as well. specified geometric region in order to have force added to it.
+Adding a force to atoms implies a change in their potential energy as they move due to the applied force field. For dynamics via the "run" command, this energy can be optionally added to the system's potential @@ -98,8 +100,10 @@ atom as function of its position. Unlike variables used for fx,
Note that when the energy keyword is used during an energy minimization, you must insure that the formula defined for the atom-style variable is consistent with the force -variable formulas, i.e. that -Grad(E) = F. If you don't, the -minimization will not converge properly. +variable formulas, i.e. that -Grad(E) = F. For example, if the force +were a spring-like F = kx, then the energy formula should be E = +-0.5kx^2. If you don't do this correctly, the minimization will not +converge properly.
Restart, fix_modify, output, run start/stop, minimize info:
diff --git a/doc/fix_addforce.txt b/doc/fix_addforce.txt index a0b0f8f270..0ee9a42f0c 100644 --- a/doc/fix_addforce.txt +++ b/doc/fix_addforce.txt @@ -58,6 +58,8 @@ If the {region} keyword is used, the atom must also be in the specified geometric "region"_region.html in order to have force added to it. +:line + Adding a force to atoms implies a change in their potential energy as they move due to the applied force field. For dynamics via the "run" command, this energy can be optionally added to the system's potential diff --git a/doc/fix_setforce.html b/doc/fix_setforce.html index de1b74cd66..0ae813fa99 100644 --- a/doc/fix_setforce.html +++ b/doc/fix_setforce.html @@ -15,10 +15,22 @@fix ID group-ID setforce fx fy fz-
region value = region-ID + region-ID = ID of region atoms must be in to have added force ++
Examples:
@@ -54,6 +66,10 @@ variables but can also include per-atom values, such as atom coordinates. Thus it is easy to specify a spatially-dependent force field with optional time-dependence as well. +If the region keyword is used, the atom must also be in the +specified geometric region in order to have force added +to it. +
Restart, fix_modify, output, run start/stop, minimize info: