Integral energy equation
From Thermal-FluidsPedia
The first law of thermodynamics for a fixed-mass system (closed system) states that

where Q is positive if heat is transferred into the system, and W is positive if the work is done by the system to the surrounding. The mass of system can store energy internally in a number of different forms. Therefore, the total energy is due to internal energy, E, kinetic, potential, electromagnetic, surface tension and other forms. For the development of equations in this chapter, the contributions of internal and kinetic energies are considered. Other contributions can also be added as a source term or boundary condition based on the physical model.
For a control volume including only one phase, the energy equation for the control volume can be obtained by setting the general property as and
in eq.

from transformation formula i.e.,

where E and e are, respectively, internal energy and specific internal energy, and .
Substituting eq. (2) into eq. (1), an integral form of the energy equation may be written as

The heat flow, δQk / dt, is attributed to conduction (and radiation, for the case of participating medium) across the boundary and/or to internal generation, i.e.,

where is the heat flux vector at the control volume surface, which can be caused by temperature or concentration gradients, as indicated in
from the Fourier's law. The dot product of the heat flux vector
with the unit normal vector n gives heat conducted out of the control volume. The term
is the internal heat generation per unit volume, and it can be caused by chemical reaction, electrical heating, etc.
There are four types of work included in the work rate term. The first is shaft work δWsh / dt, which is done by the control volume to its surroundings that could cause a shaft to rotate or raise a weight through a distance. The second type is the work due to body force, δWb / dt. The third term is associated with pressue change, δWp / dt, and the remaining part of work is necessary to overcome viscous force due to normal and shear stress, δWs / dt.

The work done by the body force is
![\frac{{\delta {W_b}}}{{dt}} = - \int_V {\left[ {\sum\limits_{i = 1}^N {{\rho _i}{{\mathbf{X}}_i}} } \right]} \cdot {{\mathbf{V}}_{rel}}dV \qquad \qquad(5)](/encyclopedia/images/math/f/3/4/f3421c65acffd3b0e6f3ab0e6b5dd2cc.png)
The work associated with pressure can be written as

The viscous work is evaluated by taking the scalar product of the force acting on the surface of the control volume per unit area, , and the velocity,
, over the entire surface area of the control volume:

Substituting eqs. (4) and (6) into eq. (3), one obtains


For a single phase system neglecting the shaft work and including pressure work as part of , the integral form of the energy equation (3) becomes

![= - \int_A {{\mathbf{q''}} \cdot {\mathbf{n}}dA + \int_V {q'''dV} } + \int_A {({\mathbf{n}} \cdot {{{\mathbf{\tau '}}}_{rel}}) \cdot {{\mathbf{V}}_{rel}}dA} + \int_V {\left[ {\sum\limits_{i = 1}^N {{\rho _i}{{\mathbf{X}}_i}} } \right] \cdot {{\mathbf{V}}_{rel}}dV} \qquad \qquad(9)](/encyclopedia/images/math/1/d/5/1d5718c4435ef4c7c08dc6ae5987242f.png)
where the left-hand side represents the rate of total energy change in the control volume and the rate of total energy flow into or out of the control volume. The four terms in the right-hand side represent heat transfer across the boundary of the control volume, internal heat generation, work done by the stress (including normal, shear stress, and pressure at the boundary of control volume), and the work done by the body force.
For control volumes including multiple phases, the energy equation becomes (Faghri and Zhang, 2006)
![\begin{array}{l} \sum\limits_{k = 1}^\Pi {\left[ {\frac{\partial }{{\partial t}}\int_{{V_k}(t)} {{\rho _k}\left( {{e_k} + \frac{{{\mathbf{V}}_{k,rel}^2}}{2}} \right)dV + \int_{{A_k}(t)} {{\rho _k}({{\mathbf{V}}_{k,rel}} \cdot {{\mathbf{n}}_k})\left( {{e_k} + \frac{{{\mathbf{V}}_{k,rel}^2}}{2}} \right)dA} } } \right]} \\
= \sum\limits_{k = 1}^\Pi {\left[ { - \int_{{A_k}(t)} {{{{\mathbf{q''}}}_k} \cdot {{\mathbf{n}}_k}dA} + \int_{{V_k}(t)} {{{q'''}_k}dV} + \int_{{A_k}(t)} {({{\mathbf{n}}_k} \cdot {{{\mathbf{\tau '}}}_{k,rel}}) \cdot {{\mathbf{V}}_{k,rel}}dA} } \right.} \\ {\rm{ }}\left. { + \int_{{V_k}(t)} {\left[ {\sum\limits_{i = 1}^N {{\rho _{k,i}}{{\mathbf{X}}_{k,i}}} } \right] \cdot {{\mathbf{V}}_{k,rel}}dV} } \right] \\ \end{array} \qquad \qquad(10)](/encyclopedia/images/math/4/9/b/49b76dd94fb565ce7a7c41792b2a93f3.png)
where the second integral in the bracket on the left-hand side is advection of energy due to mass flow.
References
Faghri, A., and Zhang, Y., 2006, Transport Phenomena in Multiphase Systems, Burlington, MA.
Faghri, A., Zhang, Y., and Howell, J. R., 2010, Advanced Heat and Mass Transfer, Global Digital Press, Columbia, MO.