Governing equations on differential form: Difference between revisions
| Line 152: | Line 152: | ||
==== Conservation of Momentum ==== | ==== Conservation of Momentum ==== | ||
We start from the momentum equation on differential form derived above | |||
<math display="block"> | |||
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f} | |||
</math> | |||
Expanding the first and the second terms gives | |||
<math display="block"> | |||
\rho\frac{\partial \mathbf{v}}{\partial t} + \mathbf{v}\frac{\partial \rho}{\partial t} + \rho\mathbf{v}\cdot\nabla\mathbf{v} + \mathbf{v}(\nabla\cdot\rho\mathbf{v}) + \nabla p = \rho \mathbf{f} | |||
</math> | |||
Collecting terms, we can identify the substantial derivative operator applied to the velocity vector and the continuity equation. | |||
<math display="block"> | |||
\rho\underbrace{\left[\frac{\partial \mathbf{v}}{\partial t}+\mathbf{v}\cdot\nabla\mathbf{v}\right]}_{=\frac{D\mathbf{v}}{Dt}}+\mathbf{v}\underbrace{\left[\frac{\partial \rho}{\partial t}+\nabla\cdot\rho\mathbf{v}\right]}_{=0}+ \nabla p = \rho \mathbf{f} | |||
</math> | |||
which gives us the non-conservation form of the momentum equation | |||
<math display="block"> | |||
\frac{D\mathbf{v}}{Dt}+\frac{1}{\rho}\nabla p = \mathbf{f} | \frac{D\mathbf{v}}{Dt}+\frac{1}{\rho}\nabla p = \mathbf{f} | ||
</math> | |||
==== Conservation of Energy ==== | ==== Conservation of Energy ==== | ||
Revision as of 07:19, 17 March 2026
The Differential Equations on Conservation Form
Conservation of Mass
Apply Gauss's divergence theorem on the surface integral in Eqn. \ref{eq:governing:cont:int} gives
Also, if is a fixed control volume
The continuity equation can now be written as a single volume integral.
is an arbitrary control volume and thus
which is the continuity equation on partial differential form.
Conservation of Momentum
As for the continuity equation, the surface integral terms are rewritten as volume integrals using Gauss's divergence theorem.
Also, if is a fixed control volume
The momentum equation can now be written as one single volume integral
is an arbitrary control volume and thus
which is the momentum equation on partial differential form
Conservation of Energy
Gauss's divergence theorem applied to the surface integral term in the energy equation (Eqn. \ref{eq:governing:energy:int}) gives
Fixed control volume
The energy equation can now be written as
is an arbitrary control volume and thus
which is the energy equation on partial differential form
Summary
The governing equations for compressible inviscid flow on partial differential form:
The Differential Equations on Non-Conservation Form
The Substantial Derivative
The substantial derivative operator is defined as
where the first term of the right hand side is the local derivative and the second term is the convective derivative.
Conservation of Mass
If we apply the substantial derivative operator to density we get
From before we have the continuity equation on differential form as
which can be rewritten as
and thus
Eqn. \ref{eq:governing:cont:non} says that the mass of a fluid element with a fixed set of fluid particles is constant as the element moves in space.
Conservation of Momentum
We start from the momentum equation on differential form derived above
Expanding the first and the second terms gives
Collecting terms, we can identify the substantial derivative operator applied to the velocity vector and the continuity equation.
which gives us the non-conservation form of the momentum equation
Conservation of Energy
The last equation on non-conservation differential form is the energy equation. We start by rewriting the energy equation on differential form (Eqn. \ref{eq:governing:energy:pde}), repeated here for convenience
Total enthalpy, , is replaced with total energy,
which gives
Expanding the two first terms as
Collecting terms, we can identify the substantial derivative operator applied on total energy, and the continuity equation
and thus we end up with the energy equation on non-conservation differential form
\begin{equation} \rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho \label{eq:governing:energy:non} \end{equation}\\
%\section*{The Governing Equations on Differential Non-Conservation Form} % %\vspace*{1cm} % %\noindent Continuity: % %\begin{equation} %\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0 %\label{eq:governing:cont:non} %\end{equation}\\ % %\noindent Momentum: % %\begin{equation} %\frac{D\mathbf{v}}{Dt}+\frac{1}{\rho}\nabla p = \mathbf{f} %\label{eq:governing:mom:non} %\end{equation}\\ % %\noindent Energy: % %\begin{equation} %\rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho %\label{eq:governing:energy:non} %\end{equation}\\
Alternative Forms of the Energy Equation
Internal Energy Formulation
\noindent Total internal energy is defined as\\
\[e_o=e+\frac{1}{2}\mathbf{v}\cdot\mathbf{v}\]\\
\noindent Inserted in Eqn. \ref{eq:governing:energy:non}, this gives
\[\rho\frac{De}{Dt} + \rho\mathbf{v}\cdot\frac{D \mathbf{v}}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho\]\\
\noindent Now, let's replace the substantial derivative $D\mathbf{v}/Dt$ using the momentum equation on non-conservation form (Eqn. \ref{eq:governing:mom:non}).\\
\[\rho\frac{De}{Dt} -\mathbf{v}\cdot\nabla p + \cancel{\rho\mathbf{f}\cdot\mathbf{v}} + \nabla\cdot(p\mathbf{v}) = \cancel{\rho\mathbf{f}\cdot\mathbf{v}} + \dot{q}\rho\]\\
\noindent Now, expand the term $\nabla\cdot(p\mathbf{v})$ gives\\
\[\rho\frac{De}{Dt} \cancel{-\mathbf{v}\cdot\nabla p} + \cancel{\mathbf{v}\cdot\nabla p} + p(\nabla\cdot\mathbf{v}) = \dot{q}\rho\Rightarrow \rho\frac{De}{Dt} + p(\nabla\cdot\mathbf{v}) = \dot{q}\rho\]\\
\noindent Divide by $\rho$\\
\begin{equation} \frac{De}{Dt} + \frac{p}{\rho}(\nabla\cdot\mathbf{v}) = \dot{q} \label{eq:governing:energy:non:b} \end{equation}\\
\noindent Conservation of mass gives\\
\[\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0\Rightarrow \nabla\cdot\mathbf{v} = -\frac{1}{\rho}\frac{D\rho}{Dt}\]
\noindent Insert in Eqn. \ref{eq:governing:energy:non:b}\\
\[\frac{De}{Dt} - \frac{p}{\rho^2}\frac{D\rho}{Dt} = \dot{q}\Rightarrow \frac{De}{Dt} + p\frac{D}{Dt} \left(\frac{1}{\rho}\right)= \dot{q}\]\\
\begin{equation} \frac{De}{Dt} + p\frac{D\nu}{Dt} = \dot{q} \label{eq:governing:energy:non:b} \end{equation}\\
\noindent Compare with the first law of thermodynamics: $de=\delta q-\delta w$\\
Enthalpy Formulation
\[h=e+\frac{p}{\rho}\Rightarrow \frac{Dh}{Dt}=\frac{De}{Dt}+\frac{1}{\rho}\frac{Dp}{Dt}+p\frac{D}{Dt}\left(\frac{1}{\rho}\right)\]\\
\noindent with $De/Dt$ from Eqn. \ref{eq:governing:energy:non:b}\\
\[\frac{Dh}{Dt}=\dot{q} - \cancel{p\frac{D}{Dt}\left(\frac{1}{\rho}\right)} +\frac{1}{\rho}\frac{Dp}{Dt}+\cancel{p\frac{D}{Dt}\left(\frac{1}{\rho}\right)}\]\\
\begin{equation} \frac{Dh}{Dt}=\dot{q} + \frac{1}{\rho}\frac{Dp}{Dt} \label{eq:governing:energy:non:c} \end{equation}\\
Total Enthalpy Formulation
\[h_o=h+\frac{1}{2}\mathbf{v}\mathbf{v}\Rightarrow\frac{Dh_o}{Dt}=\frac{Dh}{Dt}+\mathbf{v}\cdot\frac{D\mathbf{v}}{Dt}\]\\
\noindent From the momentum equation (Eqn. \ref{eq:governing:mom:non})\\
\[\frac{D\mathbf{v}}{Dt}=\mathbf{f}-\frac{1}{\rho}\nabla p\]\\
\noindent which gives\\
\[\frac{Dh_o}{Dt}=\frac{Dh}{Dt}+\mathbf{v}\cdot\mathbf{f} -\frac{1}{\rho}\mathbf{v}\cdot\nabla p \]\\
\noindent Inserting $Dh/Dt$ from Eqn. \ref{eq:governing:energy:non:c} gives\\
\[\frac{Dh_o}{Dt}=\dot{q} + \frac{1}{\rho}\frac{Dp}{Dt}+\mathbf{v}\cdot\mathbf{f} -\frac{1}{\rho}\mathbf{v}\cdot\nabla p = \frac{1}{\rho}\left[\frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p\right] + \dot{q} + \mathbf{v}\cdot\mathbf{f}\]\\
\noindent The substantial derivative operator applied to pressure\\
\[\frac{Dp}{Dt}=\frac{\partial p}{\partial t}+\mathbf{v}\cdot\nabla p\]\\
\noindent and thus\\
\[\frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p=\frac{\partial p}{\partial t}\]\\
\noindent which gives\\
\[\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t} + \dot{q} + \mathbf{v}\cdot\mathbf{f}\]\\
\noindent If we assume adiabatic flow without body forces\\
\[\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t}\]\\
\noindent If we further assume the flow to be steady state we get\\
\[\frac{Dh_o}{Dt}=0\]\\
\noindent This means that in a steady-state adiabatic flow without body forces, total enthalpy is constant along a streamline.\\