Adding force to a group of particles
Hello!
I am using LIGGGHTS 3.0.7.
I am trying to add a force to the group of particles of a particular type.
Here, what i do:
//create region in which the force should be applied
region field_region block -0.1 0.1 -0.1 +0.1 0 0.1 units box
//define group gg which consists only of particles of type 1
group gg type 1
//trying to apply the force which will try to decrease the speed of the particles
fix mag_field gg addforce 0.0 0.0 +0.3 region field_region
Forums:
- Read more about Adding force to a group of particles
- 6 comments
- Log in or register to post comments