I am having an exercise: Deriving the Bernoulli's equation ($\space p_1+\frac{1}{2}\rho V_1^2 = p_2+\frac{1}{2}\rho V_2^2 $ ) from the energy equation: $$\rho \frac{D(e+V^2/2)}{Dt} = \nabla(pV)$$To make it clear: $\rho$ is the density, e is the internal energy of one infinitesimal element, p and V are the pressure and the velocity, respectively. with the conditions: steady, incompressible, invisid flow and no body forces.
Here is what it was going: Because of the invisid flow, then I thought $$\frac{De}{Dt}=0 \space(*)$$(maybe I was wrong at this point)
Then I had the equation: $$\rho \frac{D(V^2/2)}{Dt} = \nabla(pV)$$ It was straightforward for me to derive the Bernoulli's equation from above equation and I had done the job, but then a thing arise: Bernoulli's equation hold along a streamline, consider a streamline of the flow below:
Let $V_1 \neq V_2$, then from Bernoulli's equation, we have $p_1 \neq p_2$. Assume the flow is perfect gas, then from the perfect gas's equation: $p = \rho RT$, we will have $T_1 \neq T_2$ (because $\rho$, R are constant). We also know that e = $c_vT$ , $c_v$ is the specific heat at constant volume. We point out: $e_1 \neq e_2$, that means the element at 1 has different internal energy from the element at 2 at an instant time. But after amount of time, the element at 1 (has internal engery $e_1$) will go to 2 and achive the internal energy $e_2$ so we can say $De/Dt \neq 0$. This result is contrast with the above (*) equation. Can someone point out my mistake?