A kinetic model for chemically reacting gases