Multidimensional numerical simulation of reactive flow in internal combustion engines