and imagine instead a grid of tiny cells, each holding a specified amount of mass, momentum, and energy.




Supply the right boundary conditions, external forces, equation of state, and viola: