Invariant grids and lattice Boltzmann method for combustion