Hi everyone,
In the simulation, I want to delet the particles which run out of the region. How can I do that? which command Should I use and where I should put the command after creating the particles in the in. file or the end of the file?
thanks in adance.
yyu
gukargl | Mon, 07/01/2013 - 15:28
define a region with the "side out" parameter
#================================================================================
#---- define region of interest to delete particles outside
region del_region cylinder z 0.0 0.0 ${del_region_rad} ${del_region_z_off} ${del_region_height} units box side out
#---- remove atoms in region outside
delete_atoms region del_region
#================================================================================
That should work also for any other region i.e. non cylindrical as well.
Regards
Günter
yyu | Mon, 07/01/2013 - 17:06
thanks alot Gunter for your
thanks alot Gunter for your help. it's working.