Press and drag with a mouse or finger to use the smoke wand. With the keyboard, when the tunnel is focused: Space or Enter puffs smoke in front of the car, 1 to 4 change the view, P pauses, S cycles the spoiler, C clears the smoke, M toggles sound, and the up and down arrows change the air speed.
×
Notes from the tunnel
Car makers test in wind tunnels where a rolling road runs under the car at the same speed as the air, so the ground moves the way it does on the road. The striped belt here is doing the same job.
Aerodynamic drag grows with the square of speed: double the speed and the drag roughly quadruples. Move the air speed slider and watch the force bars.
A smooth, gently sloping roof keeps the air attached to the body for longer. Where it finally lets go, at the sharp edge of the tail, it leaves a turbulent wake. Switch to Swirl view to see it. Many modern road cars have a drag coefficient of roughly 0.25 to 0.35.
The Aero car follows the classic low-drag recipe: a rounded nose, a roof that peaks early, and a long tail that tapers at under about 15 degrees so the air stays attached. The tail is then cut off square, a “Kamm tail” named after Wunibald Kamm, which keeps most of a teardrop’s benefit in a shorter car. Covered rear wheels, a flat floor and camera pods instead of mirrors help too. Compare its tiny wake with the van’s.
Active spoilers on many performance cars rise automatically above a set speed and change angle with speed. Auto mode imitates that: it deploys at 67 mph and tilts steeper as you speed up.
Louvres on top of the front wings let high-pressure air escape from the wheel arches. In this two-dimensional slice they are cosmetic, because air leaving sideways through the vents can’t be shown in 2D.
Lowering a car shrinks the gap underneath. Try Slammed and watch the air under the car in Speed view.
The force gauges are relative values from the simulated pressure around the car, measured against the incoming air, on one scale for every vehicle. They grow with the square of the air speed.
Many road vehicles actually make a little lift at speed: the air speeding over the roof lowers the pressure above them. A rear spoiler trades some extra drag for less lift. Try the sports car’s spoiler and watch both gauges. Pressure view shows suction in blue.
Controls
Press and drag in the air to use the smoke wand. With the tunnel focused: Space puffs smoke, 1 –4 change the view, ↑ ↓ change the air speed, P pauses, S cycles the spoiler (down, up, auto), F shows the speed meter, C clears the smoke and M toggles sound.
How it works
Velocity is solved on a grid with Jos Stam’s “stable fluids” method (semi-Lagrangian advection, vorticity confinement and a pressure projection). Smoke rides on a grid twice as fine using MacCormack advection, and the car’s outline is read straight from its SVG drawing.
This is a two-dimensional sketch on a coarse grid, a real “stable fluids” solver but nothing like an engineering simulation. The six vehicles are original designs drawn for this page, and the tunnel is fictional.