Rubens' Tube (3D lab)

A loudspeaker drives a standing wave in a gas-filled tube; each flame is as tall as the local pressure swing, so you can see the nodes.

Switch to 2D

Presets

Playback

Drive

Gas and tube

Camera

Layers

Quality

Model check

The science

What you are looking at

A loudspeaker pushes sound into a closed tube filled with a flammable gas (propane in the classic demonstration). Gas leaks through 48 small holes along the top and burns. Where the sound wave makes the gas pressure swing strongly (a pressure antinode) more gas is pushed through the holes and the flames grow; at a pressure node the pressure hardly changes and the flames stay low. The flame pattern is therefore a picture of the standing wave.

Equations

  • Speed of sound in an ideal gas: v = sqrt(gamma R T / M) (propane gamma = 1.13, M = 44.1 g/mol gives about 250 m/s at 20 C).
  • Wave equation in the tube: p_tt = v^2 p_xx with p_x = 0 at both rigid ends, so the modes are p_n(x) = cos(n pi x / L).
  • Resonant frequencies: f_n = n v / (2 L); neighbouring nodes are lambda/2 = v / (2 f) apart.
  • Driven, damped mode n: a_n = w / sqrt((w_n^2 - w^2)^2 + (w w_n / Q)^2), phase atan2(w w_n / Q, w_n^2 - w^2). The field is the sum p(x,t) = sum a_n cos(n pi x / L) cos(w t - phi_n); the rms value (what the eye averages) is computed from the same sum, including the phase differences between modes.
  • By orthogonality of the cosines, the space-and-time mean square is sum a_n^2 / 4 (used for the frequency-response graph).

Honest simplifications

  • One-dimensional plane waves only; the tube is thin compared with the wavelength (true below about 3 kHz for a 5 cm tube).
  • Damping is one number Q for all modes. Real tubes lose more energy at high frequency (viscous and thermal boundary layers), and the burning gas changes the local temperature.
  • The loudspeaker is treated as a constant-velocity piston at x = 0. A real driver has its own resonance.
  • Flame height is a model: the baseline height is set by the gas feed and the extra height is proportional to the local rms (or instantaneous) pressure. Real flames also respond non-linearly and flicker with turbulence.
  • The slow-motion mode shows the pressure swing at a frequency you can see (the real swing is far too fast for the eye).
  • Flames are drawn only for fuel gases; the "air" option is a reference with the same acoustics but no flames.

Things to try

  • Set the drive to 52 Hz (propane, 20 C): one tall region at each end, a low flame in the middle.
  • Walk the frequency between two resonances: flames go flat. Narrow the peaks with a high Q.
  • Cool the gas to 0 C: every resonance moves down by a few percent because v falls as sqrt(T).
  • Switch to natural gas: v is much higher, so the same frequency now excites a lower mode number.
Loading model...
Loading Blender model...
Frequency response of the tube: rms pressure vs drive frequency (resonances f = n v / 2L)
Pressure envelope along the tube (rms) and flame heights
Amplitude of each tube mode at the current frequency
Made with 🟠 Blender · Three.js