FIELD NOTES ACOUSTICS

Inside a Bottle: The Helmholtz Resonance

A cavity, a neck of air, and one surprisingly musical puff.

INTERACTIVE LAB
01 / APPARATUSWatch the air plug move
LIVE MODEL

The neck air moves in and out while the larger cavity compresses and expands.

04 / MODEL VALIDATIONIndependent numerical checks
LIVE · RECALCULATED WHEN CONTROLS CHANGE
Helmholtz identity—Formula vs lumped parameters
Lossless energy—RK4 conservation test
Forced response—RK4 vs impedance solution
Frequency sweep—Numerical peak vs theory

Each difference is relative to an independent reference calculation. The checks test the equations and integrator, not the accuracy of a real bottle's dimensions or losses.

05 / EXPLANATIONThe scienceEquations, assumptions and limits +

A spring made of air

The air in the neck behaves approximately like a moving mass. The larger cavity behaves like a compressible spring. When the neck air moves inward, it compresses the cavity; the pressure then pushes it back out.

Helmholtz frequencyfH = c / (2π) · √[ A / (V Leff) ]
Effective neck lengthLeff = L + 1.46r
Acoustic mass and complianceM = ρLeff/A   ·   C = V/(ρc²)
Driven lumped equationsdq/dt = UM dU/dt = pdrive − q/C − RU
Air propertiesc = √(γRairT)   ·   ρ = patm/(RairT)

What is simplified?

  • Textbook: ideal-gas air with γ = 1.4, Rair = 287.05 J/(kg·K), and atmospheric pressure 101,325 Pa.
  • Textbook approximation: the end correction adds 1.46 neck radii for an idealised bottle opening.
  • Illustrative: damping is represented by one effective resistance, selected through the damping ratio ζ.
  • Illustrative: the bottle is rigid, the air motion is small, and the cavity pressure is spatially uniform.
  • Scaled: the animated air-plug movement and pressure glow are exaggerated so the mechanism can be seen.

This is a lumped, low-frequency resonator model. It does not calculate turbulence, detailed neck boundary layers, bottle-wall vibration, nonlinear jet formation, or the full sound spectrum. A real bottle may differ because its shape and losses are not ideal.

Made with 🤖 ChatGPT