An analysis of mixing and combustion in ducted flows