Hi
As a part of my input script, I need to set a particular velocity component for a specified group of atoms, earlier I used these following chunk of commands,
set group ABC vx 19.5108
set group ABC vy 30.1547
set group ABC vz -20.8815
I’m getting error, ERROR: Illegal set command (…/set.cpp:466).
Lammps version: LAMMPS (8 Jun 2016-ICMS)
I found that this keywords, vx vy and vz is no-longer a valid entry in recent lammps.
Hence, if I do-
velocity set ABC 19.5108 30.1547 -20.8815
Will it be same ?
Regards,
R
Hi
As a part of my input script, I need to set a particular velocity component
for a specified group of atoms, earlier I used these following chunk of
commands,
set group ABC vx 19.5108
set group ABC vy 30.1547
set group ABC vz -20.8815
I'm getting error, ERROR: Illegal set command (../set.cpp:466).
looking through the commit history of the set command, this command
can have never worked with any of C++ versions of LAMMPS since the
beginning of the source code management for LAMMPS.
Lammps version: LAMMPS (8 Jun 2016-ICMS)
I found that this keywords, vx vy and vz is no-longer a valid entry in
recent lammps.
Hence, if I do-
velocity set ABC 19.5108 30.1547 -20.8815
Will it be same ?
it _cannot_ be the same, for the reason listed above.
but whether it has the desired effect can be easily verified through
defining and outputting an equal style variable for the center of mass
velocity components for the group. this kind of verification is much
more reliable than depending on the say-so of some person on the
mailing list.
axel.