Governing equations on differential form: Difference between revisions
From Flowpedia
| Line 173: | Line 173: | ||
==== Conservation of Energy ==== | ==== 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 | |||
<math display="block"> | |||
\frac{\partial}{\partial t}(\rho e_o) + \nabla\cdot(\rho h_o\mathbf{v}) = \rho\mathbf{f}\cdot\mathbf{v} + \dot{q}\rho | |||
</math> | |||
Total enthalpy, <math>h_o</math>, is replaced with total energy, <math>e_o</math> | |||
<math display="block"> | |||
h_o=e_o+\frac{p}{\rho} | |||
</math> | |||
which gives | |||
<math display="block"> | |||
\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> | |||
Expanding the two first terms as | |||
<math display="block"> | |||
\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> | |||
Collecting terms, we can identify the substantial derivative operator applied on total energy, <math>De_o/Dt</math> and the continuity equation | |||
<math display="block"> | |||
\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> | |||
and thus we end up with the energy equation on non-conservation differential form | |||
\begin{equation} | \begin{equation} | ||
