Total Energy Conservation & Thermodynamic Applications
1. The Master Total Energy Conservation Equation
The First Law of Thermodynamics for a closed material fluid system $V_f(t)$ states that the rate of increase of total energy (internal energy $e$ plus macroscopic kinetic energy $v^2/2$) equals the net mechanical power done on the fluid plus the net rate of heat transferred into the fluid:
Substituting intensive total energy $b = e + \frac{|\vec{v}|^2}{2}$ into the universal Reynolds Transport Theorem yields the Master Integral Total Energy Equation for any moving control volume $V_c(t)$:
Here, the external power $\dot{W}_{\text{ext}}$ done on the fluid by boundary forces and body forces breaks down into:
and total thermal heat transfer $\dot{Q}$ combines boundary conduction (Fourier's law $\vec{q} = -k\nabla T$) and internal sources (chemical combustion $Q_c$ and radiative absorption $Q_r$):
Total Energy: Complete Derivation Chain (Notes.pdf, Eqs. 3.39-3.46)
Step 1: Origin of each term of the First Law (Eq. 3.45)
The total energy of a fluid volume is $\int_{V_f}\rho(e+|\vec{v}|^2/2)\,dV$. Its rate of change equals the power of the forces plus the heat added (First Law). Each contribution is built from an elementary power on a surface element $d\sigma$ or a volume element $dV$.
- Surface forces. The stress vector $(\bar{\bar{\tau}}\cdot\vec{n})\,d\sigma$ acts on material that moves with velocity $\vec{v}$, so its power is $\vec{v}\cdot\bar{\bar{\tau}}\cdot\vec{n}\,d\sigma$. With $\bar{\bar{\tau}}=-p\bar{\bar{I}}+\bar{\bar{\tau}}'$ and $\vec{v}\cdot(p\bar{\bar{I}})\cdot\vec{n}=p\,\vec{v}\cdot\vec{n}$, the total is $-\int p\,\vec{v}\cdot\vec{n}\,d\sigma+\int\vec{v}\cdot\bar{\bar{\tau}}'\cdot\vec{n}\,d\sigma$.
- Body force. The force $\rho\vec{f}_m\,dV$ has power $\rho\vec{f}_m\cdot\vec{v}\,dV$.
- Heat conduction. By Eqs. 3.41 and 3.43, $\vec{q}\cdot\vec{n}\,d\sigma$ is the conductive heat leaving through $d\sigma$ (its divergence is the heat loss per unit volume), so the heat added is $-\int\vec{q}\cdot\vec{n}\,d\sigma$.
- Volumetric sources. Chemical reaction and radiation add $\int(Q_c+Q_r)\,dV$.
Summing these contributions gives Eq. 3.45:
Step 2: Transfer to a moving control volume (Eq. 3.46)
Apply Eq. 3.8 with $\phi=\rho(e+|\vec{v}|^2/2)$ to the left-hand side of Eq. 3.45 and evaluate the right-hand side on $\Sigma_c$ and $V_c$, which coincide with $\Sigma_f$ and $V_f$ at the instant considered. Moving the convective flux to the left gives
Step 3: Flow work and specific enthalpy (extension)
Extension, not in the Notes. For a fixed control volume ($\vec{v}_c=\vec{0}$), move the pressure work to the left-hand side and write $p\,\vec{v}\cdot\vec{n}=(p/\rho)\,\rho\,\vec{v}\cdot\vec{n}$:
with $h=e+p/\rho$. The balance for a fixed volume becomes
For a moving boundary, $p\,\vec{v}\cdot\vec{n}=p\,(\vec{v}-\vec{v}_c)\cdot\vec{n}+p\,\vec{v}_c\cdot\vec{n}$. The first part joins the enthalpy flux in the same way and the second part is the work of the pressure on the moving boundary, which stays on the right-hand side.
Step 4: Gravity and the total enthalpy $h_0$ (extension)
Extension, not in the Notes. For gravity with $z$ pointing upward, $\vec{f}_m=-\nabla(gz)$ (Eq. 3.14 with $U=gz$). In a steady flow, the continuity equation $\nabla\cdot(\rho\vec{v})=0$ (Eq. 4.8) lets the body-force power be written as a divergence:
Gauss' theorem converts the volume integral into $-\int_{\Sigma_0}\rho\,gz\,\vec{v}\cdot\vec{n}\,d\sigma$. Moving it to the left-hand side adds $gz$ inside the convective flux:
Step 5: Steady engineering energy equation (extension)
Extension, not in the Notes. For a steady flow in a fixed control volume, split the boundary into ports, stationary solid walls and moving blades.
- On stationary walls the no-slip condition gives $\vec{v}=\vec{0}$, so the pressure and viscous work vanish; the heat conducted through the walls defines $\dot Q=-\int_{\text{walls}}\vec{q}\cdot\vec{n}\,d\sigma+\int(Q_c+Q_r)\,dV$.
- On the moving blades of a machine, the (time-averaged) power of pressure and viscous forces on the fluid is defined as $\dot W_{\text{shaft}}$.
- At the ports, viscous work and conduction are negligible against convection (high Reynolds and Peclet numbers) and $h_0$, $\rho$, $\vec{v}$ are taken uniform, so $\int_{A_k}\rho h_0\,\vec{v}\cdot\vec{n}\,d\sigma=\dot m_k h_{0,k}$.
The balance of Step 4 then gives the form used in the engineering applications:
Dimensional check: each term has units $\mathrm{kg\,s^{-1}\cdot J\,kg^{-1}}=\mathrm{W}$.
2. Flow Work, Enthalpy, and Stagnation Enthalpy ($h_0$)
A crucial step in fluid thermodynamics is recognizing that the normal pressure work term $-\int_{\Sigma_c} p(\vec{v}\cdot\vec{n}) d\sigma$ can be written as:
Moving this "flow work" (the work done by pressure pushing fluid packets across the control surface) to the left-hand side of the energy balance groups it seamlessly with internal energy $e$ to define specific enthalpy $h$:
Combining specific enthalpy with kinetic energy and gravitational potential energy $gz$ defines the Stagnation (Total) Enthalpy $h_0$:
For a calorically perfect gas ($h = c_p T$), the stagnation enthalpy is directly proportional to the stagnation temperature $T_0$ (here the $gz$ term of $h_0$ is neglected, which is customary for gases because $g\,\Delta z \ll c_p T$):
The Engineering Energy Equation for 1D Streams
For steady flow through devices with discrete inlets and outlets, negligible viscous work at open ports, and steady shaft work $\dot{W}_{\text{shaft}}$ (from pumps, compressors, or turbines):
- Adiabatic Duct ($\dot{Q} = 0, \dot{W}_{\text{shaft}} = 0$): Stagnation enthalpy is strictly conserved: $h_{0,\text{out}} = h_{0,\text{in}}$. Kinetic energy increases only at the expense of static temperature ($T_{\text{out}} < T_{\text{in}}$).
- Combustor ($\dot{W}_{\text{shaft}} = 0$): Combustion heat release raises stagnation enthalpy: $\Delta h_0 = q_{\text{combustion}}$.
- Compressor ($\dot{W}_{\text{shaft}} > 0$): Mechanical work input raises total pressure and stagnation temperature: $w_{\text{in}} = c_p(T_{0,\text{out}} - T_{0,\text{in}})$.
- Turbine ($\dot{W}_{\text{shaft}} < 0$): Fluid delivers shaft power to drive the engine fan/compressor: $w_{\text{out}} = c_p(T_{0,\text{in}} - T_{0,\text{out}})$.
Mixing Elbow Stream Exit Temperature $T_s$
Physical Setup: Two streams of an incompressible liquid (density $\rho$, specific heat $c_p$) enter an adiabatic, rigid mixing tee or elbow ($\dot{Q} = 0, \dot{W}_{\text{shaft}} = 0$). Stream 1 enters with mass flow rate $\dot{m}_1$ at temperature $T_1$ and speed $v_1$. Stream 2 enters with mass flow rate $\dot{m}_2$ at temperature $T_2$ and speed $v_2$. The mixed fluid exhausts into the atmosphere at state $s$ through an exit nozzle of area $A_s$.
Objective: Determine the exit mixed temperature $T_s$.
From steady continuity:
The exit discharge velocity is $v_s = \frac{\dot{m}_s}{\rho A_s}$.
For an adiabatic rigid mixer without shaft work ($\dot{Q} = 0, \dot{W}_{\text{shaft}} = 0$):
Expanding the stagnation enthalpies with $h=c\,T$ ($c=c_p$ for an ideal gas; $c$ is the specific heat for a liquid):
Assumption (note): writing $h_0=cT+v^2/2$ drops the pressure term, because for a liquid $h=e+p/\rho=cT+p/\rho$. The expression is valid for an ideal gas, where $h=c_pT$ exactly, or for a liquid only if the inlet and outlet pressures are about equal, so that the $p/\rho$ terms cancel in the balance. In low-speed liquid flow, kinetic energy differences are negligible compared to thermal energy ($v^2/2 \ll c_p T$). The energy equation reduces to the weighted calorimetric average:
When discharge kinetic energy is non-negligible (high-speed nozzle discharge; for a liquid this formula is consistent only if the pressure differences are negligible compared with $ ho v^2$, since the neglected $p/ ho$ terms are of the same order as $v^2/2$; for an ideal gas it is exact):
Ventilation Fan Nozzle Shaft Power $\dot{W}$
Physical Setup: An electric ventilation fan inside an adiabatic duct takes ambient air ($\rho, p_a, T_a$) from rest ($v_1 \approx 0$) and accelerates it through a contracting nozzle discharging into the room at high exit speed $v_e$, area $A_e$, at ambient pressure $p_e = p_a$. Total pressure loss due to friction across duct screens is $\Delta p_{\text{loss}}$.
Objective: Calculate the minimum mechanical shaft power $\dot{W}_{\text{shaft}}$ that must be supplied by the electric motor.
Mass flow rate through the nozzle: $\dot{m} = \rho A_e v_e$.
Applying the engineering energy equation across the fan and nozzle ($\dot{Q} = 0$, $z_1 \approx z_e$):
For an incompressible air flow ($\rho = \text{const}$), enthalpy changes arise from the internal energy generated by viscous dissipation and from pressure differences ($p_e = p_1 = p_a \implies \Delta(p/\rho) = 0$). The loss is defined by the dissipated energy per unit mass, $\Delta p_{\text{loss}}\equiv\rho\,(e_e-e_1)$ (adiabatic duct, so all the dissipation stays in the fluid); this is a definition, not a derived result:
Substituting into the shaft power expression:
where $Q = A_e v_e$ is the volumetric airflow rate ($\text{m}^3/\text{s}$).
- Kinetic energy flux ($\frac{1}{2}\rho Q v_e^2$): The rate of kinetic energy carried away by the high-speed discharge jet.
- Viscous dissipation power ($Q \Delta p_{\text{loss}}$): The mechanical work converted irrecoverably into microscopic internal thermal energy due to friction across fan blades and duct screens.