2007-03-23 01:05:12 +08:00
|
|
|
"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
|
|
|
|
|
|
|
|
fix nve/noforce command :h3
|
|
|
|
|
|
|
|
[Syntax:]
|
|
|
|
|
|
|
|
fix ID group-ID nve :pre
|
|
|
|
|
|
|
|
ID, group-ID are documented in "fix"_fix.html command
|
|
|
|
nve/noforce = style name of this fix command :ul
|
|
|
|
|
|
|
|
[Examples:]
|
|
|
|
|
|
|
|
fix 3 wall nve/noforce :pre
|
|
|
|
|
|
|
|
[Description:]
|
|
|
|
|
|
|
|
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
|
2007-03-23 01:14:05 +08:00
|
|
|
their velocity is not updated. The atom velocities are used to update
|
|
|
|
their positions.
|
2007-03-23 01:05:12 +08:00
|
|
|
|
2007-03-23 01:14:05 +08:00
|
|
|
This can be useful for wall atoms, when you set their velocities, and
|
2007-03-23 01:05:12 +08:00
|
|
|
want the wall to move (or stay stationary) in a prescribed fashion.
|
|
|
|
|
|
|
|
This can also be accomplished via the "fix setforce"_fix_setforce.html
|
|
|
|
command, but with fix nve/noforce, the forces on the wall atoms are
|
2007-03-23 01:14:05 +08:00
|
|
|
unchanged, and can thus be printed by the "dump"_dump.html command or
|
|
|
|
queried with an equal-style "variable"_variable.html that uses the
|
|
|
|
fcm() group function to compute the total force on the group of atoms.
|
2007-03-23 01:05:12 +08:00
|
|
|
|
|
|
|
[Restrictions:] none
|
|
|
|
|
|
|
|
[Related commands:]
|
|
|
|
|
2007-03-23 01:14:05 +08:00
|
|
|
"fix nve"_fix_nve.html
|
2007-03-23 01:05:12 +08:00
|
|
|
|
|
|
|
[Default:] none
|