Governing equations on integral form: Difference between revisions

From Flowpedia
Created page with "Category:Compressible flow Category:Governing equations __TOC__ \section{Governing Equations on Integral Form} \begin{figure}[ht!] \begin{center} \includegraphics[]{figures/standalone-figures/Chapter02/pdf/control-volume.pdf} \caption{Generic control volume} \label{fig:generic:cv} \end{center} \end{figure} \noindent The governing equations stems from mass conservation, conservation of momentum and conservation of energy \subsection{The Continuity Equation}..."
 
No edit summary
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:Compressible flow]]
<!--
[[Category:Governing equations]]
-->[[Category:Compressible flow]]<!--
-->[[Category:Governing equations]]<!--
--><noinclude><!--
-->[[Category:Compressible flow:Topic]]<!--
--></noinclude><!--


__TOC__
--><nomobile><!--
 
-->__TOC__<!--
\section{Governing Equations on Integral Form}
--></nomobile><!--


--><noinclude><!--
-->{{#vardefine:secno|2}}<!--
-->{{#vardefine:eqno|0}}<!--
--></noinclude><!--
-->
<!--
\begin{figure}[ht!]
\begin{figure}[ht!]
\begin{center}
\begin{center}
Line 13: Line 23:
\end{center}
\end{center}
\end{figure}
\end{figure}
-->


\noindent The governing equations stems from mass conservation, conservation of momentum and conservation of energy
The governing equations stems from mass conservation, conservation of momentum and conservation of energy


\subsection{The Continuity Equation}
==== The Continuity Equation ====
 
\vspace*{1cm}
\begin{center}
{\emph{''Mass can be neither created nor destroyed, which implies that mass is conserved''}}\\
\end{center}
\vspace*{1cm}


\noindent The net massflow into the control volume $\Omega$ in Fig. \ref{fig:generic:cv} is obtained by integrating mass flux over the control volume surface $\partial \Omega$\\
{{QuoteBox|Mass can be neither created nor destroyed, which implies that mass is conserved}}


\[-\oiint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS\]\\
The net massflow into the control volume <math>\Omega</math> in Fig. \ref{fig:generic:cv} is obtained by integrating mass flux over the control volume surface <math>\partial \Omega</math>


\noindent Now, let's consider a small infinitesimal volume $d\mathscr{V}$ inside $\Omega$. The mass of $d\mathscr{V}$ is $\rho d\mathscr{V}$. Thus, the mass enclosed within $\Omega$ can be calculated as\\
{{NumEqn|<math>
-\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS
</math>}}


\[\iiint_{\Omega} \rho d\mathscr{V}\]\\
Now, let's consider a small infinitesimal volume <math>dV</math> inside <math>\Omega</math>. The mass of <math>dV</math> is <math>\rho dV</math>. Thus, the mass enclosed within <math>\Omega</math> can be calculated as


\noindent The rate of change of mass within $\Omega$ is obtained as\\
{{NumEqn|<math>
\iiint_{\Omega} \rho dV
</math>}}


\[\frac{d}{dt}\iiint_{\Omega} \rho d\mathscr{V}\]\\
The rate of change of mass within <math>\Omega</math> is obtained as


\noindent Mass is conserved, which means that the rate of change of mass within $\Omega$ must equal the net flux over the control volume surface.\\
{{NumEqn|<math>
\frac{d}{dt}\iiint_{\Omega} \rho dV
</math>}}


\[\frac{d}{dt}\iiint_{\Omega} \rho d\mathscr{V}=-\oiint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS\]\\
Mass is conserved, which means that the rate of change of mass within <math>\Omega</math> must equal the net flux over the control volume surface.


or\\
{{NumEqn|<math>
\frac{d}{dt}\iiint_{\Omega} \rho dV=-\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS
</math>}}


\begin{equation}
or
\frac{d}{dt}\iiint_{\Omega} \rho d\mathscr{V}+\oiint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0
\label{eq:governing:integral:cont}
\end{equation}\\


\noindent which is the integral form of the continuity equation.\\
{{NumEqn|<math>
\frac{d}{dt}\iiint_{\Omega} \rho dV+\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0
</math>}}


%\newpage
which is the integral form of the continuity equation.


\subsection{The Momentum Equation}
==== The Momentum Equation ====


\vspace*{1cm}
{{QuoteBox|The time rate of change of momentum of a body equals the net force exerted on it}}
\begin{center}
{\emph{''The time rate of change of momentum of a body equals the net force exerted on it''}}
\end{center}
\vspace*{1cm}


\[\frac{d}{dt}(m\mathbf{v})=\mathbf{F}\]\\
{{NumEqn|<math>
\frac{d}{dt}(m\mathbf{v})=\mathbf{F}
</math>}}


\noindent What type of forces do we have?\\
What type of forces do we have?


\begin{itemize}
\item Body forces acting on the fluid inside $\Omega$
\begin{itemize}
\item gravitation
\item electromagnetic forces
\item Coriolis forces
\end{itemize}
\item Surface forces: pressure forces and shear forces
\end{itemize}


\noindent Body forces inside $\Omega$:\\
* Body forces acting on the fluid inside <math>\Omega</math>
** gravitation
** electromagnetic forces
** Coriolis forces
* Surface forces: pressure forces and shear forces


\[\iiint_{\Omega}\rho \mathbf{f}d\mathscr{V}\]\\
Body forces inside <math>\Omega</math>:


\noindent Surface force on $\partial \Omega$:\\
{{NumEqn|<math>
\iiint_{\Omega}\rho \mathbf{f}dV
</math>}}


\[-\oiint_{\partial \Omega} p\mathbf{n}dS\]\\
Surface force on <math>\partial \Omega</math>:


\noindent Since we are considering inviscid flow, there are no shear forces and thus we have the net force as\\
{{NumEqn|<math>
-\iint_{\partial \Omega} p\mathbf{n}dS
</math>}}


\[\mathbf{F}=\iiint_{\Omega}\rho \mathbf{f}d\mathscr{V}-\oiint_{\partial \Omega} p\mathbf{n}dS\]\\
Since we are considering inviscid flow, there are no shear forces and thus we have the net force as


\noindent The fluid flowing through $\Omega$ will carry momentum and the net flow of momentum out from $\Omega$ is calculated as\\
{{NumEqn|<math>
\mathbf{F}=\iiint_{\Omega}\rho \mathbf{f}dV-\iint_{\partial \Omega} p\mathbf{n}dS
</math>}}


\[\oiint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n}dS)\mathbf{v}=\oiint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS\]\\
The fluid flowing through <math>\Omega</math> will carry momentum and the net flow of momentum out from <math>\Omega</math> is calculated as


\noindent Integrated momentum inside $\Omega$\\
{{NumEqn|<math>
\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n}dS)\mathbf{v}=\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS
</math>}}


\[\iiint_{\Omega} \rho \mathbf{v} d\mathscr{V}\]\\
Integrated momentum inside <math>\Omega</math>


\noindent Rate of change of momentum due to unsteady effects inside $\Omega$\\
{{NumEqn|<math>
\iiint_{\Omega} \rho \mathbf{v} dV
</math>}}


\[\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} d\mathscr{V}\]\\
Rate of change of momentum due to unsteady effects inside <math>\Omega</math>


\noindent Combining the rate of change of momentum, the net momentum flux and the net forces we get\\
{{NumEqn|<math>
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV
</math>}}


\[\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} d\mathscr{V}+\oiint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS=\iiint_{\Omega}\rho \mathbf{f}d\mathscr{V}-\oiint_{\partial \Omega} p\mathbf{n}dS\]\\
Combining the rate of change of momentum, the net momentum flux and the net forces we get


\noindent combining the surface integrals, we get\\
{{NumEqn|<math>
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS=\iiint_{\Omega}\rho \mathbf{f}dV-\iint_{\partial \Omega} p\mathbf{n}dS
</math>}}


\begin{equation}
combining the surface integrals, we get
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} d\mathscr{V}+\oiint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}d\mathscr{V}
\label{eq:governing:integral:mom}
\end{equation}\\


\noindent which is the momentum equation on integral form.\\
{{NumEqn|<math>
 
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}dV
\newpage
</math>}}
 
\subsection{The Energy Equation}
 
\vspace*{1cm}
\begin{center}
{\emph{''Energy can be neither created nor destroyed; it can only change in form''}}
\end{center}
\vspace*{1cm}


\[E_1+E_2=E_3\]\\
which is the momentum equation on integral form.


\begin{itemize}
==== The Energy Equation ====
\item[$E_1$:] Rate of heat added to the fluid in $\Omega$ from the surroundings
\begin{itemize}
\item heat transfer
\item radiation
\end{itemize}
\item[$E_2$:] Rate of work done on the fluid in $\Omega$
\item[$E_3$:] Rate of change of energy of the fluid as it flows through $\Omega$
\end{itemize}


\[E_1=\iiint_{\Omega} \dot{q}\rho d\mathscr{V}\]\\
{{QuoteBox|Energy can be neither created nor destroyed; it can only change in form}}


\noindent where $\dot{q}$ is the rate of heat added per unit mass\\
<math display="block">
E_1+E_2=E_3
</math>


\noindent The rate of work done on the fluid in $\Omega$ due to pressure forces is obtained from the pressure force term in the momentum equation.\\
;<math>E_1</math> Rate of heat added to the fluid in <math>\Omega</math> from the surroundings
: heat transfer
: radiation
;<math>E_2</math> Rate of work done on the fluid in <math>\Omega</math>
;<math>E_3</math> Rate of change of energy of the fluid as it flows through <math>\Omega</math>


\[E_{2_{pressure}}=-\oiint_{\partial \Omega}(p\mathbf{n}dS)\cdot\mathbf{v}=-\oiint_{\partial \Omega} p\mathbf{v}\cdot\mathbf{n}dS\]\\
{{NumEqn|<math>
E_1=\iiint_{\Omega} \dot{q}\rho dV
</math>}}


\noindent The rate of work done on the fluid in $\Omega$ due to body forces is\\
where <math>\dot{q}</math> is the rate of heat added per unit mass


\[E_{2_{body\ forces}}=\iiint_{\Omega}(\rho\mathbf{f}d\mathscr{V})\cdot\mathbf{v}=\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}d\mathscr{V}\]\\
The rate of work done on the fluid in <math>\Omega</math> due to pressure forces is obtained from the pressure force term in the momentum equation.


\[E_2=E_{2_{pressure}}+E_{2_{body\ forces}}=-\oiint_{\partial \Omega} p\mathbf{v}\cdot\mathbf{n}dS+\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}d\mathscr{V}\]\\
{{NumEqn|<math>
E_{2_{pressure}}=-\iint_{\partial \Omega}(p\mathbf{n}dS)\cdot\mathbf{v}=-\iint_{\partial \Omega} p\mathbf{v}\cdot\mathbf{n}dS
</math>}}


\noindent The energy of the fluid per unit mass is the sum of internal energy $e$ (molecular energy) and the kinetic energy $V^2/2$ and the net energy flux over the control volume surface is calculated by the following integral\\
The rate of work done on the fluid in $\Omega$ due to body forces is


\[\oiint_{\partial \Omega}(\rho \mathbf{v}\cdot\mathbf{n}dS)\left(e+\frac{V^2}{2}\right)\]\\
{{NumEqn|<math>
E_{2_{body\ forces}}=\iiint_{\Omega}(\rho\mathbf{f}dV)\cdot\mathbf{v}=\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV
</math>}}


\noindent Analogous to mass and momentum, the total amount of energy of the fluid in $\Omega$ is calculated as\\
{{NumEqn|<math>
E_2=E_{2_{pressure}}+E_{2_{body\ forces}}=-\iint_{\partial \Omega} p\mathbf{v}\cdot\mathbf{n}dS+\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV
</math>}}


\[\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)d\mathscr{V}\]\\
The energy of the fluid per unit mass is the sum of internal energy <math>e</math> (molecular energy) and the kinetic energy <math>V^2/2</math> and the net energy flux over the control volume surface is calculated by the following integral


\noindent The time rate of change of the energy of the fluid in $\Omega$ is obtained as\\
{{NumEqn|<math>
\iint_{\partial \Omega}(\rho \mathbf{v}\cdot\mathbf{n}dS)\left(e+\frac{V^2}{2}\right)
</math>}}


\[\frac{d}{dt}\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)d\mathscr{V}\]\\
Analogous to mass and momentum, the total amount of energy of the fluid in <math>\Omega</math> is calculated as


\noindent Now, $E_3$ is obtained as the sum of the time rate of change of energy of the fluid in $\Omega$ and the net flux of energy carried by fluid passing the control volume surface.\\
{{NumEqn|<math>
\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)dV
</math>}}


\[E_3=\frac{d}{dt}\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)d\mathscr{V}+\oiint_{\partial \Omega}(\rho \mathbf{v}\cdot\mathbf{n}dS)\left(e+\frac{V^2}{2}\right)\]\\
The time rate of change of the energy of the fluid in <math>\Omega</math> is obtained as


\noindent With all elements of the energy equation defined, we are now ready to finally compile the full equation\\
{{NumEqn|<math>
\frac{d}{dt}\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)dV
</math>}}


\begin{equation}
Now, <math>E_3</math> is obtained as the sum of the time rate of change of energy of the fluid in <math>\Omega</math> and the net flux of energy carried by fluid passing the control volume surface.
\frac{d}{dt}\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)d\mathscr{V}+\oiint_{\partial \Omega}\left[\rho\left(e+\frac{V^2}{2}\right)(\mathbf{v}\cdot\mathbf{n}) + p\mathbf{v}\cdot\mathbf{n}\right]dS=\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}d\mathscr{V}+\iiint_{\Omega} \dot{q}\rho d\mathscr{V}
\label{eq:governing:integral:energy}
\end{equation}\\


\noindent The surface integral in the energy equation may be rewritten as\\
{{NumEqn|<math>
E_3=\frac{d}{dt}\iiint_{\Omega}\rho\left(e+\frac{V^2}{2}\right)dV+\iint_{\partial \Omega}(\rho \mathbf{v}\cdot\mathbf{n}dS)\left(e+\frac{V^2}{2}\right)
</math>}}


\[\oiint_{\partial \Omega}\left[\rho\left(e+\frac{V^2}{2}\right)(\mathbf{v}\cdot\mathbf{n}) + p\mathbf{v}\cdot\mathbf{n}\right]dS=\oiint_{\partial \Omega}\rho\left[e+\frac{p}{\rho}+\frac{V^2}{2}\right](\mathbf{v}\cdot\mathbf{n})dS\]\\
With all elements of the energy equation defined, we are now ready to finally compile the full equation


\noindent and with the definition of enthalpy $h=e+p/\rho$, we get\\
{{NumEqn|<math>
\dfrac{d}{dt}\iiint_{\Omega}\rho\left(e+\dfrac{V^2}{2}\right)dV+\iint_{\partial \Omega}\left[\rho\left(e+\dfrac{V^2}{2}\right)(\mathbf{v}\cdot\mathbf{n}) + p\mathbf{v}\cdot\mathbf{n}\right]dS=</math><br><br><math>
\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV
</math>|align=center}}


\[\oiint_{\partial \Omega}\rho\left[h+\frac{V^2}{2}\right](\mathbf{v}\cdot\mathbf{n})dS\]\\
The surface integral in the energy equation may be rewritten as


\noindent Furthermore, introducing total internal energy $e_o$ and total enthalpy $h_o$ defined as\\
{{NumEqn|<math>
\iint_{\partial \Omega}\left[\rho\left(e+\frac{V^2}{2}\right)(\mathbf{v}\cdot\mathbf{n}) + p\mathbf{v}\cdot\mathbf{n}\right]dS=</math><br><br><math>\iint_{\partial \Omega}\rho\left[e+\frac{p}{\rho}+\frac{V^2}{2}\right](\mathbf{v}\cdot\mathbf{n})dS
</math>|align=center}}


\[e_o=e+\frac{1}{2}V^2\]\\
and with the definition of enthalpy <math>h=e+p/\rho</math>, we get


and\\
{{NumEqn|<math>
\iint_{\partial \Omega}\rho\left[h+\frac{V^2}{2}\right](\mathbf{v}\cdot\mathbf{n})dS
</math>}}


\[h_o=h+\frac{1}{2}V^2\]\\
Furthermore, introducing total internal energy <math>e_o</math> and total enthalpy <math>h_o</math> defined as


\noindent the energy equation is written as\\
{{NumEqn|<math>
e_o=e+\frac{1}{2}V^2
</math>}}


\begin{equation}
and
\frac{d}{dt}\iiint_{\Omega}\rho e_o d\mathscr{V}+\oiint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}d\mathscr{V}+\iiint_{\Omega} \dot{q}\rho d\mathscr{V}
\label{eq:governing:integral:energy:b}
\end{equation}\\


\subsection{Summary}
{{NumEqn|<math>
h_o=h+\frac{1}{2}V^2
</math>}}


\noindent The integral form of the governing equations for inviscid compressible flow has been derived\\
the energy equation is written as


\noindent Continuity:\\
{{NumEqn|<math>
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV+\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=</math><br><br><math>\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV
</math>}}


\[\frac{d}{dt}\iiint_{\Omega} \rho d\mathscr{V}+\oiint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0\]\\
==== Summary ====


\noindent Momentum:\\
The integral form of the governing equations for inviscid compressible flow has been derived


\[\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} d\mathscr{V}+\oiint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}d\mathscr{V}\]\\
<div style="border: solid 1px;">
{{OpenInfoBox|<math>
\frac{d}{dt}\iiint_{\Omega} \rho dV+\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=0
</math>|description=Continuity:}}


\noindent Energy:\\
{{OpenInfoBox|<math>
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV+\iint_{\partial \Omega} \left[(\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}+p\mathbf{n}\right]dS=\iiint_{\Omega}\rho \mathbf{f}dV
</math>|description=Momentum:}}


\[\frac{d}{dt}\iiint_{\Omega}\rho e_o d\mathscr{V}+\oiint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}d\mathscr{V}+\iiint_{\Omega} \dot{q}\rho d\mathscr{V}\]
{{OpenInfoBox|<math>
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV+\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=</math><br><br><math>\iiint_{\Omega}\rho\mathbf{f}\cdot\mathbf{v}dV+\iiint_{\Omega} \dot{q}\rho dV
</math>|description=Energy:}}
</div>