Diesel Engine: Solid Four-Stroke Animation and Compression Calculator

← Back to Engineering Library

A diesel engine compresses air before injecting fuel into the hot compressed charge. It uses compression ignition rather than a spark plug. The four-stroke illustration shows intake, compression, expansion and exhaust, while the calculator estimates only the air state at the end of a selected polytropic compression.

Follow the piston, crank and valves

The solid cutaway follows intake, compression, expansion after injection and exhaust over two crank turns. Inspect the piston pin, bored rod and seated valves. The calculation predicts only polytropic air compression; it does not calculate combustion or establish ignition.

0°

End-compression air temperature
--
End / start pressure ratio
--
Temperature minus reference
--
Minimum / maximum volume
--

Equation Used

For pVⁿ = constant and ideal-gas air, T₂,K = T₁,K rⁿ⁻¹; p₂/p₁ = rⁿ; V₂/V₁ = 1/r. Convert Celsius to kelvin before applying the temperature ratio. Reference difference = T₂,°C − Tref.
Only the compression process has calculated gas temperature and pressure. The four-stroke animation shows piston and crank motion with illustrative valve and injection timing. Combustion and power are not calculated.
  • Ideal-gas relation and constant polytropic exponent during compression.
  • Compression ratio is maximum cylinder volume divided by clearance volume.
  • The selected crank and rod retain a 70:250 length ratio and a two-crank-radius piston stroke. All shown parts share one physical scale; no nominal engine size is specified.
  • Valve timing follows nominal stroke boundaries without overlap; real timing can differ.
  • Temperature-reference difference is a comparison only, not a pass/fail ignition prediction.
  • No fuel energy, combustion duration, torque, power, emissions or thermal-efficiency model.

n is an assumed compression exponent. The comparison temperature is not a complete autoignition criterion. Fuel properties, injection, mixing, heat transfer and ignition delay are outside this model.

Watch the Diesel Motor in motion
Video: diesel motor engine simulation Solidworks on YouTube. A related multi-cylinder engine CAD animation; its hardware differs from the selected single-cylinder model above.

Four strokes and two crank revolutions

During intake the piston descends with the inlet valve open, drawing in air. During compression it rises with both valves closed. Fuel is injected near the end of compression; the resulting expansion drives the piston downward. On the final upward stroke the exhaust valve opens to release the spent gases.

The piston pin travels along the cylinder axis. A fixed-length connecting rod joins it to a pin on the rotating crank. This geometric closure is solved at every frame. The flywheel turns with the crank, and the cycle takes two revolutions rather than one.

The poppets move in bored guides and meet matching conical seats. Their motion follows simplified stroke boundaries without overlap. The stage readout identifies the sequence; fuel spray, valve actuation and combustion are not simulated. Real injection schedules and valve events depend on the engine. The selected hardware does not reproduce one named engine.

The cylinder and head have front walls removed, while the piston and rings have a front-right quarter cut away to expose the pin and bored connecting rod. Crank and piston, Cylinder, and Head and valves views retain the actual component geometry and omit the hardware stated below each view. The camshaft, springs, valve drive, cooling system and injector internals are omitted. A sixteen-second inspection loop represents 720° of crank rotation, not an operating speed.

A compression model within an engine illustration

The mechanism explains how reciprocating piston motion relates to the crankshaft and how the four strokes differ. The calculator lets you compare compression ratio, starting air temperature and an assumed compression exponent.

It does not size an engine, select fuel or predict a starting condition. A two-stroke diesel uses a different gas-exchange sequence; it should not be treated as the four-stroke layout shown here.

Polytropic compression of ideal-gas air

Define compression ratio r = V₁/V₂, where V₁ is maximum cylinder volume and V₂ is clearance volume. Assuming pVⁿ remains constant gives p₂/p₁ = rⁿ. Combining that with pV proportional to absolute temperature gives T₂/T₁ = rⁿ⁻¹.

Temperature must be in kelvin for this ratio. The calculator adds 273.15 to the starting Celsius value, applies the ratio, and subtracts 273.15 afterward. Minimum volume as a percentage of maximum is 100/r.

The exponent n is a model input. An isentropic ideal-gas example uses the ratio of specific heats; a chosen polytropic exponent can describe another assumed compression path. Neither approach by itself models a complete real diesel combustion cycle.

The reference comparison subtracts the selected temperature from the predicted compressed-air temperature. A positive difference is not proof of ignition: the model includes no injection quality, chemical delay or local mixture conditions.

Compare one input at a time

Using a compression ratio of 18, starting air at 20°C and n = 1.378, the model predicts about 601°C at the end of compression and a pressure ratio of 53.67. Minimum ideal cylinder volume is 5.56% of maximum. A 540°C reference gives a difference of about 61°C; that remains a comparison, not evidence of ignition.

Increasing compression ratio reduces clearance volume relative to maximum volume and raises both calculated temperature and pressure ratio. Increasing starting air temperature raises final temperature without changing the pressure ratio for fixed r and n.

Changing only the comparison temperature changes only the reported temperature difference. It does not change the piston motion, compression pressure or calculated air temperature. This separates a chosen reference from the state calculation.

Keep the model’s scope clear

Temperature and pressure rise during compression are useful parts of engine reasoning, but they are not brake thermal efficiency, power or emissions. Those require additional processes and measured or modeled losses.

Changing compression ratio changes the illustrated clearance space while crank and rod lengths remain fixed. The model assumes an ideal closed cylinder during compression. Piston-ring and valve leakage, internal dead volumes and heat-transfer calibration are not resolved; the selected hardware does not establish a permissible compression ratio or structural load.

Diesel motor questions

Why is there no spark plug?

The illustrated principle is compression ignition: fuel is introduced into hot compressed air.

Does the intake bring in fuel as well as air?

The sequence shown admits air, with fuel injection shown separately near the start of expansion.

Why does one complete cycle take 720°?

Four piston strokes require two crankshaft revolutions in this four-stroke arrangement.

Is the comparison temperature an ignition guarantee?

No. It is a reference value for comparing the compression result. Ignition also depends on processes that this calculator does not simulate.

Does the animation calculate temperature during combustion?

No. Live gas-state calculations are shown during compression only. Other strokes show mechanical position and stage names, not calculated combustion conditions.

References

U.S. Department of Energy, Internal Combustion Engine Basics: diesel air compression, fuel injection and four-stroke sequence. NASA Glenn, Isentropic Compression or Expansion: ideal-gas pressure, volume and absolute-temperature relations. The adjustable polytropic exponent is an explicitly stated extension of the compression assumption, not a measured engine calibration.

DOE Fundamentals Handbook, Mechanical Science, Volume 1, pages 7, 10, 22 and 24: piston, rings, pin, poppet seat and four-stroke construction. Those examples establish the operating principle; their product dimensions and event angles are not used here.

Building or designing a mechanism like this?

Explore the precision-engineered motion control hardware used by mechanical engineers, makers, and product designers.

← Back to Mechanisms Index
Share This Article
Tags: