Page MenuHomec4science

fix_nve_noforce.html
No OneTemporary

File Metadata

Created
Mon, Nov 4, 05:36

fix_nve_noforce.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 nve/noforce command
</H3>
<P><B>Syntax:</B>
</P>
<PRE>fix ID group-ID nve
</PRE>
<UL><LI>ID, group-ID are documented in <A HREF = "fix.html">fix</A> command
<LI>nve/noforce = style name of this fix command
</UL>
<P><B>Examples:</B>
</P>
<PRE>fix 3 wall nve/noforce
</PRE>
<P><B>Description:</B>
</P>
<P>Perform updates of position, but not velocity for atoms in the group
each timestep. In other words, the force on the atoms is ignored and
their velocity is not updated. The atom's velocities are used to
update their positions.
</P>
<P>This can be useful for wall atoms, when you set their velocities, but
want the wall to move (or stay stationary) in a prescribed fashion.
</P>
<P>This can also be accomplished via the <A HREF = "fix_setforce.html">fix setforce</A>
command, but with fix nve/noforce, the forces on the wall atoms are
unchanged, and can thus be printed out by the <A HREF = "dump.html">dump</A> command
or queried with an equal-style <A HREF = "variable.html">variable</A> that uses the
fcm() group command to compute the total force on the group of atoms.
</P>
<P><B>Restrictions:</B> none
</P>
<P><B>Related commands:</B>
</P>
<P><A HREF = "fix_nvt.html">fix nvt</A>, <A HREF = "fix_npt.html">fix npt</A>
</P>
<P><B>Default:</B> none
</P>
</HTML>

Event Timeline