it is ignited due to the high temperature caused by the pressure inside cylinder, when it is compressed.
A petrol engine is ignited by a spark plug, and a diesel engine is ignited by the heat produced from the air/ fuel mixture being compressed in the cylinder
diesel
It is ignited by compression. The air fuel mixture is compressed by the piston going up. Some diesels have glow plugs too that heat up the air fuel mixture so it is more easily ignited.
a petrol engine needs to mix its air and fuel before passing it into the combustion chamber before being ignited diesel has its air mixture heated as the piston compresses it in the combustion chamber then the atomized diesel fuel is injected into the hot air and is ignited.
Compression.
Diesel
That's your average Diesel, or compression ignition engine.
The operation of a nitro engine is similar to a normal gas/diesel engine, where a fuel mixture is ignited, and the energy drives cylinders back and forth in a cycle, all the while keeping an element hot so that the fuel stays ignited. The only difference is that a nitro mixture is more complicated, so a hole has to be bored into the engine so the mixture can keep flowing in a certain way.
A vehical that runs on petrol and diesel is impossible as they are both ignited in different ways. For exaple petrol is ignited by the spark plugs and a diesel is ignited by the shear force of the compression from the pistons. A petrol engine has a round 9:1 compression ratio and a diesel has about 20:1 but these veary from engine to engine I hope that hasn't lost you
petrol engine - Fuel and air mixtures together and compressed in engine. These mixtures ignited by Spark plug Diesel Engine - Air only compressed at high pressure and Temperature. Fuel injected at high temp so that the ignition takes place
Because diesel is ignited of heat and high high compresion not a spark on lower compresion petrol engine. If you use diesel in a petrol you will end up with your engine knocking and pre-detonation followed by your engine blowing up pretty bad.
Petrol & Gas engines are spark ignited engines where as diesel engines are compression ignited engines. Petrol engines works with explosion of fuel air mixture due to spark from spark plug inside the cylinder. Diesel engines works with combustion of fuel air mixture due to compression, compressed mixture attains a very high temperature which exceeds the flash point of diesel and starts burning inside the cylinder and the hot gases after burning of fuel misture exerts force on piston which makes the diesel engines work. Diesel engines are highly efficient than petrol engines.