control volume thermodynamics