thermal motion (gas in a box)