Sound in Ducts with Flow – Lorentz There and Back

When the gas in a duct flows, sound no longer obeys the ordinary wave equation. The usual Galilean transformation only gets you halfway: in the rest frame of the gas, the duct moves. A Lorentz transformation with the speed of sound in place of the speed of light removes the flow from the equation and keeps the walls at rest. You can then solve the familiar problem without flow and transform back. This page shows how – with three interactive 3D simulations of the duct, the expansion chamber and the lined duct.

The convected wave equation

The gas flows with constant velocity $V$ along the duct, and $M=V/c$ is the Mach number. Linearising the Euler and continuity equations about the flow, time derivatives become the material derivative $D/Dt=\partial_t+V\partial_x$, and the sound pressure satisfies

$$\frac{1}{c^2}\Big(\frac{\partial}{\partial t}+V\frac{\partial}{\partial x}\Big)^{2}p-\nabla^2p=0 \quad\Longleftrightarrow\quad \frac{1}{c^2}\frac{\partial^2 p}{\partial t^2}+\frac{2M}{c}\frac{\partial^2 p}{\partial x\,\partial t}-(1-M^2)\frac{\partial^2 p}{\partial x^2}-\nabla_{\!\perp}^2p=0 .$$

The mixed term $\partial^2p/\partial x\,\partial t$ makes the solutions asymmetric: sound with the flow behaves differently from sound against it. Throughout, the time factor is $e^{i\omega t}$, $k=\omega/c$ and $\gamma=1/\sqrt{1-M^2}$.

Galilei – and why not

The obvious step is to move into the rest frame of the gas, $x''=x-Vt$, $t''=t$. The equation does become the d'Alembert equation. But:

3D simulation 1: The same duct seen from three frames

A loudspeaker in the middle of a hard-walled duct (width 0.30 m) sends sound both ways. The surface shows the sound pressure in the mid-plane of the duct, the violet dots are gas molecules, and the green marks are fixed to the wall every 25 cm. Drag the picture to rotate it.

Try: Set $M=0.5$ in the laboratory – the waves are long downstream (to the right) and short upstream. Switch to the Lorentz frame: the pattern becomes symmetric, the duct is stretched by $\gamma$, and the walls are still at rest. Then switch to the gas frame: now the gas is at rest, but the loudspeaker and the green wall marks slide backwards. Choose mode (1,0) and lower the frequency: at $M=0$ the mode dies out below 572 Hz, at $M=0.6$ only below 457 Hz.

The Lorentz transformation

With the speed of sound $c$ in place of the speed of light, define

$$x'=\gamma x,\qquad t'=\frac{t}{\gamma}+\frac{\gamma M}{c}\,x,\qquad y'=y,\quad z'=z .$$

The chain rule gives $\partial_t=\gamma^{-1}\partial_{t'}$ and $\partial_x=\gamma\,\partial_{x'}+(\gamma M/c)\,\partial_{t'}$, hence $\partial_t+V\partial_x=\gamma(\partial_{t'}+Mc\,\partial_{x'})$, because $1/\gamma+\gamma M^2=\gamma$. Inserting this, the mixed terms cancel, and since $\gamma^2(1-M^2)=1$ we are left with

$$\frac{1}{c^2}\frac{\partial^2p}{\partial t'^2}-\frac{\partial^2p}{\partial x'^2}-\nabla_{\!\perp}^2p=0 .$$

The ordinary wave equation. The transformation only stretches $x$ by $\gamma$ and does not mix time into the spatial coordinate. The walls $y,z=$ const. stay at rest, and a duct segment $0\le x\le L$ becomes $0\le x'\le\gamma L$. The inverse is $x=x'/\gamma$, $t=\gamma t'-\gamma Mx'/c$.

Frequency is conserved

Writing $p=P(x)\,e^{i\omega t}$, we have $\omega t=\omega't'-KMx'$ with $\omega'=\gamma\omega$ and $K=\gamma k$. If we put

$$P(x,y,z)=\Phi(x',y,z)\,e^{\,iKMx'}=\Phi(\gamma x,y,z)\,e^{\,i\gamma^2kMx},$$

then $p=\Phi\,e^{i\omega't'}$ – one frequency – and $\Phi$ satisfies the ordinary Helmholtz equation $\partial_{x'}^2\Phi+\nabla_\perp^2\Phi+K^2\Phi=0$. The factor $e^{iKMx'}$ has a real wavenumber: it is a pure convective phase shift and never causes attenuation. That is exactly what the simulation shows: the asymmetry you see in the laboratory is this phase factor alone.

LaboratoryLorentz frame
frequency $\omega$, $k$$\omega'=\gamma\omega$, $K=\gamma k$
length along the duct $L$$L'=\gamma L$
transverse dimensions, hard wallsunchanged
sound pressure $P$$\Phi=P\,e^{-iKMx'}$
wavenumber $k_x^\pm=\gamma(\pm\kappa-MK)$$\Phi\propto e^{\mp i\kappa x'}$

Hard ducts

In the Lorentz frame a mode is $\psi_{mn}(y,z)\,e^{\mp i\kappa x'}$ with $\kappa=\sqrt{K^2-k_{mn}^2}$, exactly as without flow. Back in the laboratory:

$$k_x^\pm=\gamma(\pm\kappa-MK)=\frac{-Mk\pm\sqrt{k^2-(1-M^2)k_{mn}^2}}{1-M^2}.$$

The transfer matrix – there and back

A duct segment of length $L$ is, in the Lorentz frame, an ordinary segment of length $\gamma L$ at wavenumber $\gamma k$. Back in the laboratory it becomes

$$\begin{pmatrix}p\\ q\end{pmatrix}_{\!0}=e^{-i\gamma^2kML}\begin{pmatrix}\cos\gamma^2kL & iY\sin\gamma^2kL\\ iY^{-1}\sin\gamma^2kL & \cos\gamma^2kL\end{pmatrix}\begin{pmatrix}p\\ q\end{pmatrix}_{\!L},\qquad Y=\frac{\rho_0c}{S}.$$

The no-flow matrix – just with $kL\to kL/(1-M^2)$ and a phase factor of modulus 1. Nothing new has to be solved.

The expansion chamber

Inlet and outlet ducts have area $S_1$ and Mach number $M_1$; the chamber has area $mS_1$, length $L$ and Mach number $M_k=M_1/m$. With continuity of pressure and volume velocity at the steps, the phase factor drops out, and the power factor $(1+M_1)^2$ is the same in inlet and outlet. What remains is the classical formula:

$$\mathrm{TL}=10\log_{10}\Big[1+\tfrac14\Big(m-\frac1m\Big)^{2}\sin^2\!\Big(\frac{kL}{1-M_k^2}\Big)\Big].$$

The maximum is unchanged, but the peaks move down to $f_n=(2n-1)\,c\,(1-M_k^2)/4L$.

3D simulation 2: The expansion chamber

The surface shows the pressure field through inlet, chamber and outlet (anechoic termination). In the chamber the reflections form a standing pattern; in the outlet only the transmitted wave travels. The field is computed with the transfer matrix above.

Try: The curve for $M_1=0$ (dashed) and the one with flow have the same height – only the peaks move down in frequency by the factor $1-M_k^2$. With $m=9$, $M_k=M_1/9$ is small; set $m=2$ and $M_1=0.9$ to see a clear shift. The particles show the mean flow: fast in the pipes, slow in the chamber.

The lined duct

For a locally reacting lining with impedance $\zeta=Z/\rho_0c$ and flow right up to the wall, continuity of particle displacement is required (Ingard 1959, Myers 1980). For a duct of height $2h$, lined on both sides, and a mode $\cos(qy)$, this gives

$$q\tan(qh)=\frac{ik}{\zeta}\Big(1-\frac{Mk_x}{k}\Big)^{2},\qquad (k-Mk_x)^2=k_x^2+q^2 .$$

In the Lorentz frame $q$ is unchanged, and $k-Mk_x^\pm=\gamma(K\mp M\kappa)$. The boundary condition therefore becomes exactly that of a lined duct without flow, at the frequency $\gamma\omega$ and with an effective impedance:

$$q\tan(qh)=\frac{iK}{\zeta'_\pm},\qquad \zeta'_\pm=\frac{\zeta}{\gamma^3\,(1\mp M\kappa/K)^2}.$$

Back in the laboratory the attenuation is $\alpha_\pm=\gamma\,|\mathrm{Im}\,\kappa|$ – the phase factor does not contribute. For a weak lining ($|1/\zeta|\ll kh$) this gives a closed result:

$$\alpha_\pm=\frac{\alpha_0}{(1\pm M)^2},\qquad \frac{\alpha_-}{\alpha_+}=\Big(\frac{1+M}{1-M}\Big)^{2}.$$

Compare with $\alpha_0/(1\pm M)$ on Relativistic acoustics, where the damping is a property of the gas. With a lining, the boundary condition gives an extra factor $1/(1\pm M)$: the displacement of the wall is seen Doppler-shifted by the flowing gas. At $M=0.3$ the ratio of upstream to downstream attenuation is $3.45$, against $1.86$ in the gas model.

3D simulation 3: Downstream and upstream side by side

Two identical ducts, 1 m long, 0.20 m high, lined with porous material (Delany–Bazley) on both sides. The sound comes from the left in both. In the blue duct the gas flows with the sound, in the red one against it. The surface shows the pressure of the least attenuated mode, and the graph shows the attenuation in dB/m.

Try: The upper duct shows sound travelling downstream (the gas moves the same way as the sound), the lower one upstream (the gas comes towards it). At 400 Hz and $M=0.3$ the sound dies out much faster upstream. Go above the peak (about 1000–1500 Hz): now the order is reversed. The graph is computed in the Lorentz frame with the effective impedance and transformed back – in your browser, while you drag the sliders.

The peak moves because, in the Lorentz frame, the lining is seen at the frequency $\gamma\omega$ and with an impedance scaled by $1/\gamma^3(1\mp M)^2$: upstream it becomes effectively “softer”, and the peak lies lower.

The recipe

  1. The problem in the laboratory: frequency $\omega$, lengths $L$, cross-section, Mach number $M$, lining impedance $\zeta$.
  2. There: $\omega'=\gamma\omega$, $L'=\gamma L$, transverse dimensions unchanged, $\zeta\to\zeta'_\pm$.
  3. Solve the usual problem without flow.
  4. Back: multiply by $e^{iKMx'}$: $k_x^\pm=\gamma(\pm\kappa-MK)$, $kL\to kL/(1-M^2)$, $\alpha=\gamma|\mathrm{Im}\,\kappa|$.
  5. Power: $W_\pm\propto(1\pm M)^2|p_\pm|^2$ if inlet and outlet have different Mach numbers.
QuantityWithout flowWith flow
Plane wave, wavenumber$\pm k$$k/(1+M)$, $-k/(1-M)$
Cut-on frequency$f_{mn}$$f_{mn}\sqrt{1-M^2}$
Duct segment$kL$$kL/(1-M^2)$ + phase factor
Expansion chamber$\sin^2kL$$\sin^2\big(kL/(1-M_k^2)\big)$
Attenuation, gas model$\alpha_0$$\alpha_0/(1\pm M)$
Attenuation, weak lining$\alpha_0$$\alpha_0/(1\pm M)^2$

Caveats and sources

U. Ingard, JASA 31 (1959) 1035 · M. K. Myers, J. Sound Vib. 71 (1980) 429 · C. L. Morfey, J. Sound Vib. 14 (1971) 159 · M. L. Munjal, Acoustics of Ducts and Mufflers, Wiley 2014 · Delany & Bazley, Applied Acoustics 3 (1970) 105 · M. H. Grant, Sound Propagation in Ducts with Absorbent Linings, DTU 1989.