Remove or delet particles outside one region

Submitted by yyu on Mon, 07/01/2013 - 12:44

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