|From:||Christophe Ortiz <christophe.ortiz@...4080...>|
|Date:||Tue, 29 Aug 2017 08:07:31 +0000|
There are several methods to achieve that:
- Set another type to the additional atoms (group group-id type X).
- Create the atoms at the beginning (group group-id id > 0).
- Use IDs of atoms (group group-id id > X).
From: Christophe Ortiz <christophe.ortiz@...4080...>
Sent: Monday, August 28, 2017 12:26:14 PM
Subject: [lammps-users] how to group atoms introduce randomly with create_atoms?Dear LAMMPS users,
Inside a Fe bcc crystal I have introduced randomly some additional atoms the following way:
create_atoms 1 random 5000 6538 crystalFe
Now I would like to set their velocity (all the same). This can be done with the command velocity group-id set v_x v_y v_z.
The question is how to group the atoms that I have introduced randomly. Any idea?
Many thanks in advance and best regards,Christophe