# 10.2.2: Compressible Flow Stream Function

$$\newcommand{\vecs}[1]{\overset { \scriptstyle \rightharpoonup} {\mathbf{#1}} }$$ $$\newcommand{\vecd}[1]{\overset{-\!-\!\rightharpoonup}{\vphantom{a}\smash {#1}}}$$$$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\id}{\mathrm{id}}$$ $$\newcommand{\Span}{\mathrm{span}}$$ $$\newcommand{\kernel}{\mathrm{null}\,}$$ $$\newcommand{\range}{\mathrm{range}\,}$$ $$\newcommand{\RealPart}{\mathrm{Re}}$$ $$\newcommand{\ImaginaryPart}{\mathrm{Im}}$$ $$\newcommand{\Argument}{\mathrm{Arg}}$$ $$\newcommand{\norm}[1]{\| #1 \|}$$ $$\newcommand{\inner}[2]{\langle #1, #2 \rangle}$$ $$\newcommand{\Span}{\mathrm{span}}$$$$\newcommand{\AA}{\unicode[.8,0]{x212B}}$$

The stream function can be defined also for the compressible flow substances and steady state. The continuity equation is used as the base for the derivations. The continuity equation for compressible substance is

$\label{if:eq:continutyRho} \dfrac{\partial \rho\, \pmb{U}_x}{ dx} + \dfrac{\partial \rho\, \pmb{U}_y}{ dy} = 0$

To absorb the density, dimensionless density is inserted into the definition of the stream function as

$\label{if:eq:rhoStreamFunY} \dfrac{\partial \psi }{ dy} = \dfrac{\rho\, U_x}{\rho_0}$ and

$\label{if:eq:rhoStreamFunX} \dfrac{\partial \psi }{ dx} = -\dfrac{\rho\, U_y}{\rho_0}$ Where $$\rho_0$$ is the density at a location or a reference density. Note that the new stream function is not identical to the previous definition and they cannot be combined. The stream function, as it was shown earlier, describes (constant) stream lines. Using the same argument in which equation (50) and equation (??) were developed leads to equation (53) and there is no difference between compressible flow and incompressible flow case. Substituting equations (60) and (61) into equation (53) yields

$\label{if:eq:streamUcompressible} \left( \dfrac{\partial \psi}{\partial y} \,dy + \dfrac{\partial \psi}{\partial x} \,dx \right)\, \dfrac{\rho_0}{\rho} = \dfrac{\rho_0}{\rho} \, d\psi$ Equation suggests that the stream function should be redefined so that similar expressions to incompressible flow can be developed for the compressible flow as

$\label{if:eq:compressibleFlowStreamFun} d\psi = \dfrac{\rho_0}{\rho} \, \pmb{U} \boldsymbol{\cdot} \widehat{s} \, d\ell$ With the new definition, the flow crossing the line $$1$$ to $$2$$, utilizing the new definition of (63) is

$\label{if:eq:mDOTcompressibleFlow} \dot{m} = \int_1^2 \rho\, \pmb{U} \boldsymbol{\cdot} \widehat{s} \, d'\ell = \rho_0 \int_1^2 d\psi = \rho_0 \left( \psi_2 -\psi_1 \right)$
{"found_math": true, "script_math_tex": 0, "script_math_asciimath": 0, "math_annotations": 0, "math_alttext": 0, "mathml": 0, "mathjax_tag": 0, "mathjax_inline_tex": 1, "mathjax_display_tex": 1, "mathjax_asciimath": 0, "img_math": 0, "codecogs_latex": 0, "wp_latex": 0, "mimetex.cgi": 0, "/images/math/codecogs": 0, "mathtex.cgi": 0, "katex": 0, "math-container": 0, "wp-katex-eq": 0, "align": 0, "equation": 0, "x-ck12": 0, "texerror": 0}