Hi Toxic, actually there are many softwares developed by engine research companies, such as Ricardo, AVL, CRF, ...
that can solve your problem, but since they all have commercial aspects, I have a good suggestion for you that is:
a book, named "An Introduction to Combustion" , by...