1. Introduction
Sound propagation in uniformly lined straight ducts with uniform mean flow is well established by its analytically exact description in duct modes (Rienstra Reference Rienstra2003b, Reference Rienstra and Schram2016a; Rienstra & Hirschberg Reference Rienstra and Hirschberg2004). In cross-wise non-uniform flow there are still modes, although the (Pridmore-Brown) equation that describes them is in general not solvable in terms of standard functions (Pridmore-Brown Reference Pridmore-Brown1958; Vilenski & Rienstra Reference Vilenski and Rienstra2007a,Reference Vilenski and Rienstrab; Oppeneer et al. Reference Oppeneer, Rienstra, Lazeroms, Mattheij and Sijtsma2011; Brambley, Rienstra & Darau Reference Brambley, Rienstra and Darau2012; Oppeneer, Rienstra & Sijtsma Reference Oppeneer, Rienstra and Sijtsma2016; Rienstra Reference Rienstra2020). An exception is two-dimensional (2-D) linear shear flow and uniform sound speed, for which it can be solved exactly by Weber's parabolic cylinder functions (Goldstein & Rice Reference Goldstein and Rice1973).
These modal solutions provide insight, but the important effects due to the variation of the duct geometry and the corresponding mean flow cannot be described exactly. At least in slowly varying ducts a systematic approximate solution is possible. The inherently smooth variation of a flow duct provides a small parameter $\varepsilon$ (the slenderness of the duct wall variation) that allows a multiple-scale approach for mean flow and slowly varying modes of WKB (Wentzel–Kramers–Brillouin) type (Nayfeh & Telionis Reference Nayfeh and Telionis1973; Nayfeh, Kaiser & Telionis Reference Nayfeh, Kaiser and Telionis1975; Rienstra Reference Rienstra1999, Reference Rienstra2000, Reference Rienstra2003a; Cooper & Peake Reference Cooper and Peake2001; Peake & Cooper Reference Peake and Cooper2001; Ovenden Reference Ovenden2002, Reference Ovenden2005; Ovenden & Rienstra Reference Ovenden and Rienstra2004; Ovenden, Eversman & Rienstra Reference Ovenden, Eversman and Rienstra2004; Brambley & Peake Reference Brambley and Peake2008; Lloyd & Peake Reference Lloyd and Peake2013). In the WKB approach it is assumed that the wave retains its shape. If the medium changes slowly enough (meaning little change over one wavelength), the modal order, i.e. the index of the solution of the dispersion relation that defines the mode, remains the same, and the mode does not jump to another eigenstate. The wave function may gradually stretch or compress but the number of nodes and anti-nodes will not change. Under suitable conditions this may be represented mathematically by conserved quantities called adiabatic invariants (Garrett Reference Garrett1967). They may be related to conserved energy, but not necessarily. If an adiabatic invariant can be found (this may be far from trivial, or not possible at all) the WKB solution is almost as transparent as its straight duct counterpart.
The procedure for slowly varying modes in mean flow is, broadly speaking, as follows. First the mean flow is assumed (Bouthier Reference Bouthier1972) to be slowly varying everywhere (no entrance effects) so the mean flow equations are rewritten in the slow coordinate $X=\varepsilon x$, rescaled and simplified to leading order in $\varepsilon$, the small parameter that measures the slenderness of the duct variations. These equations are solved analytically if possible (apart from an algebraic equation, this is usually the case for potential flow: Rienstra Reference Rienstra1999; Peake & Cooper Reference Peake and Cooper2001; Rienstra Reference Rienstra2003a; Brambley & Peake Reference Brambley and Peake2008), or otherwise numerically (often for rotational flow; Cooper & Peake Reference Cooper and Peake2001; Lloyd & Peake Reference Lloyd and Peake2013). Then, for the acoustic equations a slowly varying mode is assumed of the form $N(X)\psi (X,y,z)\exp \left (-\textrm {i}\,\int ^x\kappa (\varepsilon z)\,\textrm {d} z\right )$, where $\psi$ is conveniently normalised. This particular form, also known as the WKB ansatz, is reasonable because it would emerge from a multiple-scale approach as well. The underlying suppression of secular terms is equivalent to assuming this form. Its existence requires in WKB theory an equation (also known as solvability condition) of the form
where $F$ and $G$ are functions of $X$ that depend on cross-sectional integrals of squares and products of $\psi , \psi _X, \psi _y$ and $\psi _z$. For the second-order linear equations of acoustic modes in ducts, this is always possible (cf. Bouthier Reference Bouthier1972). If a form can be found without the presence of $\psi _X$, the relation between $N$ and $\psi$ is really a local property and we will call this relation an ‘incomplete adiabatic invariant’, to acknowledge the fact that the solution for $N^2$ still includes an integration of $G/F$ to $X$. If also $G=0$, the solvability condition is completely integrable and we will call the resulting integral $N^2 F=$ constant a ‘complete adiabatic invariant’, or just ‘adiabatic invariant’. In that case the scaling of $\psi$ may be the invariant itself. Note that we do not follow Cooper & Peake (Reference Cooper and Peake2001) who called the full equation (1.1), without restrictions on the occurrence of $\psi_{X}$, an adiabatic invariant.
The first solutions of the present type were given by Nayfeh and co-workers (modes in annular flow ducts; Nayfeh et al. Reference Nayfeh, Kaiser and Telionis1975). For a number of reasons no adiabatic invariant was found. Firstly, integration of the solvability condition is unlikely because their mean flow was an ad hoc model that does not systematically approximate the equations. Secondly, to include a boundary layer they adopted a sheared flow for which as yet no adiabatic invariants are known.
This is different for potential mean flows. For the solutions with irrotational flow (Rienstra Reference Rienstra1999; Peake & Cooper Reference Peake and Cooper2001; Rienstra Reference Rienstra2003a; Brambley & Peake Reference Brambley and Peake2008), generally a complete adiabatic invariant exists.
Following these, great steps were taken by Peake et al. for (systematic) rotational mean flow in cylindrical ducts, with swirl (Cooper & Peake Reference Cooper and Peake2001) and without swirl (Lloyd & Peake Reference Lloyd and Peake2013). The complexity of the three-dimensional (3-D) geometry and mean flows, however, prevents the finding (and possibly existence) of both a complete or even incomplete adiabatic invariant and an analytically exact mean flow.
In the present paper we aim to extend Peake and colleagues’ theory for slowly varying modes in non-uniform shear flow. We will show that it is possible to make progress by considering a 2-D duct. For a general mean flow an incomplete adiabatic invariant can be found, while for the particular case of a linearly sheared profile the mean flow equations can be solved analytically exactly and for the acoustics a complete adiabatic invariant exists.
The present work builds on, but at the same time improves and replaces, a previous WKB analysis of the related problem with hard walls, published as a conference paper (Rienstra Reference Rienstra2016b). Apart from some minor notational differences (like $\varOmega$ for $\varOmega /C$, $\varPsi$ for $M$, $\kappa$ for $\mu$) and algebraic corrections, the main differences are the slowly varying lined walls, the found complete and incomplete adiabatic invariants and the use of a numerical solution of the central Pridmore-Brown equation, giving access to a very wide range of parameters.
2. The problem
2.1. The equations
In the acoustic, i.e. isentropic realm of a perfect gas that we will consider, we have for pressure $\tilde {p}$, velocity $\tilde {\boldsymbol {v}}$, density $\tilde {\rho }$, entropy $\tilde {s}$ and sound speed $\tilde {c}$:
where $\gamma$, $C_P$ and $C_V$ are gas constants and $\textrm {d}/\textrm {d} t = \partial _t + \boldsymbol {v}\boldsymbol {\cdot }\boldsymbol {\nabla }$ denotes the convective derivative; $C_V$ is the heat capacity at constant volume, $C_P$ is the heat capacity at constant pressure and $\gamma = C_P /C_V$. Under isentropic conditions, entropy $\tilde {s}$ is constant along a streamline. We will assume a bit more, namely, the constant $\tilde {s}=s_{ref}$ is the same for all streamlines, which is homentropic flow. In that case we can integrate the entropy equation to get
or
When we have a stationary mean flow with unsteady time-harmonic perturbations of frequency $\omega$, given, in the usual complex notation, by
and linearise for small amplitude, we obtain for the mean flow
The mean flow momentum equation can be integrated along streamlines to yield (Batchelor Reference Batchelor1967) a version of Bernoulli's equation that the total specific enthalpy
not necessarily the same constant for all streamlines. Another quantity, conserved along streamlines, that will be of interest is the specific vorticity $\varXi /D$, where $\varXi =V_x - U_y$. Take the curl of the mean flow momentum equation and substitute the mass conservation to get, by virtue of the pressure being barotropic (Batchelor Reference Batchelor1967),
Finally, the perturbations are described by the equations
Myer's time-averaged acoustic energy equations for inviscid and homentropic flow, with $\varXi$ and $\xi$ the mean and perturbed flow vorticity, are given by (Myers Reference Myers1991; Rienstra & Hirschberg Reference Rienstra and Hirschberg2004)
2.2. Non-dimensionalisation
Without further change of notation, we will assume throughout this paper that the problem is made dimensionless: lengths on a typical duct height $a_{ref}$, velocities on a typical sound speed $c_{ref}$, time on $a_{ref}/c_{ref}$, densities on a typical density $\rho _{ref}$ and pressures on $\gamma p_{ref}=\rho _{ref}\,c_{ref}^2$. The dimensionless equations are the same as above, except
while dimensionless frequency $\omega$ is also known as the Helmholtz number.
2.3. The geometry
The domain of interest, sketched in figure 1, is a 2-D duct $\mathcal {V}$ of slowly varying cross-section $g(X)\leq y \leq h(X)$, where $0<h-g= O(1)$; $X = \varepsilon x$ is a so-called slow variable while $\varepsilon$ is small. At the duct top surface $y=h$ and the bottom surface $y=g$, the gradients
are vectors normal to the surface, so the outward normals of the top and bottom surface are given by
Evidently, $\boldsymbol {e}_x$ and $\boldsymbol {e}_y$ denote the unit vectors in the $x$ and $y$ directions, the indices $h$ and $g$ refer to the top and bottom walls and the index $X$ to a partial derivative to $X$. Except with $\boldsymbol{e}_y$, the index $y$ will be used to denote a partial derivative to $y$.
2.4. Boundary conditions
If we denote the mean flow by $\boldsymbol {V} = U \boldsymbol {e}_x + V \boldsymbol {e}_y$, the impermeable duct wall yields the mean flow boundary condition $(\boldsymbol {V}\boldsymbol {\cdot }\boldsymbol {n})=0$, or
and
The mean flow mass flux, given by
is then independent of $x$, where $\mathcal {F}$ is (after non-dimensionalisation) a constant $O(1)$. The mean flow is assumed to be determined by the slowly varying geometry only.
The acoustic boundary condition of the slowly varying lined wall includes the refraction through the vanishing boundary layer, and is a form of the so-called Ingard–Myers condition (Ingard Reference Ingard1959; Myers Reference Myers1980), given at $y=h$ ($i=h$) and $y=g$ ($i=g$) by
The impedances may vary slowly with position, so we can write $Z_i = Z_i(X)$. It is important to note that $Z_i$ is only defined along a wall, and only derivatives along wall streamlines have meaning.
3. Mean flow
3.1. The general case
Since we assumed the mean flow to be determined by the slowly varying geometry only, we write all flow variables as a function of $(X,y;\varepsilon )$, and expand each in a regular Poincaré expansion in powers of $\varepsilon ^2$ (the small parameter that appears in the equations). From elementary order of magnitude considerations it follows that $U= O(1)$, $V= O(\varepsilon )$, $D= O(1)$, $C= O(1)$ and $P= O(1)$. So we have
where each term in the expansion is independent of $\varepsilon$. For notational convenience we leave out the $0$ subscript, because higher orders will not be considered.
We substitute these expansions in the conservation equations and collect the terms of like powers of $\varepsilon$. Then we get to leading order
with boundary conditions
From $P=P(X)$ is also $D=D(X)$ and $C=C(X)$, and so $P_X = C^2 D_X = D^{\gamma -1} D_X$. From the flux condition (2.14) we find
Furthermore, the mass and momentum equations become
of which the last equation can be written as
This again amounts to the approximated Bernoulli's equation (2.6), saying that
for example, the wall streamlines at $y=g$ and $y=h$.
By combining the mass equation and $y$-derivative of the momentum equation, we find the approximated version of (2.7)
which means that the specific mean shear
If we start at (say) $X=X_0$ with a linearly sheared flow, i.e. $U_y=\sigma _0$, then the conserved constant $\lambda =\sigma _0/D(X_0)$ is the same for all $X$ and $y$, and $U_y=\lambda D$ everywhere.
The equation of mass conservation leads to
which satisfies the boundary condition at $y=g$ (by construction), and at $y=h$ because
For a potential mean flow the above conditions would be sufficient to define the flow (Rienstra Reference Rienstra2003a). For example, $U$ can only be constant in $y$, and the other variables follow by an algebraic equation to be solved at each position $X$. For the vortical mean flow we have here, we need to define an initial velocity profile $(U,\varepsilon V)$ and integrate numerically (iteratively) along streamlines while using (3.3), (3.6) and (3.9). This is not straightforward. See for example Lloyd & Peake (Reference Lloyd and Peake2013) for the closely related cylindrical version of this problem where use is made of the streamfunction.
3.2. Linearly sheared flow
A numerical evaluation of the mean flow is, however, not always necessary. Hinted at by (3.8) and its following paragraph, it appears that for a velocity profile that is linear in $y$, we can find a solution that avoids a numerical integration and much like the potential flow solution requires no more than solving an algebraic equation. Even more, an accidental property will, rather unexpectedly, give our acoustic solution for this case the bonus of a complete adiabatic invariant.
The type of velocity profile we will consider is to leading order given by
where $\sigma$ and $\tau$ are to be determined from the conditions of fixed mass flux and varying wall normal. Then
and
Equation (3.13) is valid for any X and y. Its y-dependence is only through the polynomial $\tau(y - g) + {\frac{1}{2}} \sigma(y - g)^{2}$. This vanishes for $y = g$, but is otherwise non-zero (except for the uninteresting case $\tau = \sigma = 0$, and possibly a single point $y = g - 2\tau/\sigma)$. Therefore (3.13) requires
both of which can be integrated straightaway. So $\sigma /D=$ constant, which agrees with (3.8). Altogether, we find that for any physically allowable (e.g. no supersonic pockets) constants $\lambda$ and $E$, a mean flow exists given by
and Bernoulli's equation (3.6) along streamline $y=g$:
Eliminate $\tau$ from
to get
by which Bernoulli's equation (3.6) applies along streamline $y = h$, with constant $E+\lambda\mathcal{F}$. Altogether, we have for given geometry h and g and mean flow constants $\lambda$, E and $\mathcal{F}$, the following algebraic equation:
to be solved per $X$ for $D$. Then we have $\tau$, $\sigma$, $U$ and $C$ like above, from which $V$ follows
Note that there is apparently no slowly varying mean flow of linear shear with $\tau (X)\equiv 0$.
4. Acoustic field
4.1. Slowly varying modes
With the mean flow variables expanded to leading order, and after eliminating $\rho =p/C^2$, we have the acoustic equations
and the lined wall boundary condition at $y=h(X)$ and $y=g(X)$, respectively,
We seek slowly varying modes of the form
Introduce
and substitute (4.2) in (4.1) to obtain after some simplifications to $O(\varepsilon ^2)$
and boundary conditions
If we take the y-derivative of the third equation of (4.4a), multiply this by $\varOmega^2$, and add the result to the sum of the first two equations of (4.4a), we obtain
while
We expand to $O(\varepsilon ^2)$
There is no need for a $\kappa _1$-term, as $\exp \left (-\textrm {i}\varepsilon \int ^x\kappa _1\,\textrm {d} z\right )$ depends on $X$ only and can be absorbed by $\varPsi$, $A$ and $B$. For notational convenience we retain $\kappa$ in the formulas. To leading-order, equation (4.5) reduces to the Pridmore-Brown eigenvalue equation
with boundary conditions
where $\varPsi _0$ and $\kappa$ are to be determined. Through $g$, $h$, $U$, $C$, $Z_g$ and $Z_h$, $\varPsi _0$ and $\kappa$ will vary in $X$. Since the equation and boundary conditions are linear and homogeneous, $\varPsi _0$ is only determined up to a slowly varying amplitude. In the following we will derive an adiabatic invariant for $\varPsi _0$ to determine this slowly varying factor.
4.2. Final solution part 1: the general case
The next order of the expanded equation (4.5) is the inhomogeneous Pridmore-Brown equation in $\varPsi _1$:
with boundary conditions (obtained by using the directional derivatives of (4.8b) along wall streamlines)
We do not aim to solve this equation, as it would again involve undetermined homogeneous solutions. Instead, we derive a solvability condition on $\varPsi _0$, required for $\varPsi _1$ to exist. For this, we combine equations (4.8a) and (4.9a) into
then use the self-adjointness of the Pridmore-Brown equation to eliminate $\varPsi _1$ and apply the boundary conditions (4.9b) to obtain
By several partial integrations, using the defining differential equation and collecting together the $X$-derivative of $(\kappa +U\varOmega /C)\varPsi _0^2/D\varOmega ^2 C^2 - \omega U_y \varPsi _0 \varPsi _{0y}/D\varOmega ^4 C^4$, we obtain after a considerable amount of algebra the equation
With boundary conditions (4.8b) this becomes
This form is interesting because of its congruence with the acoustic power (see below) in the case of cut-on modes in linearly sheared flow and hard walls. An even more elegant form is found by applying the relation (A 1) of appendix A, with $\mathcal {G} = U/D\varOmega C^3$, and absorbing the boundary terms into the integral, to find
If we normalise $\varPsi _0$ to $\bar {\varPsi }_0$ in some smooth way and introduce the slowly varying amplitude $N$ such that $\varPsi _0(X,y) = N(X) \bar {\varPsi }_0(X,y)$, then the equation for $N$
with
leads to a form of an incomplete adiabatic invariant
This is similar to Peake & Cooper (Reference Peake and Cooper2001), Cooper & Peake (Reference Cooper and Peake2001), Lloyd & Peake (Reference Lloyd and Peake2013) and Rienstra (Reference Rienstra2016b), although now $F$ and $G$ are independent of $X$-derivatives of $\bar {\varPsi }_0$.
4.3. Final solution part 2: linearly sheared flow
If $(U_y/D)_X=0$, $G(X)=0$ and (4.16) reduces to a complete adiabatic invariant. Since $D$ is independent of $y$, this is the case for a linearly sheared mean flow with the property that $U_y/D =$ a constant. As we found above in (3.16), this is not a restriction. It occurs for any linearly sheared flow that is of slow variation! We have then for a constant $Q_0$:
We do not have to normalise $\varPsi _0$: the adiabatic invariant is the normalisation. The size of $Q_0$ is unimportant in a linear problem, although we can use it to scale the solution conveniently. There is, however, a small reservation. For hard walls we can assume $\varPsi$ to be real, in which case the sign of $Q_0$ relates to the propagation direction and cannot be chosen freely. This is due to the fact that for hard-wall real cut-on modes this invariant is, apart from a factor $\omega /2$, equal to the acoustic power passing a duct cross-section $X = \textrm {constant}$, at least, up to the WKB accuracy. We find for the integral of the time-averaged energy flux $\langle \boldsymbol {I} \rangle$ in the $x$-direction (2.9b) (with hard walls, $U_{yy}=0$, real $\varPsi$ and ignoring subscript $0$)
It is clear that, for $\omega >0$, $Q_0$ must be chosen positive when the mode is right running, and negative when it is left running. Another conclusion we may draw is that, as far as the left-hand side of (4.13) describes the acoustic energy of the mode, it couples with the mean flow, to WKB accuracy, only where the specific shear $U_y/D$ changes in $X$.
The simplicity of (4.13) is elegant not only physically but also mathematically, because no $X$-derivatives of $\varPsi$ and $\varPsi _y$ are required. The existence of an adiabatic invariant is a remarkable result, and perhaps not entirely to be expected (Cooper & Peake Reference Cooper and Peake2001; Peake & Cooper Reference Peake and Cooper2001; Lloyd & Peake Reference Lloyd and Peake2013; Rienstra Reference Rienstra2016b), because in general acoustic energy is not conserved in vortical flow. Although for slowly varying real, hard-wall modes in nearly parallel flow the time-averaged acoustic energy source $\langle \mathcal {D}\rangle$ (2.9c) is $O(\varepsilon )$:
the acoustic power is not necessarily conserved to $O(\varepsilon )$ because the volume integral of $\mathcal {D}$ over a distance $X = O(1)$ may be $O(\epsilon)\, O(1/\epsilon) = O(1)$, finite.
This completes the leading-order solution of the slowly varying modes. From $\varPsi _0$ the other amplitudes $A_0$ and $B_0$ follow with (4.6).
We end this analysis by checking the consistency of the resulting equation for $\varPsi$ with the corresponding results for the potential flow problem, as considered for three dimensions in Rienstra (Reference Rienstra1999, Reference Rienstra2003a). Without shear, i.e. $U_y=0$, the mean flow is irrotational and can be given by a potential; $U$ and so $\varOmega$ are then functions of $X$ only. If also the sound field is given by a potential $\varPhi$ (no vortical perturbations like vorticity shed from sharp edges), such that
and boundary conditions
we find upon substitution into (4.5)
After expanding $\varPhi =\varPhi _0 + \varepsilon \varPhi _1 + O(\varepsilon ^2)$, this leads (cf. Rienstra Reference Rienstra1999) by the usual manipulations to the adiabatic invariant
which agrees with (4.13a) and (4.13b), respectively, for $U_y = 0$ if we identify $\varPhi _0 = \textrm {i} \varPsi _0/D\varOmega C$.
5. Numerical evaluation of practical examples
5.1. Numerical solution of the Pridmore-Brown equation
The heart of a numerical evaluation of the above solution is the solution of the Pridmore-Brown eigenvalue equation in $y$ ((4.8a) and (4.8b)) along a grid of points in $x$. At each $x$, we consider eigenfunction $\varPsi (X,y)$ as a function of $y$ only, and keep $X$ fixed.
A number of methods have been reported in the literature, e.g. Chebyshev spectral collocation methods acting on the vector of linearised Euler equations (Cooper & Peake Reference Cooper and Peake2001; Lloyd & Peake Reference Lloyd and Peake2013), shooting methods (Vilenski & Rienstra Reference Vilenski and Rienstra2007b) and collocation methods (Oppeneer et al. Reference Oppeneer, Rienstra, Lazeroms, Mattheij and Sijtsma2011) acting directly on the Pridmore-Brown equation, each with their own benefits.
We will use here a method, published recently in Rienstra (Reference Rienstra2020), which is a classic Galerkin approach based on a symmetric bilinear form. We rewrite (4.8a) with boundary conditions $\textrm {i}\omega \zeta _h\varPsi '(h)=\varOmega ^2\varPsi '(h)$ and $\textrm {i}\omega \zeta _g \varPsi '(g) = - \varOmega ^2\varPsi (g)$ in weak form, which means that we search for eigenfunction $\varPsi$ and eigenvalue $\kappa$ such that for every test function $w$,
The prime indicates a partial derivative with respect to $y$. We assume that $\varOmega \neq 0$ for any $y$ along the integration interval, to avoid the relatively unimportant critical layer solutions, not studied here; see Brambley et al. (Reference Brambley, Rienstra and Darau2012). Here, $\varPsi$ will be suitably normalised and then multiplied by a slowly varying amplitude $N$, determined as indicated above by (4.16) or (4.17).
If we assume that $\varPsi$ can be written as a sum over a function basis $\{ \phi _n\}$ of Chebyshev polynomials,
and we use the same basis for the test functions, i.e. $w=\phi _{\nu }$, $\nu =0,1,\ldots$, then (5.1) becomes equivalent with the matrix equation
for the doubly infinite symmetric matrix $\boldsymbol{\mathsf{M}}$ with elements
The $\kappa$-derivative $\boldsymbol{\mathsf{M}}'$ can be expressed in a similar way. The integrals of $\boldsymbol{\mathsf{M}}$ and $\boldsymbol{\mathsf{M}}'$ are evaluated by the Gauss–Legendre method, which is efficient and needs relatively few points for a high accuracy.
The eigenvalue $\kappa$ is determined by a quadratically converging Newton-like iteration. Along the slowly varying duct, each previous $X$-position provides an excellent starting value, making, in general, no more than one iteration necessary. Since we deal with one mode, it is no loss of efficiency to find one eigenvalue at a time.
By using the same Gauss–Legendre points for integral (4.13) as for the elements of $\boldsymbol{\mathsf{M}}$ and $\boldsymbol{\mathsf{M}}'$, we can normalise the found solutions as required. Here, we will take the transmitted power at the left entrance of the duct equal to $\mathcal {P}=1$ for right-running modes and at the right entrance equal to $\mathcal {P}=-1$ for left-running modes. Note that the normalisation is on $\varPsi ^2$, rather than $\varPsi$, and we have to select a sign for $\varPsi$ at each $x$-position. The correct sign is of course such that $\varPsi$ is continuous in $x$.
The integrals over $\kappa$ and $G/F$ may be constructed by incremental trapezoidal integration.
5.2. A practical example
A typical and relevant example may be a linearly sheared mean flow. Although our results are valid for any mean flow profile (provided the slowly varying mean flow satisfies (3.8)), linear shear is most interesting in two respects. First, the adiabatic invariant is ‘complete’, i.e. really a constant of the problem, and second, the mean flow may be given explicitly, without an integration along the streamlines.
Although a linear profile of a flow with friction is eventually not realistic (a parabolic profile for laminar flow or $1/7$-power profiles for turbulent flow is more likely; Hinze Reference Hinze1972), it is not entirely unphysical. For example, a realisation of the model may be found in the annular duct behind the fan of a modern, high-bypass turbofan engine, which leads a small fraction of the flow into the core of the engine. Since this annular duct is narrow compared to the diameter, a 2-D approximation is valid for axially propagating modes. Moreover, its mean flow is the continuation of the strongly sheared boundary layer along the inner hub of the engine's inlet duct, thus making a linearly sheared profile relevant.
The configuration chosen is as follows. The right-running mean flow is described by the problem parameters
and the duct geometry (with inlet at $x=-3$) by
giving an estimated $\varepsilon \simeq 0.1$. See figure 2 for the $U$ and $V$ components. The decreasing duct height results in an increase of $U$ with a slight decrease of $U_y=\sigma$; $V$ is obviously at its maximum near $x=0$ at the upper wall.
For the acoustic part we consider a hard-wall and a soft-wall configuration, both with $\omega =15$. The hard-wall case has in total $10$ cut-on modes: $p_1, \ldots , p_5$ right running and $p_{-1}, \ldots , p_{-5}$ left running. The modes $p_6$ and $p_{-6}$ start cut-on at $x=-3$ but become cut-off near $x=-0.055$, where $F(X)=0$, and the approximate solution breaks down. Since beyond this point the modal energy vanishes, mode $p_6$ has to reflect here into a multiple of $p_{-6}$. For this reason the point is called a turning point. In its neighbourhood a local analysis is required (Rienstra Reference Rienstra2000; Cooper & Peake Reference Cooper and Peake2001). Since we have not included this here, we exclude the modes $p_6$ and $p_{-6}$. For the soft-wall case with $Z_h = Z_g = 1+2\textrm {i}$ we consider the right running $p_2$ and left running $p_{-2}$.
With matrix $\boldsymbol{\mathsf{M}}$ chopped off to just $21\times 21$ ($21$ Chebyshev terms) and for the integrals using only $40$ Gauss–Legendre points we obtain all eigenvalues correct in $11$ digits, as can be estimated by doubling these numbers a few times. We expect the same accuracy for the eigenfunctions. The number of $\kappa$-iterations, using the result of the previous $X$-position as starting value, is typically 1 (depending on the number of $X$-positions; here $2400$). Per $X$ and $400$ plot points in $y$, this takes altogether approximately 0.04 s (Matlab2018, Intel Core i5-4670 CPU @ 3.4 GHz).
We see that the effects of the sheared mean flow properties are various; see figures 3 and 4 with snapshots of the pressure distribution in the hard-wall duct. For the lowest modal orders, especially upstream running, the asymmetry of the flow is reflected in asymmetric mode shapes. The right-running modes exist only near the lower wall $y=0$ and are negligible at the other side. The upstream-running modes behave the same upside down. This behaviour is due to the sign of $\varOmega ^2-\kappa ^2$: for large enough $\omega$, the mode is oscillatory in $y$ when $\varOmega ^2-\kappa ^2$ is positive, and exponentially decaying otherwise (Rienstra Reference Rienstra2020). For the present, linear, mean flow profile the $y$-interval with oscillatory behaviour is either the full interval, or a part adjacent to the upper or lower duct wall. The contours corresponding to $\varOmega ^2-\kappa ^2=0$ are indicated in the figures by white lines.
In figures 5 and 6 the mode shapes in $y$ for various $x$ are given in detail. Indeed modes $p_1, p_{-1}, p_{-2}, p_{-3}$, are practically vanishing at the upper, respectively lower, wall. As a result, these modes will not change if the respective wall is lined. Any attenuation due to lining will have to come from the opposite wall. The contours of $\varOmega ^2-\kappa ^2=0$ in the mode shapes figures are given by yellow lines.
The modal wavenumbers $\kappa _n$ as a function of $x$ are given in figure 7. The analogue of the Doppler effect in uniform flow, of increasing wavenumbers for upstream-running modes and decreasing wavenumbers on downstream-running modes, is clearly present.
Near $x=0.4$, the value of $\kappa _5$ changes sign, the physical relevance of which is visible in figure 3(e), where the modal wavelength suddenly becomes large, and (this is clearer in an animation) the phase velocity changes from positive to negative. The mode seems to propagate to the right for $x<0.4$ and to the left for $x>0.4$. This, however, is an optical illusion. The energy of the mode remains right-running everywhere.
As the selected impedance does not have much attenuation, the corresponding figures for the lined wall case are comparable. The snap shots of the pressure distribution, figure 8, show the expected Doppler compression upstream and stretching downstream, and the decay to the right for the right-running mode $p_2$ and to the left for the left-running mode $p_{-2}$. We see here and in figure 9 again that the field of $p_{-2}$ practically vanishes near the lower wall.
The attenuation is better displayed by the transmitted power $10 \log _{10}|\mathcal {P}|$ in dB, shown in figure 10. For comparison, the contributions of the exponential, given by $20\log _{10}(\textrm {e}) \,\textrm {Im}\int ^x\kappa _{\pm 2}\,\textrm {d} x'$, has been added as dashed lines. The difference between the exponential and the power is very small (on the logarithmic scale), and the role of the modal shape function in the decay is small here. The lines are not straight because $\kappa _{\pm 2}$ vary with $x$; see figure 11.
6. Conclusions
The theory of slowly varying modes of WKB type in lined ducts with mean flow is fairly well established for irrotational (potential) mean flow, because the slowly varying mean flow equations can be solved practically analytically and the modal amplitude equations can be integrated completely to a conserved quantity called an adiabatic invariant. This is not generally the case for rotational mean flows. The equations for the mean flow as well as the modal amplitudes require numerical integration, which is a practical inconvenience, but more importantly, as far as we can tell, no simple adiabatic invariant is available.
Since conserved quantities (even approximate) have a physical meaning that may uncover deeper relations, it is of interest to study their occurrence and possible configurations allowing for their existence. This was a main goal of the present study.
In the present type of slowly varying modal wave forms, an adiabatic invariant takes the form of a vanishing (axial) $X$-derivative of a cross-sectional integral of a combination of squares and products of the modal shape function $\varPsi$ and its cross-wise derivatives $\varPsi _y, \varPsi _z$.
In standard WKB analysis it is always possible to construct a vanishing cross-sectional integral of products between $\varPsi , \varPsi _y, \varPsi _z$ and $\varPsi _X$. Only rarely can the integral be split up in a part with and a part without $\varPsi _X$, such that the $X$-derivatives are rearranged and taken outside the integral. If this is the case, the obtained expression may be called an ‘incomplete adiabatic invariant’ if it is still $X$ dependent, or a ‘complete adiabatic invariant’ (or just ‘adiabatic invariant’) if it is a constant.
Although it is still an open question under what conditions invariants exist in general (for example, in 3-D cylindrical configurations with shear flow), the present study showed that the simplifications due to a 2-D duct provide conditions that allow remarkable progress in several ways. For a general sheared mean flow, the mean flow and amplitude equations cannot be solved without a numerical integration but the amplitudes satisfy an equation that is almost an adiabatic invariant. If the specific mean vorticity remains constant in the axial direction (rather than constant along streamlines, as it does in general), the incomplete adiabatic invariant reduces to a complete one.
This is just what happens for the particular case of a linearly sheared mean flow. Furthermore, not only is the specific mean vorticity constant, but the whole flow field can be determined practically analytically (up to an algebraic equation).
In conclusion, there is a remarkable, but apparently uncorrelated coincidence for 2-D modes in slowly varying linearly sheared flow: (i) the governing Pridmore-Brown equation can be solved analytically; (ii) the mean flow equations can be solved (practically) analytically; (iii) the modal amplitude equation can be integrated completely.
Unfortunately, the analytical solution (Goldstein & Rice Reference Goldstein and Rice1973) of the Pridmore-Brown equation, being the difference of exponentially large functions, did not prove to be very useful here. The simplicity of the other two results, however, makes the linear shear flow problem about as simple as the potential flow problem.
Finally we note that, apart from the existence problem of adiabatic invariants in general, a problem that could be subject of future study is the cut-on–cut-off transition (or turning point problem) of the present slowly varying modes.
Declaration of interests
The author reports no conflict of interest.
Appendix A
A useful relation for sufficiently smooth function $\mathcal {G}$ and solutions $\varPsi , \kappa$ of the Pridmore-Brown eigenvalue equation (4.8a) is the integral
We prove it by noting that from the defining equation we have
and use partial integration. In particular, with $\mathcal {G}=U/(D\varOmega C^3)$, $\mathcal {G}_y=\omega U_y/(D\varOmega ^2 C^4)$