Numerical investigation of optimal flow conditions in an optically accessed compression ignition engine