General thermodynamics. (2007)