Fuel and air mixture gets into the engine from the inletvalve
Pressure of the gas remains constant
Compression:
The inlet valve is closed, Piston moves back up
Pressure increases
Just before the end of the stroke, a spark occurs
The pressure and temperature increases dramatically at constant volume
Expansion:
The air-fuel mixture expands does work on the piston
The work it does > Work required to compress the gas (net output of energy)
Just before the piston is at the bottom of the stroke, the exhaust valve opens and the pressure goes down
Exhaust:
Piston moves back up the cylinder and the burnt air-fuel mixture leaves through the exhaust valve
Diesel Engines:
Also 4 - strokes:
Only air goes into the cylinder during the induction stroke
During the compression stroke, the air is compressed at high enough temperature to ignite the dieselfuel. Before the end of the stroke, fuelinjectors inject diesel fuel