Adjoint based analysis for swirling and reacting flows