Please take a look at the screwfeeder example. This one imposes a velocity to a group of particles to mimic a rotating screw. You can apply the same logic but setting the velocity to zero for your group of wall particles.