[lammps-users] command run

Hello

velocity atom_pt set 0.0 -115 0.0 units box
run 40000

I am trying to give an INITIAL VELOCITY to a single atom in my simulation and see what happens.
My doubt is whether the the run command considers the velocity 115 in y-direction as initial velocity or
does it give 115 in each every time step of 40000 time steps.

Regards
Vikram

Hello

velocity atom_pt set 0.0 -115 0.0 units box
run 40000

I am trying to give an INITIAL VELOCITY to a single atom in my simulation
and see what happens.
My doubt is whether the the run command considers the velocity 115 in
y-direction as initial velocity or
does it give 115 in each every time step of 40000 time steps.

vikram,

this is the kind of question that any person with a sufficient
amount of common sense should not need to ask.

a) the documentation clearly says that the velocity command is a
   one time only operation (unlike fixes)

b) you can _easily_ double check the effect by writing output to a
  custom dump file where you output the velocities in addition to
  the coordinates.

cheers,
    axel.