Thermodynamics and Fluid Mechanics