I have come across an extension of Bernoulli's equation in the Feynman lectures.
It has another term in the energy equation describing the internal energy of the fluid:
$$ \label{Eq:II:40:17} \frac{p_1}{\rho_1}+\frac{1}{2}\,v_1^2+\phi_1+U_1= \frac{p_2}{\rho_2}+\frac{1}{2}\,v_2^2+\phi_2+U_2 $$
It then goes on to say that if the fluid is incompressible, internal energy is equal on both sides $U_1=U_2$, so it is removed.
But how does $U_1=U_2$ reconcile with the fact that a fluid gets colder as the pressure drops and the equipartition theorem which says that energy is shared equally amongst all degrees of freedom.
If static pressure drops then shouldn't internal energy also drop to maintain equipartition?
Why can we make this assumption?