hey bro, diesel engine runs on the Diesel cycle and not the Otto cycle that is normal for petrol engines.
Try burning a bucket full of diesel in an open container. It will not burn. the diesel feul needs to be heated and compressed before it will ignite. The diesel cycle consists of maintaining a constant pressure (instead of constant volume as in Otto cycle) during the compression stroke.
Regards,
MSKHAN