Maximum number of lost particles has been reached.

Hello, I’m getting this error, and I don’t quite understand what the problem is. Perhaps you need to register another surface or another boundary condition…Thank you in advance for your help

Try the code with boundary type reflective.