LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] About applying radial velocity in fix move.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] About applying radial velocity in fix move.


From: Steve Plimpton <sjplimp@...24...>
Date: Wed, 15 Nov 2017 14:38:29 -0700

Fix move lets you define 6 atom-style variables
which describe the x,y,z coords and x,y,z velocities
of each atom as a function of their initial position
and time.  So you should be able to derive
formulas that oscillate every atom in a radial direction
and encode it in a LAMMPS variable.

Steve

On Tue, Nov 7, 2017 at 1:27 PM, Chowdhury, Sanjib Chandra <sanjib@...2437...> wrote:

You know the angular and radial position (x,y values) of each atoms. To displace atoms radially, change the x & y values accordingly. This will be easier than changing Vx & Vy.

 

Sanjib 

 

From: Arun Bikram Thapa [mailto:aaron.thapa143@...12...4218...com]
Sent: Tuesday, November 07, 2017 12:57 PM
To: lammps <lammps-users@...396...sourceforge.net>
Subject: [lammps-users] About applying radial velocity in fix move.

 

Dear lammps user,

 

I ma trying to move group of atom towards center of tube for a certain time step and away from the tube after that for some time step. But I couldn't figure out the way of giving Vx Vy in fix command that will do this work. Can you please suggest me some way so that can a can apply contarction and expansion of a cylindrical tube about its vertical axis using fix move command.  

 

 

in the image below I am trying to move the yellow particle radially. 

Inline image 1


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
lammps-users mailing list
lammps-users@...6297....sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lammps-users