Governing equations on differential form: Difference between revisions
No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
[[Category:Compressible flow]] | <!-- | ||
[[Category:Governing equations]] | -->[[Category:Compressible flow]]<!-- | ||
<noinclude> | -->[[Category:Governing equations]]<!-- | ||
[[Category:Compressible flow:Topic]] | --><noinclude><!-- | ||
</noinclude> | -->[[Category:Compressible flow:Topic]]<!-- | ||
--></noinclude><!-- | |||
__TOC__ | --><nomobile><!-- | ||
-->__TOC__<!-- | |||
--></nomobile><!-- | |||
--><noinclude><!-- | |||
-->{{#vardefine:secno|2}}<!-- | |||
-->{{#vardefine:eqno|31}}<!-- | |||
--></noinclude><!-- | |||
--> | |||
=== The Differential Equations on Conservation Form === | === The Differential Equations on Conservation Form === | ||
| Line 13: | Line 22: | ||
Apply Gauss's divergence theorem on the surface integral in Eqn. \ref{eq:governing:cont:int} gives | Apply Gauss's divergence theorem on the surface integral in Eqn. \ref{eq:governing:cont:int} gives | ||
<math | {{NumEqn|<math> | ||
\iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=\iiint_{\Omega}\nabla\cdot(\rho\mathbf{v})dV | \iint_{\partial \Omega}\rho \mathbf{v}\cdot \mathbf{n} dS=\iiint_{\Omega}\nabla\cdot(\rho\mathbf{v})dV | ||
</math> | </math>}} | ||
Also, if <math>\Omega</math> is a fixed control volume | Also, if <math>\Omega</math> is a fixed control volume | ||
<math | {{NumEqn|<math> | ||
\frac{d}{dt}\iiint_{\Omega} \rho dV=\iiint_{\Omega} \frac{\partial \rho}{\partial t} dV | \frac{d}{dt}\iiint_{\Omega} \rho dV=\iiint_{\Omega} \frac{\partial \rho}{\partial t} dV | ||
</math> | </math>}} | ||
The continuity equation can now be written as a single volume integral. | The continuity equation can now be written as a single volume integral. | ||
<math | {{NumEqn|<math> | ||
\iiint_{\Omega} \left[\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})\right]dV=0 | \iiint_{\Omega} \left[\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})\right]dV=0 | ||
</math> | </math>}} | ||
<math>\Omega</math> is an arbitrary control volume and thus | <math>\Omega</math> is an arbitrary control volume and thus | ||
<math | {{NumEqn|<math> | ||
\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0 | \frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0 | ||
</math> | </math>}} | ||
which is the continuity equation on partial differential form. | which is the continuity equation on partial differential form. | ||
| Line 41: | Line 50: | ||
As for the continuity equation, the surface integral terms are rewritten as volume integrals using Gauss's divergence theorem. | As for the continuity equation, the surface integral terms are rewritten as volume integrals using Gauss's divergence theorem. | ||
<math | {{NumEqn|<math> | ||
\iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS=\iiint_{\Omega} \nabla\cdot(\rho \mathbf{v}\mathbf{v})dV | \iint_{\partial \Omega} (\rho\mathbf{v}\cdot\mathbf{n})\mathbf{v}dS=\iiint_{\Omega} \nabla\cdot(\rho \mathbf{v}\mathbf{v})dV | ||
</math> | </math>}} | ||
<math | {{NumEqn|<math> | ||
\iint_{\partial \Omega} p\mathbf{n}dS=\iiint_{\Omega} \nabla pdV | \iint_{\partial \Omega} p\mathbf{n}dS=\iiint_{\Omega} \nabla pdV | ||
</math> | </math>}} | ||
Also, if <math>\Omega</math> is a fixed control volume | Also, if <math>\Omega</math> is a fixed control volume | ||
<math | {{NumEqn|<math> | ||
\frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV=\iiint_{\Omega} \frac{\partial}{\partial t}(\rho \mathbf{v}) dV | \frac{d}{dt}\iiint_{\Omega} \rho \mathbf{v} dV=\iiint_{\Omega} \frac{\partial}{\partial t}(\rho \mathbf{v}) dV | ||
</math> | </math>}} | ||
The momentum equation can now be written as one single volume integral | The momentum equation can now be written as one single volume integral | ||
<math | {{NumEqn|<math> | ||
\iiint_{\Omega}\left[\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p - \rho \mathbf{f}\right]dV=0 | \iiint_{\Omega}\left[\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p - \rho \mathbf{f}\right]dV=0 | ||
</math> | </math>}} | ||
<math>\Omega</math> is an arbitrary control volume and thus | <math>\Omega</math> is an arbitrary control volume and thus | ||
<math | {{NumEqn|<math> | ||
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f} | \frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f} | ||
</math> | </math>}} | ||
which is the momentum equation on partial differential form | which is the momentum equation on partial differential form | ||
| Line 73: | Line 82: | ||
Gauss's divergence theorem applied to the surface integral term in the energy equation (Eqn. \ref{eq:governing:energy:int}) gives | Gauss's divergence theorem applied to the surface integral term in the energy equation (Eqn. \ref{eq:governing:energy:int}) gives | ||
<math | {{NumEqn|<math> | ||
\iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=\iiint_{\Omega}\nabla\cdot(\rho h_o\mathbf{v})dV | \iint_{\partial \Omega}\rho h_o(\mathbf{v}\cdot\mathbf{n})dS=\iiint_{\Omega}\nabla\cdot(\rho h_o\mathbf{v})dV | ||
</math> | </math>}} | ||
Fixed control volume | Fixed control volume | ||
<math | {{NumEqn|<math> | ||
\frac{d}{dt}\iiint_{\Omega}\rho e_o dV=\iiint_{\Omega}\frac{\partial}{\partial t}(\rho e_o) dV | \frac{d}{dt}\iiint_{\Omega}\rho e_o dV=\iiint_{\Omega}\frac{\partial}{\partial t}(\rho e_o) dV | ||
</math> | </math>}} | ||
The energy equation can now be written as | The energy equation can now be written as | ||
<math | {{NumEqn|<math> | ||
\iiint_{\Omega}\left[\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) - \rho\mathbf{f}\cdot\mathbf{v} - \dot{q}\rho \right]dV=0 | \iiint_{\Omega}\left[\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) - \rho\mathbf{f}\cdot\mathbf{v} - \dot{q}\rho \right]dV=0 | ||
</math> | </math>}} | ||
<math>\Omega</math> is an arbitrary control volume and thus | <math>\Omega</math> is an arbitrary control volume and thus | ||
<math | {{NumEqn|<math> | ||
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | \frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | ||
</math> | </math>}} | ||
which is the energy equation on partial differential form | which is the energy equation on partial differential form | ||
| Line 101: | Line 110: | ||
The governing equations for compressible inviscid flow on partial differential form: | The governing equations for compressible inviscid flow on partial differential form: | ||
<math | {{NumEqn|<math> | ||
\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0 | \frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0 | ||
</math> | </math>}} | ||
<math | {{NumEqn|<math> | ||
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f} | \frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f} | ||
</math> | </math>}} | ||
<math | {{NumEqn|<math> | ||
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | \frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | ||
</math> | </math>}} | ||
=== The Differential Equations on Non-Conservation Form === | === The Differential Equations on Non-Conservation Form === | ||
| Line 119: | Line 128: | ||
The substantial derivative operator is defined as | The substantial derivative operator is defined as | ||
<math | {{NumEqn|<math> | ||
\frac{D}{Dt}=\frac{\partial}{\partial t}+\mathbf{v}\cdot\nabla | \frac{D}{Dt}=\frac{\partial}{\partial t}+\mathbf{v}\cdot\nabla | ||
</math> | </math>}} | ||
where the first term of the right hand side is the local derivative and the second term is the convective derivative. | where the first term of the right hand side is the local derivative and the second term is the convective derivative. | ||
| Line 129: | Line 138: | ||
If we apply the substantial derivative operator to density we get | If we apply the substantial derivative operator to density we get | ||
<math | {{NumEqn|<math> | ||
\frac{D\rho}{Dt}=\frac{\partial \rho}{\partial t}+\mathbf{v}\cdot\nabla\rho | \frac{D\rho}{Dt}=\frac{\partial \rho}{\partial t}+\mathbf{v}\cdot\nabla\rho | ||
</math> | </math>}} | ||
From before we have the continuity equation on differential form as | From before we have the continuity equation on differential form as | ||
<math | {{NumEqn|<math> | ||
\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0 | \frac{\partial \rho}{\partial t} + \nabla\cdot(\rho\mathbf{v})=0 | ||
</math> | </math>}} | ||
which can be rewritten as | which can be rewritten as | ||
<math | {{NumEqn|<math> | ||
\frac{\partial \rho}{\partial t} + \rho(\nabla\cdot\mathbf{v}) + \mathbf{v}\cdot\nabla\rho=0 | \frac{\partial \rho}{\partial t} + \rho(\nabla\cdot\mathbf{v}) + \mathbf{v}\cdot\nabla\rho=0 | ||
</math> | </math>}} | ||
and thus | and thus | ||
<math | {{NumEqn|<math> | ||
\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0 | \frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0 | ||
</math> | </math>}} | ||
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. | 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. | ||
| Line 157: | Line 166: | ||
We start from the momentum equation on differential form derived above | We start from the momentum equation on differential form derived above | ||
<math | {{NumEqn|<math> | ||
\frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f} | \frac{\partial}{\partial t}(\rho \mathbf{v}) + \nabla\cdot(\rho \mathbf{v}\mathbf{v}) + \nabla p = \rho \mathbf{f} | ||
</math> | </math>}} | ||
Expanding the first and the second terms gives | Expanding the first and the second terms gives | ||
<math | {{NumEqn|<math> | ||
\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} | \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> | </math>}} | ||
Collecting terms, we can identify the substantial derivative operator applied to the velocity vector and the continuity equation. | Collecting terms, we can identify the substantial derivative operator applied to the velocity vector and the continuity equation. | ||
<math | {{NumEqn|<math> | ||
\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} | \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> | </math>}} | ||
which gives us the non-conservation form of the momentum equation | which gives us the non-conservation form of the momentum equation | ||
<math | {{NumEqn|<math> | ||
\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> | </math>}} | ||
==== Conservation of Energy ==== | ==== Conservation of Energy ==== | ||
| Line 183: | Line 192: | ||
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 | 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 | ||
<math | {{NumEqn|<math> | ||
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | \frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | ||
</math> | </math>}} | ||
Total enthalpy, <math>h_o</math>, is replaced with total energy, <math>e_o</math> | Total enthalpy, <math>h_o</math>, is replaced with total energy, <math>e_o</math> | ||
<math | {{NumEqn|<math> | ||
h_o=e_o+\frac{p}{\rho} | h_o=e_o+\frac{p}{\rho} | ||
</math> | </math>}} | ||
which gives | which gives | ||
<math | {{NumEqn|<math> | ||
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho e_o\mathbf{v}) + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | \frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho e_o\mathbf{v}) + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | ||
</math> | </math>}} | ||
Expanding the two first terms as | Expanding the two first terms as | ||
<math | {{NumEqn|<math> | ||
\rho\frac{\partial e_o}{\partial t} + e_o\frac{\partial \rho}{\partial t} + \rho\mathbf{v}\cdot\nabla e_o + e_o\nabla\cdot(\rho \mathbf{v}) + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | \rho\frac{\partial e_o}{\partial t} + e_o\frac{\partial \rho}{\partial t} + \rho\mathbf{v}\cdot\nabla e_o + e_o\nabla\cdot(\rho \mathbf{v}) + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | ||
</math> | </math>}} | ||
Collecting terms, we can identify the substantial derivative operator applied on total energy, <math>De_o/Dt</math> and the continuity equation | Collecting terms, we can identify the substantial derivative operator applied on total energy, <math>De_o/Dt</math> and the continuity equation | ||
<math | {{NumEqn|<math> | ||
\rho\underbrace{\left[ \frac{\partial e_o}{\partial t} + \mathbf{v}\cdot\nabla e_o \right]}_{=\frac{De_o}{Dt}} + e_o\underbrace{\left[\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho \mathbf{v}) \right]}_{=0} + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | \rho\underbrace{\left[ \frac{\partial e_o}{\partial t} + \mathbf{v}\cdot\nabla e_o \right]}_{=\frac{De_o}{Dt}} + e_o\underbrace{\left[\frac{\partial \rho}{\partial t} + \nabla\cdot(\rho \mathbf{v}) \right]}_{=0} + \nabla\cdot(p\mathbf{v})= \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | ||
</math> | </math>}} | ||
and thus we end up with the energy equation on non-conservation differential form | and thus we end up with the energy equation on non-conservation differential form | ||
<math | {{NumEqn|<math> | ||
\rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | \rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | ||
</math> | </math>}} | ||
==== Summary ==== | ==== Summary ==== | ||
| Line 221: | Line 230: | ||
Continuity: | Continuity: | ||
<math | {{NumEqn|<math> | ||
\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0 | \frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0 | ||
</math> | </math>}} | ||
Momentum: | Momentum: | ||
<math | {{NumEqn|<math> | ||
\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> | </math>}} | ||
Energy: | Energy: | ||
<math | {{NumEqn|<math> | ||
\rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | \rho\frac{De_o}{Dt} + \nabla\cdot(p\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | ||
</math> | </math>}} | ||
=== Alternative Forms of the Energy Equation === | === Alternative Forms of the Energy Equation === | ||
| Line 243: | Line 252: | ||
Total internal energy is defined as | Total internal energy is defined as | ||
<math | {{NumEqn|<math> | ||
e_o=e+\frac{1}{2}\mathbf{v}\cdot\mathbf{v} | e_o=e+\frac{1}{2}\mathbf{v}\cdot\mathbf{v} | ||
</math> | </math>}} | ||
Inserted in Eqn. \ref{eq:governing:energy:non}, this gives | Inserted in Eqn. \ref{eq:governing:energy:non}, this gives | ||
<math | {{NumEqn|<math> | ||
\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 | \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 | ||
</math> | </math>}} | ||
Now, let's replace the substantial derivative <math>D\mathbf{v}/Dt</math> using the momentum equation on non-conservation form (Eqn. \ref{eq:governing:mom:non}). | Now, let's replace the substantial derivative <math>D\mathbf{v}/Dt</math> using the momentum equation on non-conservation form (Eqn. \ref{eq:governing:mom:non}). | ||
<math | {{NumEqn|<math> | ||
\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 | \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 | ||
</math> | </math>}} | ||
Now, expand the term <math>\nabla\cdot(p\mathbf{v})</math> gives | Now, expand the term <math>\nabla\cdot(p\mathbf{v})</math> gives | ||
<math | {{NumEqn|<math> | ||
\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 | \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 | ||
</math> | </math>}} | ||
Divide by <math>\rho</math> | Divide by <math>\rho</math> | ||
<math | {{NumEqn|<math> | ||
\frac{De}{Dt} + \frac{p}{\rho}(\nabla\cdot\mathbf{v}) = \dot{q} | \frac{De}{Dt} + \frac{p}{\rho}(\nabla\cdot\mathbf{v}) = \dot{q} | ||
</math> | </math>}} | ||
Conservation of mass gives | Conservation of mass gives | ||
<math | {{NumEqn|<math> | ||
\frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0\Rightarrow \nabla\cdot\mathbf{v} = -\frac{1}{\rho}\frac{D\rho}{Dt} | \frac{D\rho}{Dt}+\rho(\nabla\cdot\mathbf{v})=0\Rightarrow \nabla\cdot\mathbf{v} = -\frac{1}{\rho}\frac{D\rho}{Dt} | ||
</math> | </math>}} | ||
Insert in Eqn. \ref{eq:governing:energy:non:b} | Insert in Eqn. \ref{eq:governing:energy:non:b} | ||
<math | {{NumEqn|<math> | ||
\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} | \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} | ||
</math> | </math>}} | ||
<math | {{NumEqn|<math> | ||
\frac{De}{Dt} + p\frac{D\nu}{Dt} = \dot{q} | \frac{De}{Dt} + p\frac{D\nu}{Dt} = \dot{q} | ||
</math> | </math>}} | ||
Compare with the first law of thermodynamics: <math>de=\delta q-\delta w</math> | Compare with the first law of thermodynamics: <math>de=\delta q-\delta w</math> | ||
| Line 291: | Line 300: | ||
==== Enthalpy Formulation ==== | ==== Enthalpy Formulation ==== | ||
<math | {{NumEqn|<math> | ||
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) | 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) | ||
</math> | </math>}} | ||
with <math>De/Dt</math> from Eqn. \ref{eq:governing:energy:non:b} | with <math>De/Dt</math> from Eqn. \ref{eq:governing:energy:non:b} | ||
<math | {{NumEqn|<math> | ||
\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)} | \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)} | ||
</math> | </math>}} | ||
<math | {{NumEqn|<math> | ||
\frac{Dh}{Dt}=\dot{q} + \frac{1}{\rho}\frac{Dp}{Dt} | \frac{Dh}{Dt}=\dot{q} + \frac{1}{\rho}\frac{Dp}{Dt} | ||
</math> | </math>}} | ||
==== Total Enthalpy Formulation ==== | ==== Total Enthalpy Formulation ==== | ||
<math | {{NumEqn|<math> | ||
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} | 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} | ||
</math> | </math>}} | ||
From the momentum equation (Eqn. \ref{eq:governing:mom:non}) | From the momentum equation (Eqn. \ref{eq:governing:mom:non}) | ||
<math | {{NumEqn|<math> | ||
\frac{D\mathbf{v}}{Dt}=\mathbf{f}-\frac{1}{\rho}\nabla p | \frac{D\mathbf{v}}{Dt}=\mathbf{f}-\frac{1}{\rho}\nabla p | ||
</math> | </math>}} | ||
which gives | which gives | ||
<math | {{NumEqn|<math> | ||
\frac{Dh_o}{Dt}=\frac{Dh}{Dt}+\mathbf{v}\cdot\mathbf{f} -\frac{1}{\rho}\mathbf{v}\cdot\nabla p | \frac{Dh_o}{Dt}=\frac{Dh}{Dt}+\mathbf{v}\cdot\mathbf{f} -\frac{1}{\rho}\mathbf{v}\cdot\nabla p | ||
</math> | </math>}} | ||
Inserting <math>Dh/Dt</math> from Eqn. \ref{eq:governing:energy:non:c} gives | Inserting <math>Dh/Dt</math> from Eqn. \ref{eq:governing:energy:non:c} gives | ||
<math | {{NumEqn|<math> | ||
\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} | \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} | ||
</math> | </math>}} | ||
The substantial derivative operator applied to pressure | The substantial derivative operator applied to pressure | ||
<math | {{NumEqn|<math> | ||
\frac{Dp}{Dt}=\frac{\partial p}{\partial t}+\mathbf{v}\cdot\nabla p | \frac{Dp}{Dt}=\frac{\partial p}{\partial t}+\mathbf{v}\cdot\nabla p | ||
</math> | </math>}} | ||
and thus | and thus | ||
<math | {{NumEqn|<math> | ||
\frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p=\frac{\partial p}{\partial t} | \frac{Dp}{Dt}-\mathbf{v}\cdot\nabla p=\frac{\partial p}{\partial t} | ||
</math> | </math>}} | ||
which gives | which gives | ||
<math | {{NumEqn|<math> | ||
\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t} + \dot{q} + \mathbf{v}\cdot\mathbf{f} | \frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t} + \dot{q} + \mathbf{v}\cdot\mathbf{f} | ||
</math> | </math>}} | ||
If we assume adiabatic flow without body forces | If we assume adiabatic flow without body forces | ||
<math | {{NumEqn|<math> | ||
\frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t} | \frac{Dh_o}{Dt}=\frac{1}{\rho}\frac{\partial p}{\partial t} | ||
</math> | </math>}} | ||
If we further assume the flow to be steady state we get | If we further assume the flow to be steady state we get | ||
<math | {{NumEqn|<math> | ||
\frac{Dh_o}{Dt}=0 | \frac{Dh_o}{Dt}=0 | ||
</math> | </math>}} | ||
This means that in a steady-state adiabatic flow without body forces, total enthalpy is constant along a streamline. | This means that in a steady-state adiabatic flow without body forces, total enthalpy is constant along a streamline. | ||
Revision as of 14:50, 30 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
| (Eq. 2.32) |
Also, if is a fixed control volume
| (Eq. 2.33) |
The continuity equation can now be written as a single volume integral.
| (Eq. 2.34) |
is an arbitrary control volume and thus
| (Eq. 2.35) |
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.
| (Eq. 2.36) |
| (Eq. 2.37) |
Also, if is a fixed control volume
| (Eq. 2.38) |
The momentum equation can now be written as one single volume integral
| (Eq. 2.39) |
is an arbitrary control volume and thus
| (Eq. 2.40) |
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
| (Eq. 2.41) |
Fixed control volume
| (Eq. 2.42) |
The energy equation can now be written as
| (Eq. 2.43) |
is an arbitrary control volume and thus
| (Eq. 2.44) |
which is the energy equation on partial differential form
Summary
The governing equations for compressible inviscid flow on partial differential form:
| (Eq. 2.45) |
| (Eq. 2.46) |
| (Eq. 2.47) |
The Differential Equations on Non-Conservation Form
The Substantial Derivative
The substantial derivative operator is defined as
| (Eq. 2.48) |
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
| (Eq. 2.49) |
From before we have the continuity equation on differential form as
| (Eq. 2.50) |
which can be rewritten as
| (Eq. 2.51) |
and thus
| (Eq. 2.52) |
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
| (Eq. 2.53) |
Expanding the first and the second terms gives
| (Eq. 2.54) |
Collecting terms, we can identify the substantial derivative operator applied to the velocity vector and the continuity equation.
| (Eq. 2.55) |
which gives us the non-conservation form of the momentum equation
| (Eq. 2.56) |
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
| (Eq. 2.57) |
Total enthalpy, , is replaced with total energy,
| (Eq. 2.58) |
which gives
| (Eq. 2.59) |
Expanding the two first terms as
| (Eq. 2.60) |
Collecting terms, we can identify the substantial derivative operator applied on total energy, and the continuity equation
| (Eq. 2.61) |
and thus we end up with the energy equation on non-conservation differential form
| (Eq. 2.62) |
Summary
Continuity:
| (Eq. 2.63) |
Momentum:
| (Eq. 2.64) |
Energy:
| (Eq. 2.65) |
Alternative Forms of the Energy Equation
Internal Energy Formulation
Total internal energy is defined as
| (Eq. 2.66) |
Inserted in Eqn. \ref{eq:governing:energy:non}, this gives
| (Eq. 2.67) |
Now, let's replace the substantial derivative using the momentum equation on non-conservation form (Eqn. \ref{eq:governing:mom:non}).
| (Eq. 2.68) |
Now, expand the term gives
| (Eq. 2.69) |
Divide by
| (Eq. 2.70) |
Conservation of mass gives
| (Eq. 2.71) |
Insert in Eqn. \ref{eq:governing:energy:non:b}
| (Eq. 2.72) |
| (Eq. 2.73) |
Compare with the first law of thermodynamics:
Enthalpy Formulation
| (Eq. 2.74) |
with from Eqn. \ref{eq:governing:energy:non:b}
| (Eq. 2.75) |
| (Eq. 2.76) |
Total Enthalpy Formulation
| (Eq. 2.77) |
From the momentum equation (Eqn. \ref{eq:governing:mom:non})
| (Eq. 2.78) |
which gives
| (Eq. 2.79) |
Inserting from Eqn. \ref{eq:governing:energy:non:c} gives
| (Eq. 2.80) |
The substantial derivative operator applied to pressure
| (Eq. 2.81) |
and thus
| (Eq. 2.82) |
which gives
| (Eq. 2.83) |
If we assume adiabatic flow without body forces
| (Eq. 2.84) |
If we further assume the flow to be steady state we get
| (Eq. 2.85) |
This means that in a steady-state adiabatic flow without body forces, total enthalpy is constant along a streamline.