Fix move

Dear lammps Users,

I am trying impart a very small sudden displacement to a group of particles. I am trying to use fix move to give a sudden velocity v at t = t1 to t=t2 , so as get a displacement v*(t2-t1). However I am not able to figure out, how to mention t1 and t2 elegantly with fix move.
Or is there any other way of doing this ?

Please help.

Assembly of particles is as shown in the figure, pink particles (say group ID 2) would be displaced suddenly upwards leading to a dynamic wave being generated to grey particles.

Kind regards
Prashant Gupta

Post Grad

University of Edinburgh figure.jpg

Dear lammps Users,

I am trying impart a very small sudden displacement to a group of
particles. I am trying to use fix move to give a sudden velocity v at t =
t1 to t=t2 , so as get a displacement v*(t2-t1). However I am not able to
figure out, how to mention t1 and t2 elegantly with fix move.
Or is there any other way of doing this ?

​if you want to impart a specific velocity, you can use the velocity
command to add​(!) such a velocity to the selected particles.
if you want a sudden displacement for just one step, you can just define an
atom style variable to hold that coordinate plus the displacement and use
the set command.

axel.

figure.jpg

Axel,

I suppose there is also the displace_atoms command?

Oleg

Axel Kohlmeyer [email protected] 16 апреля 2014 г. 19:52:15 написал:

figure.jpg

  Axel,

I suppose there is also the displace_atoms command?

​yes. certainly. looks like LAMMPS is becoming the "perl of MD" in that
there are many ways to do the same thing.

figure.jpg