Flow, mixing, and heat transfer in furnaces