Shear-flow Applet

This applet demonstrates shear flow of a gas at a molecular level. The particles enter from the left with a linear distribution of x velocity (show as the red graph on the right-hand side.) They leave with a smoother distribution (the blue graph) because of viscosity.