Acoustic energy conservation (source code)

= Acoustic energy conservation

Linear acoustic fields obey
$$
\frac{\partial}{\partial t}(K+W)+\nabla\cdot\mathbf I=0,
$$
where
$$
K=\frac12\rho_0|\mathbf u|^2,
\qquad
W=\frac{p'^2}{2\rho_0c_0^2},
\qquad
\mathbf I=p'\mathbf u.
$$