Fluid dynamics of boundary layer combustion