Dear Christoph,
Thanks for your suggestion, I have solved this problem, because this function(VerletParticleDynamicsVelocityWallReflection) only accepts one parameter, so defining two walls is not successful, so I changed the size of the cuboid.
Best regards,
Rookie