Studiot said:
And how do you guys get the navier stokes equations in the first place?
Using Reynolds' transport theorem would be the easiest way to go about it or just a straight integral control volume analysis, which is intimately related to RTT.
At any rate, to the OP:
If you start with the Navier-Stokes equations and assume the flow to be inviscid, you get the Euler equation
[tex]\dfrac{\partial \rho}{\partial t} + \vec{V}\cdot\nabla\vec{V} = -\dfrac{1}{\rho}\nabla p[/tex]
If you take the streamwise component of this equation, you get
[tex]u\dfrac{\partial u}{\partial s} = -\dfrac{1}{\rho}\dfrac{\partial p}{\partial s}[/tex]
Integrating this along a streamline
[tex]\int\left(u\dfrac{\partial u}{\partial s} + \dfrac{1}{\rho}\dfrac{\partial p}{\partial s}\right) = 0[/tex]
[tex]\dfrac{\partial}{\partial s}\int\left(u\;d u + \dfrac{d p}{\rho}\right) = 0[/tex]
[tex]\dfrac{\partial}{\partial s}\left(\dfrac{u^2}{2} + \int\dfrac{d p}{\rho}\right) = 0[/tex]
which is a statement of Bernoulli's principle where the integrand is constant over a streamline.