Demonstrate that in the case of a steady flow of an ideal fluid Eq. (1.7a) turns into Bernoulli equation.
For a steady flow, Euler's equation gives p + ½ρv² + ρ g z = constant along a streamline. With your sliders the constant is kPa.
Problem statement
Problem 1.259. Demonstrate that in the case of a steady flow of an ideal fluid Eq. (1.7a) turns into Bernoulli equation.
Interpretation. Eq. (1.7a) is the Euler equation of motion of an ideal fluid, ρ dv/dt = f − ∇p, where f is the force per unit volume. Here the only body force is gravity, so f = ρ g. We must start from it, use the fact that the flow is steady, and arrive at the Bernoulli equation. The page follows one fluid element along a streamline of a pipe with a hump and a narrow middle, and shows that p, ½ρv² and ρ g z always add up to the same number.
We assume an incompressible ideal fluid (constant density ρ, no viscosity), and a steady flow, so the velocity at each point does not change with time. The z axis points up and g = 9.8 m/s². For the drawings, the pipe has the length 4 m, the area at the inlet is A1, and the area at the middle is (1 − k) A1. The streamline rises by the hump height h at the middle and comes back down. The pipe is drawn thicker than a real streamtube, so that the pressure colour can be seen.
Symbols: p is the pressure, v the speed, z the height, ρ the density, s the distance along the streamline, and the index 1 marks the values at the inlet.
The big idea in plain words
Take a small piece of fluid moving along its path. The fluid pressing on its back end pushes it forward, the fluid in front pushes back, and gravity pulls it down. The change of its kinetic energy is the work of these forces. When this is written for a short step along the path, it says that one total, made of pressure, kinetic energy and height energy per volume, does not change.
That total is the Bernoulli constant. The pipe on this page lets you watch it: where the pipe narrows the fluid speeds up, ½ρv² grows and the pressure falls. Where the pipe rises, ρ g z grows and the pressure falls again. The sum stays the same.
The solution in each frame
Lab frame (at rest)
The flow is steady in the lab frame, so the lab frame is the right one. In a frame that moves with the fluid the flow would not be steady.
The solution step by step
Step 1, Euler's equation for a steady flow. For an ideal fluid with the body force f = ρ g,
Here dv/dt is the acceleration of one fluid element as it moves. In a steady flow the velocity at a fixed point does not change in time (∂v/∂t = 0), so the whole acceleration comes from the element moving to a place where the velocity is different:
Step 2, a vector identity. For any velocity field,
The vector v × (∇ × v) is perpendicular to v, because a cross product is perpendicular to both of its factors.
Step 3, along a streamline. A streamline is a line that is everywhere in the direction of v. Let s be the length along it. Take the component of Euler's equation along the streamline. The cross-product term drops out, because it has no component along v. The component of ∇ along the streamline is d/ds, and the component of g along it is −g dz/ds (g points down):
Step 4, add the terms. The density is constant, so it can go inside the derivative:
A quantity whose derivative along the line is zero is a constant:
This is the Bernoulli equation. With your sliders the constant is p1 + ½ρv1² = kPa. At the marked element, at s = m, the three terms are p = kPa, ½ρv² = kPa and ρ g z = kPa, and they add up to kPa.
Step 5, the whole fluid. If the flow is also irrotational (∇ × v = 0), the cross-product term is zero for every direction, not only along v. Then ∇(p + ½ρv² + ρ g z) = 0, and the constant is the same for the whole fluid, not only along one streamline.
A separate calculation does not use the Bernoulli equation. It steps Euler's equation along the streamline: dp/ds = −ρ v dv/ds − ρ g dz/ds, with the speed from continuity (v = v1 A1 / A) and the height of the pipe. Starting from the inlet pressure and adding 2000 trapezoid steps up to s = m gives p = kPa, against kPa from the Bernoulli equation. The relative difference is .
Other methods
Energy method. A small element of volume dV moves along the streamline by a short step. The net pressure force along the path is −dp dV, and gravity does the work −ρ g dz dV. The work equals the change of the kinetic energy, d(½ρv²) dV. Dividing by dV gives d(½ρv²) = −dp − ρ g dz, the same as Step 4.
Check with the pipe. Where the pipe has the area A, the speed is v = v1 A1 / A, so ½ρv² grows by a known amount when the pipe narrows. The pressure then falls by that amount plus ρ g z. The graph shows this.
Limit checks. With k = 0 and h = 0 the pipe is straight and level, so v and z do not change, and p is constant too. With v = 0 everywhere, the equation gives p + ρ g z = constant, the pressure of a fluid at rest.
Units check. p, ½ρv² and ρ g z all have the unit of pressure (Pa), so they can be added.
What each slider changes
| Control | What it changes |
|---|---|
| Position s (header slider and Play) | Where the marked element is, and the values of p, ½ρv² and ρ g z there. The constant does not depend on s. |
| Inlet speed v1 (derivation slider too) | The speed along the pipe, the dynamic pressure, the constant and the graphs. |
| Inlet pressure p1 | The pressure along the pipe, the colours and the constant. |
| Narrowing k | The shape of the pipe, the speed and the pressure along it. |
| Height of the hump h | The shape of the pipe, ρ g z and the pressure along it. |
| Density ρ | The dynamic and gravity terms, the pressure and the constant. The speeds do not depend on ρ. |
Parameters
| Quantity | Symbol | Value used |
|---|---|---|
| Inlet speed | v1 | m/s |
| Inlet pressure | p1 | kPa |
| Narrowing | k | |
| Height of the hump | h | m |
| Density | ρ | kg/m³ |
| Speed at s | v | m/s |
| Bernoulli constant | p + ½ρv² + ρ g z | kPa |
Exam traps
- Using the Bernoulli equation between points on different streamlines of a rotational flow. The constant is the same only along one streamline, unless the flow is irrotational.
- Using it for an unsteady flow. In the derivation ∂v/∂t = 0 was needed.
- Using it for a compressible gas or for a fluid with viscosity. Both were excluded.
- Forgetting that a narrower pipe means a higher speed and a lower pressure, not a higher pressure.
- Mixing up the signs: the gravity term is +ρ g z with z measured upward, so a higher point has a lower pressure for the same speed.