5.1 Sound in Enclosures
5.1 Sound in Enclosures
1 Sound in Enclosures
ISVR6136 Fundamentals of Acoustics
Contents
1. 1D modes in a finite pipe
2. Rectangular ducts
3. Circular ducts
4. Rooms
5.1 1D modes in a finite pipe
3
Source-free problem
𝑥=0 𝑥=𝐿
• We solved the forced problem in the previous part by applying one
active boundary condition (at the piston) and one passive one (at
the end)
• If the piston is at rest there will be two passive boundary
conditions
• One solution that satisfies these conditions is 𝑃෨ 𝑥 = 0 i.e. silence
• Are there any others?
4
Eigenfrequencies
• General solutions for the pressure and velocity fields are, as usual,
𝑃෨ 𝑥 = 𝐴eሚ −j𝑘𝑥 + 𝐵e
෨ j𝑘𝑥 and 𝑈
෩ 𝑥 = 𝜌0𝑐 −1 𝐴e ሚ −j𝑘𝑥 − 𝐵e
෨ j𝑘𝑥
• Our boundary conditions are now 𝑈 ෩ 0 = 0 and 𝑈 ෩ 𝐿 = 0, both
passive
• These are satisfied when both 𝐴ሚ = 𝐵෨ and 𝐴e
ሚ −j𝑘𝐿 = 𝐵e
෨ j𝑘𝐿
• This will only be the case when e2j𝑘𝐿 = 1, i.e. (using Euler’s
formula) when cos 2𝑘𝐿 = 1 and sin 2𝑘𝐿 = 0
• The boundary conditions aren’t satisfied at arbitrary frequencies as
in the forced problem
• They are satisfied at discrete frequencies 𝑓𝑛 = 𝑛𝑐Τ2𝐿, called
eigenfrequencies or modal frequencies
• They are the same frequencies at which the forced tube resonates 5
Eigenfunctions
• The eigenfrequencies 𝑓𝑛 = 𝑛𝑐Τ2𝐿 correspond to wavenumbers 𝑘𝑛 =
𝑛𝜋Τ𝐿
• For each of these we can find a corresponding spatial factor 𝑃෨𝑛 𝑥
that satisfies the Helmholtz equation and the two passive
boundary conditions:
• These are the eigenfunctions of the air in the tube, also known as
its acoustic modes
• The amplitude is arbitrary so 𝑃෨𝑛 𝑥 is any multiple of cos 𝑘𝑛 𝑥
6
Modes in a -long pipe
• 𝑐 = 343 ms−1
• Hard wall at both ends
• Pressure gradient vanishes at
both ends
• Modal frequencies integer
multiples of 𝑐Τ2𝐿
Resonances in a -long pipe
• Hard wall at both ends
• Resonance frequencies
integer multiples of 𝑐Τ2𝐿
• Theoretically infinite
response at resonance
Modes in a -long pipe
• Pressure-release boundary at
𝑥=𝐿
• Pressure gradient vanishes at
one end, pressure at the
other
• Modal frequencies odd-
integer multiples of 𝑐Τ4𝐿
Resonances in a -long pipe
• Pressure-release boundary at
𝑥=𝐿
• Resonance frequencies odd-
integer multiples of 𝑐Τ4𝐿
Connection with matrices
• A square matrix 𝐌 has eigenvalues 𝜆𝑛 and eigenvectors 𝐱𝑛 that
satisfy
𝐌𝐱𝑛 = 𝜆𝑛 𝐱𝑛
𝛻 2𝑃෨ 𝐱 = 𝜆𝑃෨𝑛 𝐱
12
Uses of eigenfrequencies and
eigenfunctions
1. Eigenfrequencies predict the resonance frequencies of
forced problems and are often easier to find
2. Eigenfunctions predict the susceptibility of a system to
forcing at the corresponding eigenfrequency
• Example: if you pluck a fixed-fixed string a fifth of the way along, the
fifth, tenth, fifteenth etc modes (which all have nodes there) will not
be excited, and their eigenfrequencies will be absent from the sound
3. Just as any vector can be written as a linear combination of
the eigenvectors of the (non-singular) matrix we’re
interested in, an arbitrary 𝑃෨ 𝑥 can be written as a linear
combination of modes 𝑃෨𝑛 𝑥
13
Absorbing boundary conditions
• If the end of the tube is a hard wall then the pressure gradient
will vanish there (pressure but no velocity)
• If it is a pressure-release boundary the pressure will vanish
(velocity but no pressure)
• This allows us to work out the modes by fitting whole or half-
wavelengths into the tube
• The eigenvalues, and hence resonance frequencies, occur in a
harmonic, or odd-harmonic sequence
• What about absorbing boundary conditions?
Complex modes
• If the end of our tube is not hard, but has impedance 𝑧ǁ𝑤 , the
eigenvalues 𝑘𝑛 will be complex
• We saw, when studying evanescent waves, that complex
wavenumbers correspond to waves that are attenuated with
distance
• Modes with complex eigenvalues decay in time, rather than
attenuate with distance
• We therefore often refer to complex 𝜔𝑛 = 𝑐𝑘𝑛 or 𝑓𝑛 = 𝑐𝑘𝑛 Τ2𝜋 as
the eigenfrequencies
• The imaginary part of the eigenfrequency indicates how heavily
damped the corresponding mode is
• That imaginary part must be positive when using ej𝜔𝑡 time factor
Modes in a -long pipe
• End wall has 𝑧ǁ𝑤 = 2 + j 𝜌0 𝑐
• Pressure gradient at end
different for each mode
• Modal frequencies complex
• Real parts are not integer
multiples
Resonances in a -long pipe
• Impedance wall at end
• Resonance peaks have
reduced amplitude
• Peaks are broader – less
difference between exact
and near resonance
• Resonance frequencies
shifted from harmonic series
5.1.2 Rectangular ducts
Infinite rectangular ducts
• A hard-walled duct with dimensions
shown is infinitely long in the 𝑧-
direction
• What can we say about the sound
field in it?
• The boundary conditions lie on
Cartesian co-ordinate surfaces 𝑥 = 𝑦
0, 𝑥 = 𝐿𝑥 , 𝑦 = 0, 𝑦 = 𝐿𝑦 𝐿
𝑧
𝑦
• The wave equation is separable in 𝑥
Cartesian co-ordinates 𝐿𝑥
Separable solutions
• Seek solutions of the form 𝑃෨ 𝑥, 𝑦, 𝑧 = 𝑋෨ 𝑥 𝑌෨ 𝑦 𝑍෨ 𝑧 where
෩ 𝑥, 𝑦, 𝑧
• The associated velocity field components will be 𝐔
Velocity field
• Substituting the solutions for 𝑋෨ 𝑥 , 𝑌෨ 𝑦 and 𝑍෨ 𝑧 gives the velocity
෩ 𝑥, 𝑦, 𝑧
field 𝐔
𝑚,𝑛=1
𝑚𝜋𝑥 𝑛𝜋𝑦
Φ𝑚,𝑛 𝑥, 𝑦 = cos cos
𝐿𝑥 𝐿𝑦
Transverse mode shapes
• The transverse mode Φ𝑚,𝑛 (𝑥, 𝑦)
has:
• 𝑚 nodal lines perpendicular to 𝑥
• 𝑛 nodal lines perpendicular to 𝑦
• They will be evenly spaced
between the walls
• Nodal lines for Φ1,2 are shown
• Instantaneous pressure has
opposite signs either side of a
nodal line
• The plane-wave mode is Φ0,0 = 1
Transverse wavenumber
• The (𝑚, 𝑛)𝑚,𝑛
transverse mode propagates in the 𝑧 direction with wave
number 𝑘𝑧 , which must satisfy
2 2 2
𝑚 𝑛 𝑚,𝑛
𝑘𝑥 + 𝑘𝑦 + 𝑘𝑧 = 𝜔 2 Τ𝑐 2
𝜔 Τ𝑘 𝑐
= =
2 2
𝑚,𝑛
1− 𝑘𝑇 Τ𝑘 1 − 𝜔𝑚,𝑛 Τ𝜔
𝑅′′ 𝑅′ Φ′′ 𝑍 ′′
+ + 2 + = −𝑘 2
𝑅 𝑟𝑅 𝑟 Φ 𝑍
whose solution is
𝑍 𝑧 = 𝐴𝑧 e−j𝑘𝑧 𝑧 + 𝐵𝑧 ej𝑘𝑧 𝑧
Azimuthal factor
• We have
𝑅′′ 𝑅′ Φ′′ 𝑍 ′′
+ + 2 + = −𝑘 2
𝑅 𝑟𝑅 𝑟 Φ 𝑍
Φ 𝜙 = Φ 𝜙 + 2𝜋
• Its solution is
2 1
𝑅 𝑟 = 𝐴𝑟 H𝑚 𝑘𝑟 𝑟 + 𝐵𝑟 H𝑚 𝑘𝑟 𝑟
1 2
where H𝑚 and H𝑚 are are the Hankel functions of the first and
second kind, of order 𝑚
• The Hankel functions are defined in terms of Bessel and Neumann
functions J𝑚 and Y𝑚 respectively
2 1
H𝑚 𝑟 = J𝑚 𝑟 − jY𝑚 𝑟 , H𝑚 𝑟 = J𝑚 𝑟 + jY𝑚 𝑟
What do they look like?
• The Hankel functions are helices, like e−j𝑘𝑥
and ej𝑘𝑥 except that:
• Their diameter decreases as 𝑟 increases
• Their imaginary parts are singular at 𝑟 = 0
• Their shape depends on 𝑚, the azimuthal order
2 1
• J𝑚 𝑟 and Y𝑚 𝑟 are to H𝑚 𝑟 and H𝑚 𝑟
as cos 𝑘𝑥 and sin 𝑘𝑥 are to e−j𝑘𝑥 and ej𝑘𝑥
• We can plot them and animate them in a
Jupyter notebook as easily as we can the
complex exponential helix
Radial boundary conditions
• The pressure must be finite at 𝑟 = 0 so the contribution of the
Neumann function must be zero and 𝑅 𝑟 = 𝐴𝑟 J𝑚 𝑘𝑟 𝑟
• At 𝑟 = 𝑎 the radial pressure gradient 𝜕𝑃Τ𝜕𝑟 = d𝑅 Τd𝑟 = 0
• This will happen if 𝑘𝑟 𝑎 is a turning point of J𝑚
Turning points of Bessel functions
J0(r)
• Let the numbers j′𝑚𝑛 be the J1(r)
turning points of J𝑚 𝑟 so
that dJ𝑚 Τd𝑟 = 0 at 𝑟 = j′𝑚𝑛
• The first non-plane mode has
′
𝑚 = 1, 𝑛 = 1 and j1,1 = 1.841
• Its radial wavenumber must
′
be such that 𝑘𝑟 𝑎 = j1,1 , i.e.
𝑘𝑟 = 1.841Τ𝑎 r
Ψ𝑚,𝑛 𝑟, 𝜙 = cos 𝑚𝜙 J𝑚 𝑘𝑟 𝑟
Transverse mode shapes
• The transverse mode Ψ𝑚,𝑛 (𝑟, 𝜙)
has:
• 𝑚 radial nodal lines
• 𝑛 − 1 azimuthal nodal lines
• The azimuthal nodal will be
evenly spaced around the section
• Radial nodal lines are′ not evenly
spaced because the j𝑚𝑛 aren’t
• Nodal lines for Ψ3,2 are shown
• Instantaneous pressure has
opposite signs either side of a
nodal line
• The plane-wave mode is Ψ0,1 = 1
Axial propagation
• Axial wavenumber is 𝑘𝑧 = 𝑘 2 − 𝑘𝑟2 which will be imaginary
if 𝑘 < 𝑘𝑟
• We have 𝑘 = 𝜔 Τ𝑐 and the first non-plane mode has 𝑘𝑟 =
1.841Τ𝑎, so for this mode 𝑘 < 𝑘𝑟 when 𝑓 < 1.841 𝑐 Τ2𝜋𝑎 ≈
0.3𝑐Τ𝑎 as stated in Part 2
• Any non-plane modes will evanesce below this frequency,
leaving only plane waves
5.1.4 Rooms
Cuboidal room
• Rename 𝑥, 𝑦, 𝑧 as 𝑥1, 𝑥2, 𝑥3
• A cuboidal room with hard walls is a rectangular
duct with hard-wall BCs at 𝑥3 = 0 and 𝑥3 = 𝐿3
• We can write the sound field down directly as a sum of modes
𝑃෨ 𝑥1, 𝑥2, 𝑥3
where
0, 𝑥<0
H 𝑥 =ቊ
1, 𝑥≥0
Is the Heaviside function
• 𝑁 𝑘 is the (integer) number of modes with modal wavenumber less
than 𝑘 = 𝜔Τ𝑐
Modecount function
Modenumber space 𝑛3 𝑛2
𝑛1
• Let 𝑛1 , 𝑛2 , 𝑛3 be the axes of a 3D
Cartesian space
• The non-negative integer lattice points,
e.g. (3, 1, 7) all correspond to possible
room nodes
• All those with 𝑘𝑛 < 𝑘 will be inside the
ellipsoid octant defined by
Volumes
𝑥2 𝑦2 𝑧2
• An ellipsoid defined by + + = 1 has volume 4Τ3 𝜋𝑟1𝑟2𝑟3
𝑟12 𝑟22 𝑟32
• The equivalents to 𝑟1, 𝑟2, 𝑟3 in 𝑛1, 𝑛2, 𝑛3 space are 𝐿1𝑘Τ𝜋, 𝐿2𝑘Τ𝜋,
𝐿3𝑘Τ𝜋
• The number of lattice points contained should be similar to an
eighth of the ellipsoid’s volume so
1 4 𝐿1𝐿2𝐿3 3 𝑉 3
𝑁 𝑘 ≈ × 𝜋× 3 𝑘 = 2𝑘
8 3 𝜋 6𝜋
𝑉 3 𝐴 2 𝐿 1
ഥ 𝑘 =
𝑁 𝑘 + 𝑘 + 𝑘+
6𝜋 2 16𝜋 16𝜋 8
𝑉 3 𝑉 4𝜋𝑉 3
ഥ≈
𝑁 3
𝑘 = 2 3𝜔 = 3 𝑓
6𝜋 2 6𝜋 𝑐 3𝑐
𝐿𝑦 𝑑𝑥
𝑑𝑦
𝐿𝑥
Room impulse response
• In a cuboidal room the response to an impulse will be many delayed reduced
impulses
• The time between successive arrivals gets shorter as time increases
• Reactive walls, scattering from furniture etc will ‘blur’ those later impulses
• The reverberation dies away exponentially – linearly in dB/s
• 𝑇60 – the time for the level to fall by 60 dB is the usual measure of
reverberation time
𝐿𝑝
𝑡
Sabine’s law
• Wallace Sabine found that
6 ln 10 2.20
Δ𝑓 res = =
2𝜋𝑇60 𝑇60
giving