Energy flux (source code)

= Energy flux

Energy flux is the energy crossing a unit area per unit time. For a one-dimensional inviscid gas with internal-energy density $W$, it is
$$
u\left(p+W+\frac12\rho u^2\right).
$$