Helmholtz resonance
f₀ = (c / 2π) √(A / (V Lₑff))
A = πr² and Lₑff ≈ L + 1.7r. The neck air acts as an acoustic mass; the compressible cavity acts as a spring.
Driven motion
x″ + (ω₀/Q)x′ + ω₀²x = [pᵈ/(ρLₑff)] sin(ωᵈt)
The cavity pressure is p = ρc²Ax/V. The model integrates this equation with fixed-step fourth-order Runge–Kutta (RK4).
What is simplified
- Air is treated as an ideal, uniform gas with reference density 1.204 kg/m³.
- The neck is circular; the end correction 1.7r is an engineering approximation.
- Viscous, thermal, radiation and vortex losses are compressed into one illustrative quality factor Q.
- The bottle is a lumped resonator, not a full 3D acoustic field. The displayed neck motion is exaggerated ×300 for visibility.
- The drive pressure is an illustrative 0.12 Pa sinusoid. The what-if change affects only c; geometry, density and drive remain fixed.
Independent educational model; not an instrument manufacturer's specification.