Engineering Acoustics/Acoustic wave equation

From testwiki
Revision as of 04:15, 3 December 2020 by imported>Minorax (cleanup)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

To derive the wave equation, three relations are combined: the equation of state, ideal gas law; continuity equation, conservation of mass; and Newton's law, conservation of momentum. From the speed of sound, a relation between the acoustic pressure and the bulk modulus can be derived,

co2=Pρ=pϱ=pρρo.

Using the definition of the condensation, relative change of density in a fluid, denoted by s,

pρo=co2(ρρoρo)=co2s,

and introducing the bulk modulus which makes implicit use of the ideal gas law,

p=ρoco2s=γPos=Bos.

The general form of the continuity equation for a control volume from fluid dynamics is simplified to its one-dimensional form in Cartesian coordinates.

ρt+(ρU)=0

ρt+ρoUx=0

Ux=1ρoρt=1ρoco2Pt

Pressure on fluid element inside a tube

Using Newton's law on the fluid element, the net force acting on the fluid boundaries causes an acceleration on the fluid proportional to its mass,

A(P(x)P(x+dx))=(Adxρo)dUdt.

Noticing that

P(x)P(x+dx)dx=Px

as dx approaches zero, evaluating the derivative, and neglecting small terms,

Pxdx=(ρodx)dUdt=(ρodx)(Ut+Uxdxdt)

Ut=1ρoPx.

To obtain the wave equation, the partial derivative with respect to time is taken for the continuity equation and  the partial derivative with respect to space for the conservation of momentum equation. By equating the two results and eliminating the density term on both sides,

2Utx=1ρoco22Pt2=1ρo2Px2

the acoustic wave equation is recovered

2Px2=1co22Pt2

2Px21co22Pt2=0.

The equation above is the acoustic wave equation in its one-dimensional form. It can be generalized to 3-D Cartesian coordinates2Px2+2Py2+2Pz21co22Pt2=0.

Using the Laplace operator, it can be generalized to other coordinate systems

2P1co22Pt2=0

One-dimensional wave solution in Cartesian coordinates

The one-dimensional acoustic wave equation is described by the second order partial differential equation,

2Px2=1co22Pt2.

It can be solved using separation of variables. Suppose the pressure is the product of one function only dependent on space and another function only dependent on time,

P(x,t)=X(x)T(t).

Substituting back into the wave equation,

XT=1co2XT

XX=1co2TT=λ2.

This substitution leads to two homogeneous second order ordinary differential equations, one in time and one in space.

T+co2λ2T=0

X+λ2X=0

The time function is expected to be dependent on the angular frequency of the wave

T=Cejωt.

Substituting and solving for the constant which is define as the wave number, K,

ω2+co2λ2=0

K2=λ2=ω2co2.

The wave number relates the angular velocity of the wave to its propagation speed in the medium. It can be expressed in different forms,

K=ωco=2πfco=2πλ,

where f is the frequency in hertz and λ is the wavelength.The second differential equation can be solved using the wave number. The spacial function is given a general form,

X=Cejrx.

Substituting and solving for r,

r2+K2=0

r=±K.

The solution of the 1-D acoustic wave equation is obtained,

P(x,t)=(C1ejKx+C2ejKx)ejωt.

The real and imaginary parts of the solution are also solutions to the 1-D wave equation.

P(x,t)=C1cos(ωt+Kx)+C2cos(ωtKx)

P(x,t)=C1sin(ωt+Kx)+C2sin(ωtKx)

Using phasor notation, the solution is written in more compact form,

𝐏(𝐱,𝐭)=𝐏ej(ωt±Kx).

The actual solution is recovered by taking the real part of the above complex form. The value of the constants above is determined by applying initial and boundary conditions. In general, any function of the following form is a solution for periodic waves,

P(x,t)=f1(ωt+Kx)+f2(ωtKx),

and similarly, for progressive waves,

P(x,t)=f(ct+x)+g(ctx)

P(x,t)=f(ξ)+g(η),

where f and g are arbitrary functions, that represent two waves traveling in opposing directions. These are known as the d'Alembert solutions. The form of these two functions can be found by applying initial and boundary conditions.

Original document[1]

Template:BookCat