The interactions between IC engine thermodynamics and knock