Finite non-linear waves: Difference between revisions

From Flowpedia
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
[[Category:Compressible flow]]
<!--
[[Category:Unsteady waves]]
-->[[Category:Compressible flow]]<!--
[[Category:Inviscid flow]]
-->[[Category:Unsteady waves]]<!--
<noinclude>
-->[[Category:Inviscid flow]]<!--
[[Category:Compressible flow:Topic]]
--><noinclude><!--
</noinclude>
-->[[Category:Compressible flow:Topic]]<!--
--></noinclude><!--


__TOC__
--><nomobile><!--
__TOC__<!--
--></nomobile><!--


--><noinclude><!--
-->{{#vardefine:secno|6}}<!--
-->{{#vardefine:eqno|104}}<!--
--></noinclude><!--
-->
Starting point: the governing flow equations on partial differential form
Starting point: the governing flow equations on partial differential form


Continuity equation:
Continuity equation:


<math display="block">
{{NumEqn|<math>
\frac{\partial \rho}{\partial t}+u\frac{\partial \rho}{\partial x}+\rho\frac{\partial u}{\partial x}=0
\frac{\partial \rho}{\partial t}+u\frac{\partial \rho}{\partial x}+\rho\frac{\partial u}{\partial x}=0
</math>
</math>}}


Momentum equation:
Momentum equation:


<math display="block">
{{NumEqn|<math>
\frac{\partial u}{\partial t}+u\frac{\partial u}{\partial x}+\frac{1}{\rho}\frac{\partial p}{\partial x}=0
\frac{\partial u}{\partial t}+u\frac{\partial u}{\partial x}+\frac{1}{\rho}\frac{\partial p}{\partial x}=0
</math>
</math>}}


Any thermodynamic property can be expressed as a function of two other thermodynamic properties. This means that we can get density as a function of pressure and entropy: <math>\rho=\rho(p,s)</math> and therefore
Any thermodynamic property can be expressed as a function of two other thermodynamic properties. This means that we can get density as a function of pressure and entropy: <math>\rho=\rho(p,s)</math> and therefore


<math display="block">
{{NumEqn|<math>
d\rho=\left(\frac{\partial \rho}{\partial p}\right)_s dp+\left(\frac{\partial \rho}{\partial s}\right)_p ds
d\rho=\left(\frac{\partial \rho}{\partial p}\right)_s dp+\left(\frac{\partial \rho}{\partial s}\right)_p ds
</math>
</math>}}


Assuming isentropic flow <math>ds=0</math> gives
Assuming isentropic flow <math>ds=0</math> gives


<math display="block">
{{NumEqn|<math>
d\rho=\left(\frac{\partial \rho}{\partial p}\right)_s dp
d\rho=\left(\frac{\partial \rho}{\partial p}\right)_s dp
</math>
</math>}}


<math display="block">
{{NumEqn|<math>
\begin{aligned}
\begin{aligned}
&\frac{\partial \rho}{\partial t}=\left(\frac{\partial \rho}{\partial p}\right)_s\frac{\partial p}{\partial t}=\frac{1}{a^2}\frac{\partial p}{\partial t}\\
&\frac{\partial \rho}{\partial t}=\left(\frac{\partial \rho}{\partial p}\right)_s\frac{\partial p}{\partial t}=\frac{1}{a^2}\frac{\partial p}{\partial t}\\
Line 40: Line 48:
&\frac{\partial \rho}{\partial x}=\left(\frac{\partial \rho}{\partial p}\right)_s\frac{\partial p}{\partial x}=\frac{1}{a^2}\frac{\partial p}{\partial x}
&\frac{\partial \rho}{\partial x}=\left(\frac{\partial \rho}{\partial p}\right)_s\frac{\partial p}{\partial x}=\frac{1}{a^2}\frac{\partial p}{\partial x}
\end{aligned}
\end{aligned}
</math>
</math>}}


Now, insert \ref{eq:rhotop} in \ref{eq:pde:cont} gives
Now, insert \ref{eq:rhotop} in \ref{eq:pde:cont} gives


<math display="block">
{{NumEqn|<math>
\frac{\partial p}{\partial t}+u\frac{\partial p}{\partial x}+\rho a^2\frac{\partial u}{\partial x}=0
\frac{\partial p}{\partial t}+u\frac{\partial p}{\partial x}+\rho a^2\frac{\partial u}{\partial x}=0
</math>
</math>}}


Dividing \ref{eq:pde:cont:b} by <math>\rho a</math> gives
Dividing \ref{eq:pde:cont:b} by <math>\rho a</math> gives


<math display="block">
{{NumEqn|<math>
\frac{1}{\rho a}\left(\frac{\partial p}{\partial t}+u\frac{\partial p}{\partial x}\right)+a\frac{\partial u}{\partial x}=0
\frac{1}{\rho a}\left(\frac{\partial p}{\partial t}+u\frac{\partial p}{\partial x}\right)+a\frac{\partial u}{\partial x}=0
</math>
</math>}}


A slightly modified form of the momentum equation is obtained by multiplying and dividing the last term by <math>a</math>
A slightly modified form of the momentum equation is obtained by multiplying and dividing the last term by <math>a</math>


<math display="block">
{{NumEqn|<math>
\frac{\partial u}{\partial t}+u\frac{\partial u}{\partial x}+\frac{1}{\rho a}\left(a\frac{\partial p}{\partial x}\right)=0
\frac{\partial u}{\partial t}+u\frac{\partial u}{\partial x}+\frac{1}{\rho a}\left(a\frac{\partial p}{\partial x}\right)=0
</math>
</math>}}


If the continuity equation on the form \ref{eq:pde:cont:c} is added to the momentum equation on the form \ref{eq:pde:mom:c}, we get
If the continuity equation on the form \ref{eq:pde:cont:c} is added to the momentum equation on the form \ref{eq:pde:mom:c}, we get


<math display="block">
{{NumEqn|<math>
\left[\frac{\partial u}{\partial t}+(u+a)\frac{\partial u}{\partial x}\right]+\frac{1}{\rho a}\left[\frac{\partial p}{\partial t}+(u+a)\frac{\partial p}{\partial x}\right]=0
\left[\frac{\partial u}{\partial t}+(u+a)\frac{\partial u}{\partial x}\right]+\frac{1}{\rho a}\left[\frac{\partial p}{\partial t}+(u+a)\frac{\partial p}{\partial x}\right]=0
</math>
</math>}}


If, instead, the continuity equation on the form \ref{eq:pde:cont:c} is subtracted from the momentum equation on the form \ref{eq:pde:mom:c}, we get
If, instead, the continuity equation on the form \ref{eq:pde:cont:c} is subtracted from the momentum equation on the form \ref{eq:pde:mom:c}, we get


<math display="block">
{{NumEqn|<math>
\left[\frac{\partial u}{\partial t}+(u-a)\frac{\partial u}{\partial x}\right]+\frac{1}{\rho a}\left[\frac{\partial p}{\partial t}+(u-a)\frac{\partial p}{\partial x}\right]=0
\left[\frac{\partial u}{\partial t}+(u-a)\frac{\partial u}{\partial x}\right]+\frac{1}{\rho a}\left[\frac{\partial p}{\partial t}+(u-a)\frac{\partial p}{\partial x}\right]=0
</math>
</math>}}


Since <math>u=u(x,t)</math>, we have from the definition of a differential
Since <math>u=u(x,t)</math>, we have from the definition of a differential


<math display="block">
{{NumEqn|<math>
du=\frac{\partial u}{\partial t}dt+\frac{\partial u}{\partial x}dx=\frac{\partial u}{\partial t}dt+\frac{\partial u}{\partial x}\frac{dx}{dt}dt
du=\frac{\partial u}{\partial t}dt+\frac{\partial u}{\partial x}dx=\frac{\partial u}{\partial t}dt+\frac{\partial u}{\partial x}\frac{dx}{dt}dt
</math>
</math>}}


Now, let <math>dx/dt=u+a</math>
Now, let <math>dx/dt=u+a</math>


<math display="block">
{{NumEqn|<math>
du=\frac{\partial u}{\partial t}dt+(u+a)\frac{\partial u}{\partial x}dt=\left[\frac{\partial u}{\partial t}+(u+a)\frac{\partial u}{\partial x}\right]dt
du=\frac{\partial u}{\partial t}dt+(u+a)\frac{\partial u}{\partial x}dt=\left[\frac{\partial u}{\partial t}+(u+a)\frac{\partial u}{\partial x}\right]dt
</math>
</math>}}


which is the change of <math>u</math> in the direction <math>dx/dt=u+a</math>
which is the change of <math>u</math> in the direction <math>dx/dt=u+a</math>
Line 88: Line 96:
In the same way
In the same way


<math display="block">
{{NumEqn|<math>
dp=\frac{\partial p}{\partial t}dt+\frac{\partial p}{\partial x}dx=\frac{\partial p}{\partial t}dt+\frac{\partial p}{\partial x}\frac{dx}{dt}dt
dp=\frac{\partial p}{\partial t}dt+\frac{\partial p}{\partial x}dx=\frac{\partial p}{\partial t}dt+\frac{\partial p}{\partial x}\frac{dx}{dt}dt
</math>
</math>}}


and thus, in the direction <math>dx/dt=u+a</math>
and thus, in the direction <math>dx/dt=u+a</math>


<math display="block">
{{NumEqn|<math>
dp=\frac{\partial p}{\partial t}dt+(u+a)\frac{\partial p}{\partial x}dt=\left[\frac{\partial p}{\partial t}+(u+a)\frac{\partial p}{\partial x}\right]dt
dp=\frac{\partial p}{\partial t}dt+(u+a)\frac{\partial p}{\partial x}dt=\left[\frac{\partial p}{\partial t}+(u+a)\frac{\partial p}{\partial x}\right]dt
</math>
</math>}}


If we go back and examine Eqn. \ref{eq:nonlin:a}, we see that Eqns. \ref{eq:du:b} and \ref{eq:dp:b} appear in the equation and thus it can now be rewritten as follows
If we go back and examine Eqn. \ref{eq:nonlin:a}, we see that Eqns. \ref{eq:du:b} and \ref{eq:dp:b} appear in the equation and thus it can now be rewritten as follows


<math display="block">
{{NumEqn|<math>
\frac{du}{dt}+\frac{1}{\rho a}\frac{dp}{dt}=0\Rightarrow du+\frac{dp}{\rho a}=0
\frac{du}{dt}+\frac{1}{\rho a}\frac{dp}{dt}=0\Rightarrow du+\frac{dp}{\rho a}=0
</math>
</math>}}


Eqn. \ref{eq:nonlin:a:ode} applies along a <math>C^+</math> characteristic, i.e., a line in the direction <math>dx/dt=u+a</math> in <math>xt</math>-space and is called the compatibility equation along the <math>C^+</math> characteristic. If we instead chose a <math>C^-</math> characteristic, i.e., a line in the direction <math>dx/dt=u-a</math> in <math>xt</math>-space, we get
Eqn. \ref{eq:nonlin:a:ode} applies along a <math>C^+</math> characteristic, i.e., a line in the direction <math>dx/dt=u+a</math> in <math>xt</math>-space and is called the compatibility equation along the <math>C^+</math> characteristic. If we instead chose a <math>C^-</math> characteristic, i.e., a line in the direction <math>dx/dt=u-a</math> in <math>xt</math>-space, we get


<math display="block">
{{NumEqn|<math>
du=\left[\frac{\partial u}{\partial t}+(u-a)\frac{\partial u}{\partial x}\right]dt
du=\left[\frac{\partial u}{\partial t}+(u-a)\frac{\partial u}{\partial x}\right]dt
</math>
</math>}}


<math display="block">
{{NumEqn|<math>
dp=\left[\frac{\partial p}{\partial t}+(u-a)\frac{\partial p}{\partial x}\right]dt
dp=\left[\frac{\partial p}{\partial t}+(u-a)\frac{\partial p}{\partial x}\right]dt
</math>
</math>}}


which can be identified as subsets of Eqn. \ref{eq:nonlin:b} and thus
which can be identified as subsets of Eqn. \ref{eq:nonlin:b} and thus


<math display="block">
{{NumEqn|<math>
\frac{du}{dt}-\frac{1}{\rho a}\frac{dp}{dt}=0
\frac{du}{dt}-\frac{1}{\rho a}\frac{dp}{dt}=0
</math>
</math>}}


In order to fulfil the relation above, either <math>du=dp=0</math> or
In order to fulfil the relation above, either <math>du=dp=0</math> or


<math display="block">
{{NumEqn|<math>
du-\frac{dp}{\rho a}=0
du-\frac{dp}{\rho a}=0
</math>
</math>}}


Eqn. \ref{eq:nonlin:b:ode} applies along a <math>C^-</math> characteristic, i.e., a line in the direction <math>dx/dt=u-a</math> in <math>xt</math>-space and is called the compatibility equation along the <math>C^-</math> characteristic.
Eqn. \ref{eq:nonlin:b:ode} applies along a <math>C^-</math> characteristic, i.e., a line in the direction <math>dx/dt=u-a</math> in <math>xt</math>-space and is called the compatibility equation along the <math>C^-</math> characteristic.
Line 144: Line 152:
If the compatibility equations are integrated along respective characteristic line, i.e., integrate \ref{eq:nonlin:a:ode} along the <math>C^+</math> characteristic and  \ref{eq:nonlin:b:ode} along the <math>C^-</math> characteristic, we get the Riemann invariants <math>J^+</math> and <math>J^-</math>.
If the compatibility equations are integrated along respective characteristic line, i.e., integrate \ref{eq:nonlin:a:ode} along the <math>C^+</math> characteristic and  \ref{eq:nonlin:b:ode} along the <math>C^-</math> characteristic, we get the Riemann invariants <math>J^+</math> and <math>J^-</math>.


<math display="block">
{{NumEqn|<math>
J^+=u+\int\frac{dp}{\rho a}=const
J^+=u+\int\frac{dp}{\rho a}=const
</math>
</math>}}


<math display="block">
{{NumEqn|<math>
J^-=u-\int\frac{dp}{\rho a}=const
J^-=u-\int\frac{dp}{\rho a}=const
</math>
</math>}}


The Riemann invariants are constants along the associated characteristic line.
The Riemann invariants are constants along the associated characteristic line.
Line 156: Line 164:
We have assumed isentropic flow and thus we may use the isentropic relations
We have assumed isentropic flow and thus we may use the isentropic relations


<math display="block">
{{NumEqn|<math>
p=C_1T^{\gamma/(\gamma-1)}=C_2a^{2\gamma/(\gamma-1)}
p=C_1T^{\gamma/(\gamma-1)}=C_2a^{2\gamma/(\gamma-1)}
</math>
</math>}}


where <math>C_1</math> and <math>C_2</math> are constants. Differentiating Eqn. \ref{eq:isentropic:a} gives
where <math>C_1</math> and <math>C_2</math> are constants. Differentiating Eqn. \ref{eq:isentropic:a} gives


<math display="block">
{{NumEqn|<math>
dp=C_2\left(\frac{2\gamma}{\gamma-1}\right)a^{[2\gamma/(\gamma-1)-1]}da
dp=C_2\left(\frac{2\gamma}{\gamma-1}\right)a^{[2\gamma/(\gamma-1)-1]}da
</math>
</math>}}


Now, if we further assume the gas to be calorically perfect
Now, if we further assume the gas to be calorically perfect


<math display="block">
{{NumEqn|<math>
a^2=\gamma RT=\frac{\gamma p}{\rho}\Rightarrow \rho=\frac{\gamma p}{a^2}
a^2=\gamma RT=\frac{\gamma p}{\rho}\Rightarrow \rho=\frac{\gamma p}{a^2}
</math>
</math>}}


Eqn. \ref{eq:isentropic:a} in \ref{eq:isentropic:c} gives
Eqn. \ref{eq:isentropic:a} in \ref{eq:isentropic:c} gives


<math display="block">
{{NumEqn|<math>
\rho=C_2\gamma a^{[2\gamma/(\gamma-1)-2]}
\rho=C_2\gamma a^{[2\gamma/(\gamma-1)-2]}
</math>
</math>}}


and thus
and thus


<math display="block">
{{NumEqn|<math>
J^+=u+\int\frac{C_2\left(\frac{2\gamma}{\gamma-1}\right)a^{[2\gamma/(\gamma-1)-1]}}{C_2\gamma a^{[2\gamma/(\gamma-1)-2]}a}da=u+\left(\frac{2}{\gamma-1}\right)\int da
J^+=u+\int\frac{C_2\left(\frac{2\gamma}{\gamma-1}\right)a^{[2\gamma/(\gamma-1)-1]}}{C_2\gamma a^{[2\gamma/(\gamma-1)-2]}a}da=u+\left(\frac{2}{\gamma-1}\right)\int da
</math>
</math>}}


<math display="block">
{{NumEqn|<math>
J^+=u+\frac{2a}{\gamma-1}
J^+=u+\frac{2a}{\gamma-1}
</math>
</math>}}


<math display="block">
{{NumEqn|<math>
J^-=u-\frac{2a}{\gamma-1}
J^-=u-\frac{2a}{\gamma-1}
</math>
</math>}}


Eqns. \ref{eq:riemann:a:b} and \ref{eq:riemann:b:b} are the Riemann invariants for a calorically perfect gas. The Riemann invariants are constants along <math>C^+</math> and <math>C^-</math> characteristics and if the situation shown in Fig. \ref{fig:characteristics} appears, that fact can be used to calculate the flow velocity and speed of sound in the location (<math>x_1</math>, <math>t_1</math>).
Eqns. \ref{eq:riemann:a:b} and \ref{eq:riemann:b:b} are the Riemann invariants for a calorically perfect gas. The Riemann invariants are constants along <math>C^+</math> and <math>C^-</math> characteristics and if the situation shown in Fig. \ref{fig:characteristics} appears, that fact can be used to calculate the flow velocity and speed of sound in the location (<math>x_1</math>, <math>t_1</math>).


<math display="block">
{{NumEqn|<math>
J^++J^-=u+\frac{2a}{\gamma-1}+u-\frac{2a}{\gamma-1}=2u\Rightarrow u=\frac{1}{2}(J^++J^-)
J^++J^-=u+\frac{2a}{\gamma-1}+u-\frac{2a}{\gamma-1}=2u\Rightarrow u=\frac{1}{2}(J^++J^-)
</math>
</math>}}


<math display="block">
{{NumEqn|<math>
J^+=u+\frac{2a}{\gamma-1}=\frac{1}{2}(J^++J^-)+\frac{2a}{\gamma-1}\Rightarrow a=\frac{\gamma-1}{4}(J^+-J^-)
J^+=u+\frac{2a}{\gamma-1}=\frac{1}{2}(J^++J^-)+\frac{2a}{\gamma-1}\Rightarrow a=\frac{\gamma-1}{4}(J^+-J^-)
</math>
</math>}}

Revision as of 13:22, 1 April 2026

Starting point: the governing flow equations on partial differential form

Continuity equation:

ρt+uρx+ρux=0(Eq. 6.105)

Momentum equation:

ut+uux+1ρpx=0(Eq. 6.106)

Any thermodynamic property can be expressed as a function of two other thermodynamic properties. This means that we can get density as a function of pressure and entropy: ρ=ρ(p,s) and therefore

dρ=(ρp)sdp+(ρs)pds(Eq. 6.107)

Assuming isentropic flow ds=0 gives

dρ=(ρp)sdp(Eq. 6.108)
ρt=(ρp)spt=1a2ptρx=(ρp)spx=1a2px(Eq. 6.109)

Now, insert \ref{eq:rhotop} in \ref{eq:pde:cont} gives

pt+upx+ρa2ux=0(Eq. 6.110)

Dividing \ref{eq:pde:cont:b} by ρa gives

1ρa(pt+upx)+aux=0(Eq. 6.111)

A slightly modified form of the momentum equation is obtained by multiplying and dividing the last term by a

ut+uux+1ρa(apx)=0(Eq. 6.112)

If the continuity equation on the form \ref{eq:pde:cont:c} is added to the momentum equation on the form \ref{eq:pde:mom:c}, we get

[ut+(u+a)ux]+1ρa[pt+(u+a)px]=0(Eq. 6.113)

If, instead, the continuity equation on the form \ref{eq:pde:cont:c} is subtracted from the momentum equation on the form \ref{eq:pde:mom:c}, we get

[ut+(ua)ux]+1ρa[pt+(ua)px]=0(Eq. 6.114)

Since u=u(x,t), we have from the definition of a differential

du=utdt+uxdx=utdt+uxdxdtdt(Eq. 6.115)

Now, let dx/dt=u+a

du=utdt+(u+a)uxdt=[ut+(u+a)ux]dt(Eq. 6.116)

which is the change of u in the direction dx/dt=u+a

In the same way

dp=ptdt+pxdx=ptdt+pxdxdtdt(Eq. 6.117)

and thus, in the direction dx/dt=u+a

dp=ptdt+(u+a)pxdt=[pt+(u+a)px]dt(Eq. 6.118)

If we go back and examine Eqn. \ref{eq:nonlin:a}, we see that Eqns. \ref{eq:du:b} and \ref{eq:dp:b} appear in the equation and thus it can now be rewritten as follows

dudt+1ρadpdt=0du+dpρa=0(Eq. 6.119)

Eqn. \ref{eq:nonlin:a:ode} applies along a C+ characteristic, i.e., a line in the direction dx/dt=u+a in xt-space and is called the compatibility equation along the C+ characteristic. If we instead chose a C characteristic, i.e., a line in the direction dx/dt=ua in xt-space, we get

du=[ut+(ua)ux]dt(Eq. 6.120)
dp=[pt+(ua)px]dt(Eq. 6.121)

which can be identified as subsets of Eqn. \ref{eq:nonlin:b} and thus

dudt1ρadpdt=0(Eq. 6.122)

In order to fulfil the relation above, either du=dp=0 or

dudpρa=0(Eq. 6.123)

Eqn. \ref{eq:nonlin:b:ode} applies along a C characteristic, i.e., a line in the direction dx/dt=ua in xt-space and is called the compatibility equation along the C characteristic.


So, what we have done now is that we have have found paths through a point (x1, t1) along which the governing partial differential equations Eqns. \ref{eq:nonlin:a} and \ref{eq:nonlin:b} reduces to the ordinary differential equations \ref{eq:nonlin:a:ode} and \ref{eq:nonlin:b:ode}. The C+ and C characteristic lines are physically the paths of right- and left-running sound waves in the xt-plane.

Riemann Invariants

If the compatibility equations are integrated along respective characteristic line, i.e., integrate \ref{eq:nonlin:a:ode} along the C+ characteristic and \ref{eq:nonlin:b:ode} along the C characteristic, we get the Riemann invariants J+ and J.

J+=u+dpρa=const(Eq. 6.124)
J=udpρa=const(Eq. 6.125)

The Riemann invariants are constants along the associated characteristic line.

We have assumed isentropic flow and thus we may use the isentropic relations

p=C1Tγ/(γ1)=C2a2γ/(γ1)(Eq. 6.126)

where C1 and C2 are constants. Differentiating Eqn. \ref{eq:isentropic:a} gives

dp=C2(2γγ1)a[2γ/(γ1)1]da(Eq. 6.127)

Now, if we further assume the gas to be calorically perfect

a2=γRT=γpρρ=γpa2(Eq. 6.128)

Eqn. \ref{eq:isentropic:a} in \ref{eq:isentropic:c} gives

ρ=C2γa[2γ/(γ1)2](Eq. 6.129)

and thus

J+=u+C2(2γγ1)a[2γ/(γ1)1]C2γa[2γ/(γ1)2]ada=u+(2γ1)da(Eq. 6.130)
J+=u+2aγ1(Eq. 6.131)
J=u2aγ1(Eq. 6.132)

Eqns. \ref{eq:riemann:a:b} and \ref{eq:riemann:b:b} are the Riemann invariants for a calorically perfect gas. The Riemann invariants are constants along C+ and C characteristics and if the situation shown in Fig. \ref{fig:characteristics} appears, that fact can be used to calculate the flow velocity and speed of sound in the location (x1, t1).

J++J=u+2aγ1+u2aγ1=2uu=12(J++J)(Eq. 6.133)
J+=u+2aγ1=12(J++J)+2aγ1a=γ14(J+J)(Eq. 6.134)