Nonisothermal flow of gases through packed beds