forked from lijiext/lammps
51 lines
1.3 KiB
HTML
51 lines
1.3 KiB
HTML
<HTML>
|
|
<CENTER><A HREF = "http://lammps.sandia.gov">LAMMPS WWW Site</A> - <A HREF = "Manual.html">LAMMPS Documentation</A> - <A HREF = "Section_commands.html#comm">LAMMPS Commands</A>
|
|
</CENTER>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<HR>
|
|
|
|
<H3>fix drag command
|
|
</H3>
|
|
<P><B>Syntax:</B>
|
|
</P>
|
|
<PRE>fix ID group-ID drag x y z fmag delta
|
|
</PRE>
|
|
<UL><LI>ID, group-ID are documented in <A HREF = "fix.html">fix</A> command
|
|
<LI>drag = style name of this fix command
|
|
<LI>x,y,z = coord to drag atoms towards
|
|
<LI>fmag = magnitude of force to apply to each atom (force units)
|
|
<LI>delta = cutoff distance inside of which force is not applied (distance units)
|
|
</UL>
|
|
<P><B>Examples:</B>
|
|
</P>
|
|
<PRE>fix center small-molecule drag 0.0 10.0 0.0 5.0 2.0
|
|
</PRE>
|
|
<P><B>Description:</B>
|
|
</P>
|
|
<P>Apply a force to each atom in a group to drag it towards the point
|
|
(x,y,z). The magnitude of the force is specified by fmag. If an atom
|
|
is closer than a distance delta to the point, then the force is not
|
|
applied.
|
|
</P>
|
|
<P>Any of the x,y,z values can be specified as NULL which means do not
|
|
include that dimension in the distance calculation or force
|
|
application.
|
|
</P>
|
|
<P>This command can be used to steer one or more atoms to a new location
|
|
in the simulation.
|
|
</P>
|
|
<P><B>Restrictions:</B> none
|
|
</P>
|
|
<P><B>Related commands:</B>
|
|
</P>
|
|
<P><A HREF = "fix_spring.html">fix spring</A>
|
|
</P>
|
|
<P><B>Default:</B> none
|
|
</P>
|
|
</HTML>
|