Thermodynamics and gas dynamics of internal-combustion engines.