How to define a particle releasing line in a 2D DEM simulation?

No, you can only inject particles along a boundary. The DEM domain also need to be the same as the fluid domain. What do yo need to happen when the particles leave your DEM domain?