Viscosity

A tank's walls slow its swing by exactly what they damp

The Stokes layers on a sloshing tank's walls take its energy, and they also change its frequency — by the same amount, wall for wall, because a Stokes layer pushes on its wall an eighth of a cycle ahead of the water and so is half resistance and half extra mass. The water's own viscosity damps without detuning and surface tension raises the pitch, so the frequency and the decay measured together say which of them is at work. In a one-metre tank the walls lower the frequency by 0.09 per cent, a few centimetres of amplitude move it further, and only at one depth is the walls' shift the whole of it.

Worth reading first: A sloshing tank is damped by its walls, not its water · What a fluid takes out of a swing.

A sloshing tank is damped by its walls, not its water priced the decay of a standing wave in a tank by an energy budget. Every solid surface carries a Stokes layer a millimetre or so thick, across which the water’s sliding motion is brought to rest, and that layer dissipates energy at a rate set by the square of the slip outside it. Added up over the floor, the ends and the sides, the walls took 248 times as much as the whole interior volume of a one-metre tank.

That essay left one number out on purpose. An energy budget gives a decay rate and says nothing about the frequency, and its model notes recorded that the same layers also shift the frequency, by an amount of the same order. This essay computes that shift, and finds that “of the same order” undersells it: for every wall the shift is exactly equal to the decay rate, for a reason that can be seen in one cycle of the layer.

The stress that arrives an eighth of a cycle early

A wall under an oscillating stream of speed Ucos⁡ωtU\cos\omega t carries the layer Stokes solved in 1851,

u=U Re{eiωt(1−e−(1+i)z/δ)},δ=2ν/ω,u = U\,\mathrm{Re}\left\{e^{i\omega t}\big(1 - e^{-(1+i)z/\delta}\big)\right\},\qquad \delta = \sqrt{2\nu/\omega},

and the stress it puts on the wall is μ ∂u/∂z\mu\,\partial u/\partial z there. The first figure plots it over a cycle beside the slip.

A Stokes layer pushes on its wall an eighth of a cycle ahead of the slip. The slip velocity just outside a Stokes layer and the stress the layer puts on the wall, over one cycle, both in units of their own scales: the stress is √2 times μU/δ and peaks 45° before the slip. It is the sum of two equal parts: one in phase with the slip, a resistance that takes energy out, and one in phase with the slip's acceleration, which acts as extra mass — half the layer's thickness of fluid carried along — and stores none.
Fig. 1 The slip just outside a Stokes layer and the stress the layer puts on the wall over one cycle. The stress peaks 45° before the slip and splits into two equal parts: one in phase with the slip, which damps, and one in phase with its acceleration, which acts as mass.

The stress has amplitude 2 μU/δ\sqrt2\,\mu U/\delta and peaks 45 degrees before the slip — an eighth of a cycle early. Found by differencing the layer on a fine grid rather than read from the formula, the lead comes out at 45.00 degrees and the amplitude at 2\sqrt2 to five figures.

A force 45 degrees ahead of a velocity is the sum of two equal forces, one in phase with the velocity and one in phase with the acceleration, which runs a quarter-cycle ahead. The first is a resistance: it pushes against the motion while the motion is fastest, and it takes energy out. The second pushes against the acceleration and does nothing to the energy budget over a cycle; it is indistinguishable from extra mass. Its size per unit area is μ/(ωδ)\mu/(\omega\delta), which is ρδ/2\rho\delta/2: the wall drags along half a layer’s thickness of water as if it were part of the moving fluid.

That is the whole result in miniature. A layer that is half resistance and half inertia, in exactly equal measure, will slow the motion it sits under by exactly as much as it damps it.

Mass that stores no energy lowers the pitch

The bookkeeping goes through Rayleigh’s quotient. A standing wave’s frequency squared is its potential energy over its kinetic energy at equal amplitude; add kinetic energy without adding potential, and the frequency falls by half the fractional increase. The added mass of each layer is ρδ/2\rho\delta/2 per unit area moving with the slip, so the extra kinetic energy is an integral of the slip’s square over the surface — the same integral the energy budget used for the dissipation. Carried through, the two give, wall by wall,

Δωwall=−γwall,\Delta\omega_{\text{wall}} = -\gamma_{\text{wall}},

where γ\gamma is the decay rate of the wave’s amplitude. In complex form the whole statement is that each layer moves the complex frequency along a line at 45 degrees, by (1+i)(1+i) times its decay rate.

Every wall lowers the frequency by what it damps, and the water's own viscosity lowers it by nothing. The shift in the lowest mode's frequency, mechanism by mechanism, in parts in ten thousand of 0.846 Hz. The side walls lower it by 6.13, the end walls by 2.23, the bottom by 0.834 — each exactly its own decay rate over the frequency. The interior damps at 0.0371 on the same scale and shifts nothing. Surface tension raises the frequency by 0.366. An inextensible surface film would lower it by 5.25, its own damping again.
Fig. 2 The frequency shift of a one-metre tank, half a metre broad and deep, mechanism by mechanism, in parts in ten thousand. Each wall lowers the frequency by its own decay rate. The interior damps and shifts nothing; surface tension raises the frequency.

The second figure is the budget for the tank of the earlier essay: one metre long, half a metre broad, filled half a metre deep, swinging at 0.846 Hz in its lowest mode. The side walls lower the frequency by 6.13 parts in ten thousand, the end walls by 2.23, the floor by 0.834 — numbers that are, by the argument above, the same as the decay rates the earlier essay found for each surface, divided by the frequency. In all, the walls lower the frequency by 0.092 per cent, 0.78 millihertz, and lengthen the period of 1.18 seconds by about a millisecond.

The water’s own viscosity is the exception. Inside the tank the flow is irrotational and its viscous stresses are in phase with the strain rate, so the interior’s decay rate, 2νk22\nu k^2, comes with no frequency shift at first order: 0.037 parts in ten thousand of damping, and none of detuning. A clean free surface is the same — its weak layer carries no slip to bring to rest. A surface film stiff enough to hold the surface still tangentially is not: it becomes one more no-slip wall, and like the others it would lower the frequency by its own damping, 5.25 parts in ten thousand here.

Surface tension goes the other way. It adds a restoring force without adding mass, so it raises the frequency: by 0.366 parts in ten thousand in this tank, with the contact line free to slide at a right angle to the wall.

A clock that is one radian behind at 1/e1/e

The equality has a consequence that does not depend on the tank’s size, the liquid, or the shape. A wave damped only by its walls decays as e−γte^{-\gamma t} and runs slow of the inviscid frequency by γ\gamma, so its phase falls behind the inviscid clock by γt\gamma t radians. At the moment its amplitude has fallen to 1/e1/e of its start, γt=1\gamma t = 1: it is exactly one radian behind, 57 degrees. A tank whose swing has died to a third is a sixth of a cycle late, whatever its size.

The water’s interior and the free surface take a small share of the damping without contributing to the lag, so the ratio of the frequency’s fall to the total decay is a little under one. For the one-metre tank it is 0.996; the earlier essay’s 248-to-1 split between walls and water is the reason it is so close.

That ratio is a diagnostic. Measure the decay and the frequency of the same ringing tank, and the ratio of the frequency’s fall to the decay says what is damping it: one for no-slip walls and films, zero for the bulk and a clean surface, and negative for anything that raises the frequency — surface tension, or a contact line pinned to the glass, which stiffens the surface without dissipating at all.

What a damper can ignore and a pendulum could not

Whether a shift of a tenth of a per cent matters depends on what the tank is for. A tuned sloshing damper on a tall building is tuned by Den Hartog’s rule, which for a damper carrying one or two per cent of the building’s mass puts the best frequency one or two per cent below the building’s and asks for a damping ratio of six to nine per cent. Against a tuning margin of a per cent, the walls’ 0.09 per cent is invisible; against a target damping of several per cent, the walls’ own 0.09 per cent is the reason such dampers carry screens and baffles. The walls are too weak to matter in the frequency for the same reason they are too weak to do the job in the damping, and the equality says those are one statement.

Stokes’s pendulums were the opposite case. A pendulum used to measure gravity reads gg from the square of its period, so a period long by one part in ten thousand reads gg low by two. Baily had measured the air’s effect on pendulums’ periods in the 1830s and found it larger than any ideal-fluid added mass could explain. The correction Stokes computed closed that gap, and it was a frequency shift that came from the same layer as the damping — which is why an observer who timed the decay of a pendulum’s swing could, in principle, have read its period correction off the decay without any theory of the layer at all.

The tank inherits that possibility. Its decay can be timed in a few hundred swings, and if the walls are doing the damping, the frequency correction is the decay rate itself.

An exact solution to measure the argument against

The argument above is first order in δ\delta over the tank’s size, and it ought to fail at second. One flow can be solved exactly enough to see where: a long wave in a channel over a floor with a Stokes layer. Integrating the flux through the depth removes (1−i)δ/2(1-i)\delta/2 from it — the complex displacement thickness of the layer — so the wave’s frequency satisfies

ω2=gk2(h−12(1−i) δ(ω)),δ(ω)=2ν/ω,\omega^2 = g k^2\Big(h - \tfrac{1}{2}(1-i)\,\delta(\omega)\Big),\qquad \delta(\omega) = \sqrt{2\nu/\omega},

with the layer’s thickness evaluated at the complex frequency itself. That equation can be solved by iteration with no expansion in δ/h\delta/h.

Solved exactly, a long wave's shift and decay are one number until the layer is a tenth of the depth. A long wave in a channel 20 m long over a floor with a Stokes layer, solved exactly with the layer's complex displacement (1 − i)δ/2 taken out of the depth and δ evaluated at the complex frequency itself. Both the frequency's fall and the decay rate are divided by the first-order value ω₀δ/4h, and plotted against δ/h. They agree to first order and part at second: at δ/h = 0.0054 the fall is 0.99999 and the decay 1.0027 of it; at 0.085, 0.9981 and 1.044.
Fig. 3 A long wave over a floor, solved exactly. The fall in frequency and the decay rate, each over the first-order value ω0δ/4h\omega_0\delta/4h, against the layer’s thickness over the depth. They are one number until the layer is a few per cent of the depth.

The third figure divides the exact fall and decay by the first-order value ω0δ/4h\omega_0\delta/4h and plots them against δ/h\delta/h. At a layer of half a per cent of the depth both are one: the fall is 0.99999 of it and the decay 1.0024. As the layer thickens they part. At δ/h=0.085\delta/h = 0.085 the fall is 0.998 and the decay 1.044, and in water a few millimetres deep, where the layer is the depth, the two are different numbers altogether and the wave is barely a wave.

The same exact solution checks the energy budget of the earlier essay from the other side. The energy method’s floor-and-ends decay for this channel is 0.993 of the exact decay at δ/h=0.005\delta/h = 0.005, the difference being the energy method’s use of the full dispersion relation where the exact solution uses the long-wave one.

Small tanks run fast and large tanks slow

The walls lower the frequency by the damping ratio, which in tanks of one shape falls as the length to the minus three-quarters. Surface tension raises it by half the inverse Bond number, σk2/2ρg\sigma k^2/2\rho g, which falls as the length to the minus two. The fourth figure plots both against size for tanks whose breadth and depth are half their length.

The walls lower a big tank's frequency and surface tension raises a small one's, and they cross at seven and a half centimetres. The fractional shift of the lowest mode's frequency against tank length, for tanks with breadth and depth half the length. The wall layers lower it by 0.092 per cent at a metre, falling as the length to the −3/4; a free contact line's surface tension raises it by 0.00366 per cent there, falling as the length to the −2. They are equal at 7.57 cm. Below that a small tank swings faster than the gravity formula says, above it slower, by the walls' own damping ratio.
Fig. 4 The walls’ lowering and surface tension’s raising of the frequency against the tank’s length. At a metre the walls win by a factor of 25; the two are equal at 7.57 cm; below that a small tank swings faster than the gravity formula says.

At a metre the walls’ lowering is 25 times surface tension’s raising. The two cross at 7.57 cm. Below that size a tank swings faster than the gravity formula ω2=gktanh⁡kh\omega^2 = gk\tanh kh says — at 3 cm by 2.7 per cent net — and above it slower, by an amount that tends to exactly its own damping ratio as the tank grows. Neither number is large in a tank big enough to matter for a building or a ship, and that is the point of the comparison: in such a tank the frequency formula is good to a tenth of a per cent, and the tenth of a per cent it misses is the walls’ damping ratio and nothing else.

The interior’s damping, drawn dashed, X It has no frequency curve to draw: it is the one viscous loss in the tank that leaves the clock alone.

A few centimetres of swing move it further

In a real tank there is a larger source of detuning than any of these: the amplitude. Tadjbakhsh and Keller worked out the standing wave’s frequency to second order in amplitude in 1960,

ω=ω0[1+(ka)264(9T4−12T2−3−2T2)],T=tanh⁡kh,\omega = \omega_0\left[1 + \frac{(ka)^2}{64}\Big(\frac{9}{T^4} - \frac{12}{T^2} - 3 - 2T^2\Big)\right],\qquad T = \tanh kh,

which lowers the frequency of a deep tank, by (ka)2/8(ka)^2/8 at T=1T = 1, and raises a shallow one’s.

A few centimetres of amplitude move the frequency more than every wall in the tankThe fractional frequency shift of a 1 m tank's lowest mode against the wave's amplitude, at a depth of 0.5 of the length: Tadjbakhsh and Keller's amplitude term, coefficient -0.0973 times (ka)², beside the walls' fixed lowering of 0.092 per cent. The two are equal at an amplitude of 30.9 mm. The term softens the tank in deep water and stiffens it in shallow.the gravity formula0102030405060-0.006-0.004-0.00200.0020.0040.006wave amplitude at the wall, millimetresfractional shift in frequencyamplitudewallsbotha linear standing wave, Stokes layers on every wall, a clean free surface; amplitude term to (ka)²gravity waves in water, layers thin beside the tank
Fig. 5 The fractional frequency shift of a one-metre tank against the wave’s amplitude, beside the walls’ fixed lowering. The dial moves the depth: at half the length the two are equal at 31 mm of amplitude; near a third of the length the amplitude term vanishes.

The fifth figure sets the amplitude term beside the walls’ fixed shift for the one-metre tank, and the dial changes its depth. At half the length deep, the amplitude term’s coefficient is −0.097-0.097 and it matches the walls at an amplitude of 31 mm: a swing of three per cent of the tank’s length already detunes the tank as much as every wall in it. At a fifth of the length the coefficient is +0.80+0.80 and the tank stiffens with amplitude, matching the walls at 13.5 mm. Both are amplitudes any working sloshing damper reaches.

There is one depth where this does not happen. The coefficient changes sign between shallow and deep, at kh=1.0581kh = 1.0581 — a depth of 0.3368 of the tank’s length for the lowest mode. Set the dial there and the amplitude term vanishes to this order; the walls’ lowering is the only detuning left.

Only at one depth does the walls' detuning survive any amplitude. The wave amplitude at which the amplitude's frequency shift equals the walls', for a 1 m tank 0.5 m broad, against depth over length. In deep and in shallow water a few centimetres suffice — 27.1 mm at a depth of one length, 8.25 mm at 0.15. Near 0.3368 of the length, where kh = 1.058 and Tadjbakhsh and Keller's coefficient changes sign, the amplitude needed rises without limit: there the walls' lowering is the tank's only detuning at this order.
Fig. 6 The amplitude at which the amplitude term’s shift equals the walls’, against depth, for the one-metre tank. A few centimetres in deep or shallow water; without limit near a depth of 0.3368 of the length, where the coefficient changes sign.

The sixth figure makes that a curve. The amplitude needed to match the walls is 8.3 mm at a depth of 0.15 of the length and 27 mm at a full length, and it rises without limit near 0.3368. A tank filled to that depth is the one in which the walls’ frequency shift could be measured without the amplitude hiding it, and in which the diagnostic of the last section — fall over decay — is cleanest.

Where the argument stops being first order

The picture cannot show the contact line, and the contact line is where it is most needed. A meniscus pinned to the glass raises the frequency and, if it is perfectly pinned, dissipates nothing; one that slides with hysteresis dissipates in a way that depends on the amplitude rather than the frequency, like dry friction. Neither is in these figures, which give the contact line a right angle and let it slide freely.

The rest of what is missing is second order or beyond. Where two walls meet, two layers overlap in a corner and the slip integral over each counts the corner twice. The long-wave solution shows that the equality of fall and decay fails at second order in δ/h\delta/h, and in a centimetre-sized tank of water δ\delta is a few per cent of the depth. The amplitude term is carried to second order only, and near kh=1.0581kh = 1.0581 the next order, fourth in kaka, takes over. Steady streaming in the layers, the motion that rectifies the oscillation, is absent. And every tank is rectangular; a circular cylinder’s layers follow a different slip integral to the same equality.

The convention behind every sign

The time dependence is eiωte^{i\omega t}, so a decaying wave has a positive imaginary part, and “frequency shift” means the change in the real part, negative when the tank swings slower. The decay rate is of the amplitude, not the energy. The frequency it is shifted from is the inviscid, clean, small-amplitude ω2=gktanh⁡kh\omega^2 = gk\tanh kh with k=π/Lk = \pi/L, and each mechanism’s shift is reported as a separate first-order term that can be added. The shifts are in parts in ten thousand, or as fractions, of that frequency.

The tank's frequency budget, and the checks on it. The Stokes layer's lead, the long-wave exact solution against first order and against the energy method, Tadjbakhsh and Keller's critical depth and deep-water limit, and the one-metre tank's shift against its decay.
Fig. 7 The checks: the layer’s lead, the long-wave exact solution against first order and against the energy budget, Tadjbakhsh and Keller’s critical depth and deep-water limit, and the one-metre tank’s frequency fall over its total decay.

The checks in the last figure are ones the calculation could fail. The lead is computed from the layer’s profile and has to come out at 45 degrees; the long wave is solved without expansion and has to reproduce the first-order fall and decay as the layer thins; the amplitude coefficient has to vanish at the published kh=1.058kh = 1.058 and give −1/8-1/8 in deep water; and a tank of negative length is refused.

The pendulum that found it first

Stokes found this before anyone looked at a tank. His 1851 paper on the effect of a fluid’s viscosity on pendulums was written to correct the pendulums used to measure gravity, and the correction it computed — for a sphere swinging in air — came in two parts from one layer: a damping and an added mass that lengthens the period. The essay on what a fluid takes out of a swing follows that sphere; a sloshing tank is the same problem turned inside out, with the layer on the container instead of the body. The ideal-fluid part of the mass, the mass a body has to borrow, has no layer in it and no damping, which is why it shifts the frequency alone.

The same 45 degrees reaches further. The pulse that has to travel along an artery is slowed by its wall layer by 1/2α1/\sqrt2\alpha of its speed and attenuated by the same factor per radian, for the same reason, and the wall that shakes is the layer itself, alone. A film on the surface that calms a wave most at a stiffness short of rigid is the free surface turned into a partial wall, and its extreme, the rigid film, is the inextensible surface whose shift appears in the second figure. Keulegan measured basin damping in 1959 against the energy budget; Miles in 1967 and Mei and Liu in 1973 carried the boundary layers into the frequency, and Henderson and Miles in 1994 measured damping in a circular cylinder that the walls could not account for and attributed the rest to the meniscus. A scale model that cannot match its prototype’s damping inherits the same mismatch in its frequency, and the leaking cart whose water sloshes swings at the inviscid frequency to the same tenth of a per cent.

Still open: the contact line’s sign

The diagnostic of fall over decay can separate the walls from the meniscus in a measurement, and what it needs is a prediction for the meniscus. The next calculation would solve the rectangular tank’s lowest mode with the contact line pinned at both end walls, by the eigenvalue method Graham-Eagle used for a pinned edge, find the frequency it raises and how that scales with tank size and Bond number, and ask at what length the pinned line’s raising cancels the walls’ lowering — the size of tank whose measured frequency would sit on the gravity formula for the wrong reason. Then it would give the line a hysteresis, a sliding threshold in contact angle, and ask at what amplitude the dry-friction damping it adds overtakes the walls’ and what that does to the ratio: whether a small tank’s excess damping arrives with a frequency rise, which would name the meniscus, or a frequency fall, which would name the walls after all.

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 massDampingModel limitNatural frequencyPhase lagThe Stokes layerSurface tension