One-dimensional flow with friction: Difference between revisions
From Flowpedia
| Line 165: | Line 165: | ||
==== Energy equation ==== | ==== Energy equation ==== | ||
For an adiabatic one-dimensional flow we have that | |||
\ | <math display="block"> | ||
C_p T+\frac{u^2}{2}=const | |||
</math> | |||
If we differentiate (\ref{eqn:ttot:a}) we get | |||
\ | |||
\ | <math display="block"> | ||
C_p dT+\frac{1}{2}d(u^2)=0. | |||
</math> | |||
\ | We replace <math>C_p</math> with <math>\gamma R/(\gamma-1)</math> and multiply and divide the first term with <math>T</math> which gives us | ||
<math display="block"> | |||
\frac{\gamma RT}{(\gamma-1)}\frac{dT}{T}+\frac{1}{2}d(u^2)=0. | \frac{\gamma RT}{(\gamma-1)}\frac{dT}{T}+\frac{1}{2}d(u^2)=0. | ||
</math> | |||
Now, divide by <math>\gamma RT/(\gamma-1)</math> and multiply and divide the second term by <math>u^2</math> gives | |||
<math display="block"> | |||
\frac{dT}{T}+\frac{(\gamma-1)}{2}M^2\frac{d(u^2)}{u^2}=0. | \frac{dT}{T}+\frac{(\gamma-1)}{2}M^2\frac{d(u^2)}{u^2}=0. | ||
</math> | |||
We want to remove the <math>dT/T</math>-term in (\ref{eqn:ttot}). From the definition of Mach number we have that | |||
<math display="block"> | |||
a^2M^2=u^2 | a^2M^2=u^2 | ||
</math> | |||
which we can rewrite using the expression for speed of sound <math>(a^2=\gamma RT)</math> according to | |||
<math display="block"> | |||
\gamma RTM^2=u^2 | \gamma RTM^2=u^2 | ||
</math> | |||
Differentiating (\ref{eqn:Mach:b}) gives us | |||
<math display="block"> | |||
\gamma RM^2 dT+\gamma RT d(M^2)=d(u^2) | \gamma RM^2 dT+\gamma RT d(M^2)=d(u^2) | ||
</math> | |||
Now, if we divide (\ref{eqn:Mach:c}) by <math>\gamma RT M^2</math> and use <math>a^2=\gamma RT</math> and <math>a^2M^2=u^2</math> we get | |||
<math display="block"> | |||
\frac{dT}{T}+\frac{d(M^2)}{M^2}=\frac{d(u^2)}{u^2} | \frac{dT}{T}+\frac{d(M^2)}{M^2}=\frac{d(u^2)}{u^2} | ||
</math> | |||
Equation (\ref{eqn:Mach}) may now be used to replace the <math>dT/T</math>-term in equation (\ref{eqn:ttot}) | |||
<math display="block"> | |||
-\frac{d(M^2)}{M^2}+\frac{d(u^2)}{u^2}+\frac{(\gamma-1)}{2}M^2\frac{d(u^2)}{u^2}=0. | -\frac{d(M^2)}{M^2}+\frac{d(u^2)}{u^2}+\frac{(\gamma-1)}{2}M^2\frac{d(u^2)}{u^2}=0. | ||
</math> | |||
which can be rewritten according to | |||
<math display="block"> | |||
\frac{d(u^2)}{u^2}=\left[1+\frac{(\gamma-1)}{2}M^2\right]^{-1}\frac{d(M^2)}{M^2} | \frac{d(u^2)}{u^2}=\left[1+\frac{(\gamma-1)}{2}M^2\right]^{-1}\frac{d(M^2)}{M^2} | ||
</math> | |||
Using the chain rule for derivatives, the last term may be rewritten according to | |||
<math display="block"> | |||
\frac{d(M^2)}{M^2}=2M\frac{dM}{M^2}=2\frac{dM}{M} | |||
</math> | |||
which gives | |||
<math display="block"> | |||
\frac{d(u^2)}{u^2}=2\left[1+\frac{(\gamma-1)}{2}M^2\right]^{-1}\frac{dM}{M} | \frac{d(u^2)}{u^2}=2\left[1+\frac{(\gamma-1)}{2}M^2\right]^{-1}\frac{dM}{M} | ||
</math> | |||
===== The ideal gas law ===== | |||
\noindent For a perfect gas the ideal gas law reads\\ | \noindent For a perfect gas the ideal gas law reads\\ | ||
