Kinetic-energy balance for an incompressible Newtonian fluid (source code)

= Kinetic-energy balance for an incompressible Newtonian fluid

For an incompressible <Newtonian fluid> of constant <mass density> $\rho$ and <dynamic viscosity> $\mu>0$, let $\mathbf u$ be <velocity>, $\mathbf f$ body-force density and $\boldsymbol\sigma=-pI+2\mu e$ the <Cauchy stress tensor>. Here $e=(\nabla\mathbf u+(\nabla\mathbf u)^T)/2$ is the symmetric <rate-of-strain tensor>. On a fixed domain $\mathcal D$,
$$
\frac d{dt}\int_{\mathcal D}\frac12\rho|\mathbf u|^2dV+\int_{\partial\mathcal D}\frac12\rho|\mathbf u|^2\mathbf u\cdot\mathbf n\,dS=\int_{\mathcal D}\mathbf u\cdot\mathbf f\,dV+\int_{\partial\mathcal D}\mathbf u\cdot\boldsymbol\sigma\mathbf n\,dS-2\mu\int_{\mathcal D}e:e\,dV.
$$
The nonnegative <viscous dissipation> rate is $\mathcal D_\mu=2\mu\int e:e\,dV$; it enters the <kinetic energy> balance with a minus sign because it converts mechanical <energy> into <heat>.

To derive the identity, take the <inner product> of the <Navier-Stokes equations> with $\mathbf u$ and use <incompressibility>. The <stress> term becomes $\mathbf u\cdot(\nabla\cdot\boldsymbol\sigma)=\nabla\cdot(\boldsymbol\sigma\mathbf u)-\boldsymbol\sigma:\nabla\mathbf u$. Symmetry of $e$ gives $\boldsymbol\sigma:\nabla\mathbf u=2\mu e:e$, and the <divergence theorem> supplies the surface power.

For a fixed closed vessel with stationary no-slip walls and no body-force work, both surface integrals vanish. Its <kinetic energy> can only decrease through <viscous dissipation>. For an open domain, advected <kinetic energy> and <stress> work must also be retained.