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.