Ideal flow

The pressure that depends on the past

Bernoulli's equation for an unsteady flow has a term nobody writes down and a right-hand side that is a function of time rather than a constant. The term is exactly zero once a flow has started and is the whole of the flow while it is starting, which is why it never appears in an answer and is never negligible in getting to one.

Worth reading first: Fast means low pressure · The force of getting going.

Bernoulli’s equation for an unsteady potential flow is

pρ+ϕt+12q2=F(t),\frac{p}{\rho} + \frac{\partial\phi}{\partial t} + \tfrac12 q^2 = F(t),

and two things about it are usually skipped.

The first is ϕ/t\partial\phi/\partial t, which is exactly zero once a flow has settled and is the whole of the flow while it is settling. So it never appears in a steady answer, and it is never negligible in getting to one.

The second is the right-hand side. It is a function of time, not a constant: the same everywhere in the fluid at each instant, and different from instant to instant. It is allowed to be a function because the potential is only defined up to one, and it is the accounting entry that makes the whole equation consistent.

A tube opened at the foot of a reservoir. Speed in a two-metre tube fed by a one-metre head, from the instant it is opened. The quasi-steady answer — Torricelli's √(2gh), which is what dropping the time derivative from Bernoulli's equation gives — is reached at the instant of opening, before any fluid has moved. The true answer is a hyperbolic tangent with a time constant of 2L/√(2gh), and it takes 2.4 seconds to come within one per cent. The whole of that transient is one term.
Fig. 1 The consequence, in the simplest apparatus anybody has. A two-metre tube under a one-metre head, opened at t = 0. The quasi-steady answer — Torricelli’s speed, which is what dropping the time derivative gives — is reached at the instant of opening, before any fluid has moved.

Two ways the past gets in

The term carries history into the pressure, and it does so in two distinct ways which are worth separating because they look nothing alike.

As a pressure impulse. Start a body impulsively and integrate the equation across the instant. Everything bounded integrates to nothing across an interval of zero length; what survives is

pdt=ρϕ,\int p\,dt = -\rho\phi,

so the pressure impulse is the velocity potential, times the density, with a sign. That is a striking statement about a quantity normally introduced as a mathematical convenience with an arbitrary constant in it: hit the fluid, and the bruise is shaped like ϕ\phi.

As a finite time to start. In a flow that is being established rather than struck, the term is what takes up the difference between the driving pressure and the kinetic energy the flow does not yet have, and it sets the timescale of the transient.

The bruise

For a cylinder started instantaneously to speed UU, the potential on its surface is Uacosθ-Ua\cos\theta, so the pressure impulse is ρUacosθ\rho U a\cos\theta — largest at the front and the back, zero at the shoulders, of opposite sign fore and aft.

Integrating that over the surface gives ρπa2U\rho\pi a^2 U, which is the added mass times the speed, which is the hydrodynamic impulse computed by a completely different route in a completely different essay. Two integrals of two different quantities, agreeing to nine figures.

The bruise an impulsive start leaves. The pressure impulse over the surface of a cylinder started from rest instantaneously. Integrating the unsteady Bernoulli equation across the instant leaves ∫p dt = −ρφ, so the potential — which is a mathematical convenience with an arbitrary constant in it — is a measurable quantity. It is largest at the front and the back, zero at the shoulders, and of opposite sign fore and aft; its integral over the surface is the added mass times the speed.
Fig. 2 The pressure impulse over the surface of a cylinder started from rest. It is a measurable distribution, and it is a picture of the velocity potential — which is why an object that seems to have no physical content turns out to be exactly what an instantaneous manometer would read.

The practical version of this is slam. A hull dropping onto a wave surface, a wave hitting a sea wall, a water-hammer front arriving at a bend: in each case the pressure is enormous and the duration is short, and what the structure cares about is the integral rather than the peak. The integral is a potential flow quantity and can be computed exactly, while the peak depends on compressibility, on entrained air, and on the local shape, and cannot.

The tube that takes two seconds

Take a tube of length LL and area AA leading from the bottom of a reservoir of head hh, full of water, with a valve at the end. Open it.

Unsteady Bernoulli from the free surface to the exit, with the flow uniform along the tube, gives

LdUdt+12U2=gh,L\frac{dU}{dt} + \tfrac12 U^2 = gh ,

whose solution from rest is

U=UtanhUt2L,U=2gh.U = U_\infty\tanh\frac{U_\infty t}{2L},\qquad U_\infty = \sqrt{2gh}.

The time constant is 2L/2gh2L/\sqrt{2gh}, set by the length of the tube — not its diameter, not the viscosity, not the roughness, none of which appears anywhere. For L=2L = 2 m and h=1h = 1 m that is 0.90 seconds, and reaching within one per cent of Torricelli’s 4.43 m/s takes 2.4 seconds.

The two terms in the equation are equal at 0.80 seconds. Before that the flow is dominated by the term that is usually deleted; after it, by the term that is usually kept.

Reading the time constant

The expression 2L/2gh2L/\sqrt{2gh} deserves reading rather than glancing at, because everything about it is a little surprising.

The area does not appear. A wide tube and a narrow one under the same head take the same time to start, because the driving pressure and the inertia both scale with the area and it cancels. What matters is the length of the fluid column being accelerated.

A longer tube starts more slowly and ends at the same speed. The final velocity is Torricelli’s and knows nothing about LL; the approach to it takes proportionally longer. So a long pipeline is not slower to deliver — it is slower to become fast.

And the higher the head, the shorter the transient. Doubling hh multiplies the final speed by 2\sqrt2 and divides the time constant by the same factor, so the acceleration goes up by two. Every part of that is the algebra of the equation and none of it is obvious in advance.

The shape of the solution is worth a note too. A hyperbolic tangent is what an exponential approach becomes when the resisting term is quadratic rather than linear, and that is the signature of a transient limited by convective inertia rather than by friction. A friction-limited pipe fills exponentially; an inertia-limited one fills as a tanh, and the difference is measurable.

What a quasi-steady calculation gets wrong

It is worth being precise about the failure, because “quasi-steady” is often taken to mean “accurate except during a brief transient”.

Dropping ϕ/t\partial\phi/\partial t leaves 12U2=gh\tfrac12 U^2 = gh, which says U=UU = U_\infty at every instant, including t=0t = 0. It is not a slightly wrong answer during the transient; it is the answer to a different question, and it has the flow at full speed before any fluid has moved.

The check written for this calculation therefore demands a disagreement: it requires the true solution to be below fifteen per cent of the final speed a tenth of a time constant in, and refuses a computation in which the two agree early.

Where quasi-steady is legitimate is where the timescale of the forcing is long compared with L/UL/U — which is what a reduced frequency measures, and is the number to compute before assuming it.

The lift does not arrive when the incidence doesBound circulation against distance travelled, in units of the settled value. The wing starts far short of its final lift and takes tens of chords to collect the rest, because every scrap of circulation it takes has to be paid for with an opposite vortex shed behind it, and that vortex's own downwash holds the wing back until it is far away. Wagner's exact 1925 answer is drawn beside the model in the colour this site keeps for a borrowed claim: the shapes agree and the model is slower, by about a fifth at its worst.051015202530354000.20.40.60.81semichords travelledfraction of the settled circulationhalf of it here, at 1.47this modelWagner, 1925 — borrowedsettles at 99.15%of 2πα = 0.5483after 150 semichordsworst gap to Wagner0.202 at s = 0.63recorded, not tuned awayan unsteady vortex lattice with a convected wake — Wagner's curve is borrowedα = 5° · any Reynolds number — inviscid, thin, small incidence
Fig. 3 The same question asked of a wing rather than a pipe, and the reason the answer matters aerodynamically: a wing started impulsively does not have its steady lift, and reaches half of it only after travelling about two chords. The mechanism is the shed vorticity rather than a tube of fluid, and the shape of the transient is the same kind of object.

The oscillation that is nothing else

The cleanest demonstration that the term is not a small correction is a flow in which it is the entire dynamics.

Fill a U-tube with liquid, displace it, and release. The column of length LL is accelerated by the imbalance 2ρgx2\rho g x, so Lx¨=2gxL\ddot x = -2gx: simple harmonic motion with period 2πL/2g2\pi\sqrt{L/2g}, with no amplitude in it.

There is no viscosity in that calculation and no vorticity anywhere in the flow. The fluid is ideal, the motion is irrotational, and every steady-state theory in this collection would say nothing is happening — and it oscillates, at 1.42 seconds for a metre of liquid, because the whole of the physics is in the term that vanishes from every steady answer.

A U-tube, oscillating on nothing but the unsteady term. Displacement of the liquid in a U-tube released off balance, integrated from L ẍ = −2gx. The fluid is inviscid and irrotational, so there is no friction and no vorticity anywhere; the entire dynamics is the time derivative of the potential, which is exactly the term that vanishes from every steady answer. The period is 2π√(L/2g) and has no amplitude in it.
Fig. 4 An ideal fluid oscillating. Nothing dissipates, nothing spins, and the period contains only the length of the column and gravity. The restoring force is the imbalance and the inertia is the whole column, which is the added mass of the simplest possible geometry.

The same term with a gas spring instead of gravity

The U-tube oscillates because a column of fluid has inertia and gravity supplies a restoring force. Replace the gravity with the compressibility of a trapped volume of gas and the same term produces the most familiar acoustic object there is.

A Helmholtz resonator is a cavity with a short open neck. The fluid in the neck moves as a plug — its inertia is the ϕ/t\partial\phi/\partial t term integrated along the neck — and pushing it inwards compresses the gas in the cavity, which pushes back. Two elements, an inertia and a spring, and a frequency

f=c2πAVLf = \frac{c}{2\pi}\sqrt{\frac{A}{V L'}}

with AA the neck’s area, VV the cavity’s volume and LL' its effective length. For a wine bottle — three quarters of a litre, a neck a centimetre across and eight centimetres long — that is about 110 hertz, which is the note a bottle hums when it is blown across, and it is set by a volume and a neck rather than by any dimension a wavelength would care about.

The primed length is where this essay’s argument is doing its work. The fluid that has to be accelerated is not only the fluid geometrically inside the neck: the flow converges into the mouth from outside and diverges out of the other end, and that surrounding fluid moves too. The correction — about 0.8 of a neck radius at each end — is an added mass, computed by exactly the surface integral of ϕ\phi this essay identifies as the pressure impulse, and it is a substantial fraction of a short neck’s own length. A bottle’s note cannot be predicted without it.

Once the two elements are named the analogy runs the whole way. Pressure plays the part of voltage, volume flow rate the part of current, the neck’s fluid inertia is an inductance — the inertance, ρL/A\rho L'/A — and the cavity’s compressibility a capacitance. Any duct network is then a circuit, its resonances are the circuit’s, and the whole apparatus of impedance carries over unchanged. That is how an exhaust silencer is designed, how a vented loudspeaker cabinet is tuned, and how the resonances of the human vocal tract are computed.

It is also why an engine’s intake is a length rather than merely a pipe. An inlet runner has an inertance and the cylinder a capacitance, and tuning the pair so that a pressure wave arrives at the valve just as it closes is worth several per cent of an engine’s torque at the speed it is tuned for — which is why variable-length intake manifolds exist, and why an engine’s torque curve has bumps in it that have nothing to do with combustion.

And it is why a car with one rear window open at speed produces an unbearable low-frequency buffeting. The cabin is the volume, the open window is the neck, the shear layer across the opening supplies the excitation, and the resulting Helmholtz frequency is fifteen or twenty hertz — below hearing and squarely in the range the inner ear objects to. The remedy is to open a second window, which changes the neck and moves the frequency, and the fact that it works is a demonstration that the term dropped from every steady Bernoulli equation is the one doing all of it.

Where the energy is. The fraction of the fluid's kinetic energy that lies inside a given radius, for a cylinder moving through fluid at rest. Half of it is within 1.41 radii of the surface and the last few per cent are spread over the rest of the plane, which is why the total is finite at all.
Fig. 5 Where the energy the unsteady term is moving actually sits. Half of the fluid’s kinetic energy is within 1.41 radii of a moving cylinder’s surface and the last few per cent are spread over the rest of the plane — which is why the total converges, and why a force that is the rate of change of that total is a local quantity in practice even though its integral is not.

Where the term hides in plain sight

Three places where it is doing work under another name.

Added mass. The force of getting going is the surface integral of the pressure that the ϕ/t\partial\phi/\partial t term produces when the body accelerates. Writing it as an effective mass is a way of avoiding ever mentioning the term.

Water hammer. Stopping a column of water costs more than moving it, and the pressure rise is ρcΔU\rho c\,\Delta U rather than ρLdU/dt\rho L\,dU/dt only because the fluid’s compressibility limits how much of the column participates. In an incompressible idealisation the pressure rise on instantaneous closure is infinite, and the infinity is this term.

And the virtual mass of a bubble or a droplet, which is the same integral and is what makes a bubble in an accelerating liquid rise faster than gravity alone would take it.

The other place the constant of integration matters

The right-hand side being a function of time rather than a constant is easy to skip past, and there is one situation in which skipping it produces a wrong answer rather than an untidy one.

Consider a body accelerating through a fluid, and work in the frame of the body. In that frame the fluid far away is accelerating too, so there is an apparent body force, and the “steady” Bernoulli equation applied between a distant point and the body’s surface is wrong by a term linear in distance.

The correct procedure is to work in the ground frame, where the fluid at infinity is at rest and F(t)F(t) is fixed by conditions there. Getting this wrong is the standard route to a spurious pressure gradient in an accelerating frame, and it is the fluid version of forgetting a pseudo-force.

The same care is needed for a rotating frame, where the additional term is not a function of time alone and Bernoulli’s equation acquires a centrifugal potential. That is why the analysis of a rotating flow is written with a modified pressure from the start.

The fluid a moving cylinder carries with it. Kinetic energy density around a cylinder moving through fluid that is at rest far away. The fluid is not dragged along in a lump: it is pushed aside in front and closes in behind, and the energy in that motion is what has to be supplied to change the body's speed.
Fig. 6 Where the energy that the transient is filling up actually goes. It is not distributed evenly: half of it is within one and a half radii of the body, which is why the timescale of a starting flow is set by a local length rather than by the size of the domain.

What the picture cannot show

A transient is a sequence and a figure is a moment. The starting-tube figure is a curve of speed against time, which is the honest way to draw it, and it means the flow field itself — which is uniform along the tube and therefore uninteresting — is nowhere in the picture.

The pressure impulse is drawn as a distribution and it lasts no time. A figure of it is a figure of an integral over an instant, and nothing about the drawing conveys that the pressure during that instant was unbounded. What is finite is the area under it.

And the incompressible idealisation removes the mechanism that limits everything. In a real liquid an impulsive start sends a pressure wave along the tube at the speed of sound, and the “instantaneous” response of the whole column is really the response after that wave has traversed it. For a two-metre tube that is a millisecond, which is short compared with 0.9 seconds — and for a two-kilometre pipeline it is not, which is why water hammer is a wave problem and this is not.

One blob, felt everywhere. The pressure a single compact patch of acceleration produces, against the logarithm of the distance from it. It is a straight line, which is what a two-dimensional elliptic equation gives: the response falls off as ln r, so a disturbance ten radii away is nearly as strongly felt as one at two, and there is no distance at which the fluid stops noticing. Nothing here propagates — the whole field appears at once, because an elliptic equation has no time in it.
Fig. 7 The other statement about how quickly pressure gets around, and the reason the previous paragraph is a caution rather than a contradiction. In an incompressible flow the pressure satisfies an elliptic equation and adjusts everywhere at once, which is an idealisation of a wave that travels very fast rather than a claim that anything is instantaneous.
The momentum of the fluid, against the shape of the region it is added up over. Momentum of the fluid around a cylinder moving through it, divided by the body's hydrodynamic impulse, against the aspect ratio of the rectangle the integral was taken over. Every rectangle has the same area and contains the same body. A tall region gives minus the impulse, a long one gives plus it, a square gives exactly zero, and the limit of a large region is whichever of those the region was shaped like. The momentum of an unbounded ideal flow is not a number.
Fig. 8 And the quantity that will not behave, for contrast. The fluid’s momentum divided by the body’s impulse, against the shape of the region it was summed over: same area, same body, and an answer that runs from 1-1 to +1+1 depending on whether the region is tall or long. The unsteady term is exactly what makes the impulse well defined where the momentum is not.

Why it disappears from the textbooks

Worth a paragraph, because the omission is systematic rather than accidental.

Bernoulli’s equation is introduced for steady flow, where it is an algebraic relation between two points and can be applied by inspection. The unsteady form is a differential relation along a path, needs the potential rather than just the velocity, and requires knowing that the flow is irrotational — a much stronger hypothesis than the steady form needs, since the steady equation holds along a streamline whatever the vorticity is while the unsteady one needs ϕ\phi to exist at all.

So the term is dropped early, for good reasons, and rarely picked up again. The cost is a generation of engineers whose first instinct about a starting flow is Torricelli.

The last observation is worth making explicit because it ties two ends of the ladder together. Kelvin’s minimum-energy theorem says which field the boundary conditions select; the unsteady term says how long the fluid takes to get there and what it costs. The first is a statement about a state and the second about a history, and the pressure impulse is the quantity that belongs to both — a surface integral of the potential, which is the state, taken over the duration of the transient, which is the history.

A closing note on when the term can be dropped, since most of this essay has been about the cost of dropping it. The condition is that the flow’s own timescale be long compared with the time a fluid particle spends traversing the region of interest — the reduced frequency fL/UfL/U small — and for most of aerodynamics it is: a wing in steady flight has no unsteady term at all, and one in a slow manoeuvre has a negligible one. The term matters at starts, at stops, at impacts, and in oscillations whose period is comparable with a transit time, which is a short list and contains most of the occasions on which anything breaks.

Who found it, and when

Euler had the unsteady form in 1757, in the same paper as the equations; Lagrange gave the potential version in 1781. The pressure-impulse interpretation is Kelvin’s and is of a piece with his impulse and his circulation theorem — all three are statements about what an ideal fluid remembers. The tube transient is in every nineteenth-century hydraulics text and in rather few modern ones.

The surprising connection is with how the term is used in naval architecture. A ship’s added mass is measured by hitting it — a decay test, in which the hull is displaced and released and its natural period is compared with the period it would have with no water — and the difference is the same ϕ/t\partial\phi/\partial t integral computed above for the U-tube. So a quantity introduced as an abstraction in a chapter nobody reads is the thing an experimenter measures with a rope and a stopwatch, and it has been measured that way since the 1860s.

Where the ladder goes next

Below this rung are the steady relation this generalises and the added-mass force it produces.

Beside it is the impulse, which is the same surface integral seen as a momentum, and how slow is slow enough for quasi-steady to be true.

What links here

Computed from the collection rather than written here: the essays that point at this one.

Shares its objects with

Essays naming at least two of the same things, that neither author linked.

Named objects

A dashed tag is an object no other essay names yet.

Added massBernoulli's equationHydrodynamic impulseMeasurementMomentumPotential flowPressure impulseQuasi-steadyUnsteady flowVelocity potential