At the surface and at the bottom, kinematic boundary conditions result from the requirement that the particles at the boundaries are moving along these boundaries: