Flows and fields

A leaking cart leaps ahead of its own water

Open a hole in the back of a water tank on a cart and the cart's first acceleration is not the thrust divided by the cart and its water. Part of the water does not move with the tank at once: it sloshes, and until it does the thrust has less mass to push. In a cubic tank on a light cart the first acceleration is thirty per cent above the rigid value; in a long shallow tank it is more than three and a half times, and in every slosh the returning water pushes the cart backwards although the jet never stops pushing it forwards. The momentum inside the box is not its mass times the box's speed, and the transport theorem says exactly how much it is not.

Worth reading first: Mass leaving a cart pushes nothing unless it leaves with a speed of its own · A rate of change that will not hold still.

Mass leaving a cart pushes nothing unless it leaves with a speed of its own used the transport theorem to settle an old argument about carts that lose mass. A cart that drips through a hole in its floor does not speed up, because the drops leave at the cart’s own speed and carry their momentum away with them; a cart with a hole in its back wall does, because the jet leaves backwards, and Torricelli’s speed out of the hole makes it a thruster with exactly twice the force the hole’s hydrostatic pressure would suggest. A one-metre tank with a ten-square-centimetre hole, on a hundred-kilogram cart, ends at 5.31 metres a second.

Every number in that essay treated the water as a rigid mass until it left. That is the assumption the transport theorem is most careful about and the one the calculation was least careful with. The theorem says the force on whatever is inside a control volume equals the rate of change of the momentum inside it plus the net flux of momentum out. The momentum inside a tank of water is not the water’s mass times the tank’s speed, unless the water inside moves exactly with the tank. Water in an open tank does not: it has a free surface, and the free surface can slosh.

This essay asks what the slosh does to the cart. The answer is small in speed and large in acceleration, and in a long shallow tank the cart is pushed backwards, once a cycle, by a jet that is pushing it forwards all the time.

The hole opens and the cart leaps ahead of its water, then rings at the slosh periodThe cart's acceleration in the first twelve seconds after a 10 cm² hole opens in the back wall of a tank 1 m long and 1 m deep, on a 100 kg cart, with the water sloshing and with the water held rigid. The rigid cart accelerates at 17.8 mm/s² from the start. With the water free to slosh the first acceleration is 1.3 times that, because 26 per cent of the water has not yet started to move, and the acceleration then swings about the rigid value with the slosh period, 1.13 s. Dialled through tank lengths of 0.5, 1 and 2 m at the same volume, the longer tank sloshes more of its water and rings slower.024681012010203040time since the hole opened, scart acceleration, mm/s²water held rigidwater free to slosha frictionless cart, a rectangular tank leaking through its back wall, the water split into a rigid part and its first sloshing modeinviscid linear slosh, 1% damped; Torricelli's jet; a 100 kg cart, one cubic metre of water, a 10 cm² hole
Fig. 1 The cart’s acceleration in the first twelve seconds after a 10 cm² hole opens in the back wall of a tank 1 m long and 1 m deep, on a 100 kg cart, with the water sloshing and with the water held rigid. The rigid cart accelerates at 17.8 mm/s² from the start. With the water free to slosh the first acceleration is 1.3 times that, because 26 per cent of the water has not yet started to move, and the acceleration then swings about the rigid value with the slosh period, 1.13 s. Dialled through tank lengths of 0.5, 1 and 2 m at the same volume, the longer tank sloshes more of its water and rings slower.

The water as two masses

Engineers who design fuel tanks for rockets and water towers for earthquakes have a standard way of saying how much of a tank’s liquid moves with it. For a rectangular tank of length LL along the motion and depth hh, potential flow splits the liquid into a part that moves rigidly with the walls and a series of sloshing modes, each behaving as a mass on a spring. The lowest mode carries most of the sloshing, and its mass and frequency are (Graham and Rodriguez, 1952)

m1mw=8π3 Lhtanh⁡πhL,ω12=πgLtanh⁡πhL.\frac{m_1}{m_w}=\frac{8}{\pi^3}\,\frac{L}{h}\tanh\frac{\pi h}{L},\qquad \omega_1^2=\frac{\pi g}{L}\tanh\frac{\pi h}{L}.

In a shallow tank the share tends to 8/π28/\pi^2, 81 per cent of the water, and the frequency to that of a shallow-water wave crossing the tank, πgh/L\pi\sqrt{gh}/L. In a deep one the share falls as L/hL/h, because only the water near the surface takes part. A cube of water sloshes 25.7 per cent of itself, at a period of 1.13 seconds.

The cart’s equations then follow from the transport theorem with nothing else added. The only horizontal force on the cart and everything in it is the jet’s thrust, so

(M+mw)V˙+m1q¨=ρau2,(M+m_w)\dot V+m_1\ddot q=\rho a u^2 ,

where VV is the cart’s speed and qq is the sloshing mass’s displacement relative to the tank: the momentum inside is (M+mw)V+m1q˙(M+m_w)V+m_1\dot q, not (M+mw)V(M+m_w)V. The slosh mass obeys its own spring, q¨+2ζω1q˙+ω12q=−V˙\ddot q+2\zeta\omega_1\dot q+\omega_1^2q=-\dot V, driven by the tank’s acceleration as a pendulum in a lift is. The jet’s speed is Torricelli’s from the depth at the hole, and the depth drains as the water leaves.

The leap

At the instant the hole opens, the sloshing mass has not moved: qq and q˙\dot q are zero, and the spring exerts no force. The thrust therefore accelerates the cart and the rigid part of the water only, and the first acceleration is

V˙(0)=ρau2M+mw−m1,\dot V(0)=\frac{\rho a u^2}{M+m_w-m_1},

larger than the rigid-water value ρau2/(M+mw)\rho au^2/(M+m_w) by the factor (M+mw)/(M+mw−m1)(M+m_w)/(M+m_w-m_1). For the cube on a hundred-kilogram cart that is 1.305: the cart leaps ahead at 23.2 millimetres a second squared instead of 17.8. The sloshing water, left behind, piles up against the back wall, its spring is compressed, and it begins to push the cart; it overshoots, and the cart’s acceleration swings about the rigid value at the slosh period, slowly dying as the slosh is damped. The marched equations reproduce the onset factor to two parts in a million.

The size of the leap is set by the share of the water that sloshes, and that is set by the tank’s shape. At the same cubic metre, a tank half a metre long and two deep sloshes 13 per cent of its water and leaps by 1.13; one two metres long and half a metre wide sloshes 47 per cent and leaps by 1.76. The longer the tank in the direction of travel, the more of its water is not really aboard when the push begins.

The shallower the tank, the larger the share of water that lags and the harder the cart leaps. Against the tank's depth over its length: the share of the water in the first sloshing mode, from 8/π² = 0.81 for a shallow tank down to 0.026 when the depth is three lengths, and the cart's first acceleration over the rigid-water value for one cubic metre of water on a 100 kg cart, 3.67 at a depth of a sixteenth of the length and 1.3 at one length.
Fig. 2 Against the tank’s depth over its length: the share of the water in the first sloshing mode, from 8/π² = 0.81 for a shallow tank down to 0.026 when the depth is three lengths, and the cart’s first acceleration over the rigid-water value for one cubic metre of water on a 100 kg cart, 3.67 at a depth of a sixteenth of the length and 1.3 at one length.

The cart that brakes under a steady push

A long shallow tank takes this to an extreme. Spread the same cubic metre into a tank four metres long and a quarter of a metre deep, and 80 per cent of the water is in the first sloshing mode, with a period of 5.14 seconds.

In a long shallow tank most of the water sloshes, and the leaking cart brakes in every cycle. The cart's acceleration for the same cubic metre of water in a tank 4 m long and 0.25 m deep: 80 per cent of the water is in the sloshing mode, whose period is 5.14 s. The first acceleration is 3.67 times the rigid value, and in every cycle the returning water pushes the cart backwards, at up to 6.7 mm/s², although the thrust never changes sign.
Fig. 3 The cart’s acceleration for the same cubic metre of water in a tank 4 m long and 0.25 m deep: 80 per cent of the water is in the sloshing mode, whose period is 5.14 s. The first acceleration is 3.67 times the rigid value, and in every cycle the returning water pushes the cart backwards, at up to 6.7 mm/s², although the thrust never changes sign.

The first acceleration is 3.67 times the rigid value: only the cart and a fifth of the water are moving. Then the sloshing mass, which is four times the cart and the rest of the water together, swings back. Its spring force on the tank exceeds the jet’s thrust, and for part of every cycle the cart accelerates backwards, at up to 6.7 millimetres a second squared, while the jet pushes it forwards at a steady 4.9 newtons. The cart’s speed still rises on average, exactly as fast as the rigid cart’s; it rises in surges, and between them it falls.

That is the picture that makes the transport theorem’s term concrete. A device fixed to the cart that measured its acceleration would read a force on the cart that reverses in every cycle, and would conclude that something was pulling it backwards. Nothing outside is. The water inside the cart, moving relative to the walls, is exchanging momentum with them, and the rate of change of the momentum inside the box is not the box’s mass times its acceleration.

Momentum moved, not made

The cart and its slosh trade momentum, and their sum is the rigid cart's. Departures from the rigid-water cart's momentum, in newton-seconds, for the first ten seconds: the cart with all its water moving at the cart's speed, and the sloshing water's own momentum relative to the tank, its mass times its speed. They oscillate in opposition with amplitudes near 0.93 N s, and their sum stays on the rigid cart's to 1.76·10⁻⁶ of itself after ten seconds.
Fig. 4 Departures from the rigid-water cart’s momentum, in newton-seconds, for the first ten seconds: the cart with all its water moving at the cart’s speed, and the sloshing water’s own momentum relative to the tank, its mass times its speed. They oscillate in opposition with amplitudes near 0.93 N s, and their sum stays on the rigid cart’s to 1.76·10⁻⁶ of itself after ten seconds.

The slosh does not change how much momentum the jet delivers. Split the contents’ momentum into the cart with all its water at the cart’s speed, and the sloshing water’s own momentum relative to the tank. In the cube’s first ten seconds the two oscillate in opposition, each by about a newton-second, and their sum follows the rigid cart’s to two parts in a million. The slosh moves momentum between the cart and the water; it makes none. After ten seconds the cart’s own speed differs from the rigid cart’s by 0.15 per cent, which is the slosh’s momentum still being carried relative to the tank, and as the slosh dies away the difference goes with it.

That is why the previous essay’s final speed survives. The rigid calculation gets the momentum of the contents right at every instant and the cart’s speed right on average; the slosh is a correction to how the momentum is shared, not to how much there is. It is the same distinction that a rate of change that will not hold still drew for three boxes in one flow, where the rate of change inside a region depended on how the region moved: here the region is the cart, and what it holds is moving inside it. The tank’s walls are the control volume’s boundary and they move with the cart, which is the case the mesh that makes its own mass found easiest to get wrong: a boundary that moves must be charged for what it sweeps, and here it sweeps nothing, because the water crosses it only at the hole.

The water leans on the hole

There is one way the slosh could change the momentum delivered, and the previous essay asked whether it does: through the depth at the hole. An accelerating tank’s water surface tilts back, as coffee does in a cup in an accelerating car, and the depth at the back wall rises. The jet’s speed is Torricelli’s from that depth, so the thrust rises with it, which raises the acceleration, which raises the tilt. That is a positive feedback, and a feedback of that sign is how an oscillator can start itself.

An accelerating tank tilts its water back onto the hole and adds to its own thrust, a little. The thrust's excess over what the undisturbed depth would give, in parts per ten thousand, with the slosh damped so that the surface settles: the water piles against the back wall as the cart accelerates, raising the head at the hole by (4/π²) times the length times the acceleration over g. It settles at 7.54 parts in ten thousand against the predicted 7.33. The loop gain of this feedback, ρ times the hole's area times the tank's length over the total mass, is 9.09 parts in ten thousand, and it cannot reach one for any hole smaller than the back wall.
Fig. 5 The thrust’s excess over what the undisturbed depth would give, in parts per ten thousand, with the slosh damped so that the surface settles: the water piles against the back wall as the cart accelerates, raising the head at the hole by (4/π²) times the length times the acceleration over g. It settles at 7.54 parts in ten thousand against the predicted 7.33. The loop gain of this feedback, ρ times the hole’s area times the tank’s length over the total mass, is 9.09 parts in ten thousand, and it cannot reach one for any hole smaller than the back wall.

It is real and it is tiny. A rigidly tilted surface would raise the depth at the back wall by half the tank’s length times the acceleration over gg; the first sloshing mode carries 4/π24/\pi^2 of that to the wall. At the cube’s acceleration that is 0.73 millimetres, and since the thrust is proportional to the depth it rises by 7.3 parts in ten thousand; the march, with the slosh damped so the surface settles, gives 7.5. The loop gain of the feedback — how much extra thrust each unit of thrust produces through the tilt — is ρaL\rho aL over the total mass: the mass of a column of water with the hole’s area and the tank’s length, against the whole cart. It is nine parts in ten thousand here. For it to reach one, the hole would have to be as large as the back wall and the cart weightless, so a cart driven by its own leak cannot run away or start itself oscillating: the feedback the previous essay wondered about is a stiffness of a part in a thousand, not a pump.

Right on average, wrong at the peak

The rigid calculation’s virtue is that it gets the momentum right, and so the speed, and so the distance; for the question the earlier essay asked — how fast does the cart end up going — it is the right calculation, and nothing here changes its 5.31 metres a second. Its weakness is that it gets every peak wrong. The force the cart’s frame has to carry, between the wheels and the tank, is the cart’s mass times the cart’s acceleration, and at the onset that is 30 per cent above the rigid estimate for the cube and 267 per cent above it for the shallow tank. A designer who sized the tank’s mountings from the rigid calculation would size them for the average and break them at the start. The same is true of anything mounted on the cart: an instrument that needs a steady platform sees the slosh period, not the steady thrust.

This is the general shape of every correction the transport theorem adds to a rigid-body calculation of a vehicle carrying fluid. It never changes what is conserved, because the theorem is a statement about a conserved quantity; it changes how that quantity is shared between the parts that are being watched, and the part that carries the instruments is usually the one that suffers. The same shape appears in a tank that turns a hammer into a swing, where a surge tank on a pipeline converts a water hammer’s instantaneous pressure into a slow oscillation of a free surface: the total momentum to be stopped is the same, and the free surface spreads the stopping over a period, at the cost of a swing that has to be allowed for.

A second consequence follows from the onset formula and is easy to miss. The leap does not depend on the thrust’s size, only on the mass that sloshes, so a bigger hole gives a bigger rigid acceleration and the same ratio. It does depend on how fast the thrust arrives: a jet that builds up over a time long against the slosh period lets the water follow, and the leap disappears. The 1.305 belongs to a thrust switched on in much less than 1.13 seconds, which a hole uncovered by a falling plug is, and a valve turned by hand is not.

Where else the lag matters

The same split of a liquid into a rigid part and a sloshing part is behind several things that look unrelated. A liquid-fuelled rocket’s propellant sloshes in its tanks, and its guidance has to know that the vehicle’s response to a steering command is the vehicle’s minus the slosh’s mass until the slosh catches up; baffles exist to cut the sloshing share. A road tanker braking hard is pushed forward by its load a moment after the brakes act, which is why tankers are compartmentalised. And a body accelerating through a fluid borrows mass from it in the opposite sense: the borrowed mass the boundary decides is fluid outside a body that behaves as though it were aboard, while the slosh is fluid inside a body that behaves as though it were not.

A third relative is the momentum with no value, in which the fluid set moving round an accelerated cylinder has a momentum whose value depends on how the integral is taken: there the trouble is a region too large to hold still, here a region small enough to hold and still not rigid.

The jet itself carries a lesson about frames. Its thrust is ρau2\rho au^2 in the cart’s frame whatever the cart’s speed, because Torricelli’s speed is measured relative to the hole; speed and pressure is the Bernoulli balance that sets it, and it holds in the tank’s frame only while the tank’s own acceleration is small against gravity — which at twenty millimetres a second squared it is, by a factor of five hundred.

How it was checked

A sloshing leaking cart: the checks. The slosh mode's shallow and deep limits, the onset acceleration against the mass that has not moved, the momentum the slosh moves and does not make, and the head the tilt adds.
Fig. 6 The slosh mode’s shallow and deep limits, the onset acceleration against the mass that has not moved, the momentum the slosh moves and does not make, and the head the tilt adds.

The mode’s shallow limits — a share of 8/π28/\pi^2 and the shallow-water frequency — are recovered to a part in ten million, and its deep limit exactly. The first marched step’s acceleration matches the onset ratio to two parts in a million. With the depth at the hole held at its mean, the contents’ momentum after ten seconds matches the rigid cart’s to two parts in a million, while the cart’s own speed differs by 0.15 per cent: momentum moved, none made. With the surface free, the thrust’s rise matches the first mode’s share of the tilt to 3 per cent.

What the picture cannot show

Only the first sloshing mode is kept. The higher modes carry the remaining fifth of a shallow tank’s sloshing water, at higher frequencies, and a sudden opening excites them too; they would add faster ripples to the acceleration traces without changing the onset, since every mode starts at rest. The slosh is linear, which holds for surface displacements small against the depth — a millimetre here, but a hard push on a shallow tank breaks the surface into a travelling bore, which is the shock in a river inside a box. The damping ratio of one per cent is a stated value and a generous one: the Stokes layers on the walls of a cubic metre of clean water give 0.06 per cent, and where a sloshing tank’s energy goes shows that the rest would have to come from a surface film or the meniscus. It sets only how long the ringing lasts. The jet is switched on at once; a real valve opens over a time, and an opening slower than the slosh period excites almost no slosh at all.

The convention the numbers are in

The cart has mass 100 kilograms and the tank holds one cubic metre of water, opened through a 10-square-centimetre hole in the back wall at the floor with a discharge coefficient of one. Speeds and accelerations are the cart’s, along its motion, forward positive. The tank’s length is measured along the motion; its depth is the water’s. The slosh share and frequency are evaluated at the current depth as the tank drains.

Who worked it out

The two-mass representation of a sloshing tank is due to Graham and Rodriguez, who derived it for aircraft fuel tanks in 1952, and to Housner, whose 1957 version for water tanks under earthquake loading made it a standard in civil engineering. The sloshing frequency of a rectangular basin is Lamb’s. NASA’s 1966 monograph on liquid sloshing, edited by Abramson, collected the rocket-propellant cases in which the lag of the sloshing mass first caused trouble for guidance. The leaking cart is a textbook problem in variable-mass mechanics, usually set with the water rigid.

Still open: a slosh that the drain itself detunes

Every number here is in the first seconds, while the depth barely changes. Over the cart’s whole run the tank drains, and as it does the slosh frequency falls and the sloshing share rises — in the cube from a quarter of the water to most of it, as the depth falls below the length. A slow change in an oscillator’s frequency changes its amplitude in a way set by its action, the energy over the frequency, which is kept constant if the change is slow enough.

The calculation that would follow carries the slosh through the whole drain, lightly damped, and asks whether the ringing the opening started grows or dies as the tank empties: whether the action’s constancy, with a frequency falling as the square root of the depth in the shallow limit, makes the slosh’s amplitude relative to the depth grow towards the end, so that the last of the water leaves a cart that is pitching harder than when it started.

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 massControl volumeFree surfaceModel limitMomentumResonanceThrust