Engine cylinder cut-away: piston, rod, valves and the combustion cycle

Blender-modelled single-cylinder four-stroke engine, cut along the cylinder axis, driven by the closed-cycle model of the 2D page.

Switch to 2D

Presets

Playback

Engine, fuel and speed

Camera

Layers

Quality

Model check

The science

What you are looking at

One cylinder of a four-stroke petrol engine, sawn in half along the cylinder axis. The crankshaft turns the connecting rod and piston (slider-crank); two cams, turning at half the crank speed, open the intake and exhaust valves against their springs. The animation runs 720 degrees of crank angle per cycle, slowed by the "Slow motion" slider. Pressure and temperature of the gas are the same numbers as on the 2D page; the colour of the gas in the cylinder and the flame front are drawn from them.

Geometry (slider-crank)

Crank radius a = S/2 = 43 mm, rod length l = λa. The piston-pin height above the crank axis is x = a cosθ + √(l² − a² sin²θ), the rod tilts by sinβ = (a/l) sinθ, and the cylinder volume is V = Vc + A(l + a − x) with Vc = Vd/(r − 1). Piston speed is v = ωa[sinθ + (a/l) sinθ cosθ / √(1 − (a/l)² sin²θ)].

Thermodynamics

For an ideal gas with constant γ = 1.35 the first law gives dp/dθ = −γ(p/V) dV/dθ + (γ−1)/V · dQ/dθ, integrated with RK4 (0.25°). Heat release is a Wiebe function xb = 1 − exp[−6.908 ((θ−θ0)/Δθ)3]. Work per cycle is ∮p dV, IMEP = W/Vd. With an instant burn at TDC the efficiency is the Otto value 1 − r1−γ. The gas torque plotted is p dV/dθ; its mean over 720° times 4π equals the work per cycle.

Valve train and cams

Cam timing is illustrative: the exhaust valve opens at 180° (bottom dead centre after the power stroke) and closes at 370°, the intake opens at 350° and closes at 540°, 190° of crank angle each, maximum lift 9 mm, lift h = hmax sin²(π(ψ−ψopen)/190°). The cam lobe was modelled in Blender from the same law, r(β) = rb + hmax cos²(2πβ/190°) in cam degrees, so the tappet follows the real lobe outline. Both valves are open together for 20° around gas-exchange TDC (valve overlap).

Spark timing

The last graph sweeps the start of combustion for your other settings and marks the timing that gives the most work. Start it too early and the pressure rise opposes the rising piston (negative work), too late and the expansion stroke is wasted. As a typical rule of thumb the best timing places half of the heat release about 8-10° after TDC; compare that with the 50 % point of your burn (start + 0.46 × duration) at the marked optimum (rule of thumb, not a measurement).

Honest simplifications

Only the closed part of the cycle (BDC to BDC) is solved: no heat transfer to the walls, friction or pumping loss, no change of gas composition, no knock; intake and exhaust strokes are drawn at 1 bar. The flame front is a schematic sphere growing from the plug so that the burned fraction follows the Wiebe curve; it is not a combustion simulation. Port flow dots are decoration. Crank, rod, piston and valve motion are exact. At rod ratios below about 3 a real engine needs cut-outs in the counterweights because the piston skirt reaches them; the model does not draw that conflict. The engine is a generic design, not any manufacturer's.

Checks run in the page

  • Four closed-form model checks (motoring compression p·Vγ constant, first-law closure, Otto limit, derivative of position = piston speed).
  • The 3D scene is read back: the world position of the crank pin from the rotated crankshaft mesh, the constant rod length and the piston height are compared with the formulas at 43 crank angles.
  • The gas volume is read from the rendered gas cylinder and ∮p dV is compared with the model's work.

Credits

Blender 5.2 model with Cycles-baked metal textures; Three.js r160.

Loading model...
Loading Blender model...
Indicated p-V diagram (area = work)
Pressure, piston speed and burned fraction vs crank angle
Gas torque and valve lift over the 720 degree cycle
Work per cycle vs start of combustion
Made with 🟠 Blender · Three.js