LAMMPS WWW Site - LAMMPS Documentation - LAMMPS Mailing List Archives
Re: [lammps-users] limit the atoms in one direction
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lammps-users] limit the atoms in one direction

From: Michał Kański <michal.kanski@...2460...>
Date: Mon, 4 Sep 2017 14:27:41 +0000

The easiest way to do it would be using another “velocity” command to zero the x and y components of velocity and after that using fix temp/rescale to get 300K.




From: Zheng, Xuechen
Sent: poniedziałek, 4 września 2017 15:36
Subject: [lammps-users] limit the atoms in one direction


Dear  all,


      I would like to set a system that the atoms' velocity is random and only  have z velocity. The atom is moved by a force I set which only change its z velocity. I tried to use "velocity             all create 300.0 4928459 rot yes dist gaussian" But it will give the atoms x y velocity. Could you help me?




Xuechen Zheng