Viscosity

What a fluid takes out of a swing

The damping a body feels from the air around it is not Stokes' drag, and stops being it far earlier than anybody expects — a millimetre sphere in air is already forty-six per cent above the steady answer at one hertz. Past that the damping rises as the square root of the frequency, and the fluid it is fighting is a shell a fraction of its own size.

Worth reading first: The wall that shakes · The price of a gradient.

A tuning fork rings for several seconds in air and for a fraction of a second in water. A pendulum in a vacuum bell swings for hours and in air for minutes. A quartz watch crystal is sealed, and the seal is not to keep dust out.

In every case the fluid is taking energy out of an oscillation, and the question is at what rate. The obvious answer — use the steady drag at the instantaneous velocity — is wrong for almost everything, and it is wrong in a direction and by an amount that this essay can put numbers on.

What it costs to shake a wall. The mean power a wall oscillating in its own plane puts into the fluid, per unit area, against frequency, at a fixed velocity amplitude. It goes as the square root of the frequency, because the layer the shear lives in is √(2ν/ω) thick and a thinner layer means a steeper gradient. Shaking twice as fast at the same speed costs 2√2 times as much, and none of that comes from the fluid, which has not changed.
Fig. 1 The simplest version: a flat wall oscillating in its own plane, and the mean power it puts into the fluid per unit area. It goes as the square root of the frequency, because the layer the shearing happens in is √(2ν/ω) thick and a thinner layer means a steeper gradient. Shaking twice as fast at the same velocity amplitude costs 2√2 times as much, and nothing about the fluid has changed.

The wall, where the accounting is clean

Stokes’ second problem gives the velocity above an oscillating wall as U0ey/δcos(ωty/δ)U_0 e^{-y/\delta}\cos(\omega t - y/\delta), with δ=2ν/ω\delta = \sqrt{2\nu/\omega}.

The mean dissipation per unit area, integrated across the whole layer, works out at

Wˉ=μU022δ,\bar{W} = \frac{\mu U_0^2}{2\delta},

and the same number arrives from the wall’s own stress: τwuwall\langle\tau_w u_{\text{wall}}\rangle. Two routes, one an integral through the fluid and the other a product at a plane, agreeing to a part in a thousand on a four-hundred-cycle average. That is the check this site requires of every dissipation it quotes.

What the formula says is that the cost is inversely proportional to the layer thickness. The fluid’s viscosity has not changed and the wall’s speed has not changed; what has changed is how much fluid is being asked to accommodate the difference.

The sphere, and how early it goes wrong

A wall is infinite and has no size of its own to compare the layer against. A body does, and that comparison is the whole story.

Landau’s solution for a sphere oscillating in a viscous fluid gives a force with two parts — one in phase with the velocity, which damps, and one in phase with the acceleration, which is an added mass:

c=6πμa(1+aδ),madd=23πa3ρ(1+9δ2a).c = 6\pi\mu a\left(1 + \frac{a}{\delta}\right), \qquad m_{\text{add}} = \tfrac23\pi a^3\rho\left(1 + \frac{9\delta}{2a}\right).

The damping is Stokes’ answer multiplied by (1+a/δ)(1 + a/\delta). At low frequency δ\delta is large, the correction vanishes, and the steady drag is recovered. At high frequency δ\delta is small and the damping rises as ω\sqrt{\omega}.

The question is where the crossover is, and the answer is startlingly low.

Stokes' drag stops being the answer almost at once. The damping on a millimetre sphere oscillating in air, divided by Stokes' steady drag on the same sphere, against frequency. The extra term is the sphere's radius over the layer thickness, so it takes over as soon as the layer is thinner than the body — which for a millimetre sphere in air is below one hertz. At a kilohertz the damping is fifteen times the steady value, and the exponent is a half rather than zero.
Fig. 2 The damping on a millimetre sphere in air, divided by Stokes’ steady value, over seven decades of frequency. At one hertz it is already 1.46 — the steady answer is 46 per cent low at a frequency anybody would call slow. At a kilohertz it is fifteen times, and at ten kilohertz forty-seven.

For a millimetre sphere in air, δ\delta is 2.2 mm at one hertz. The layer is bigger than the body, which is the quasi-steady regime — and only just. By ten hertz the layer is 0.7 mm and the body is no longer inside it.

The frequency at which a body is quasi-steady is set by its own size against the layer, not by the frequency sounding small. For anything smaller than a centimetre in air, that frequency is below a hertz.

Where the energy actually goes

The dissipation lives in the layer, and the layer is thin.

At a kilohertz in air, δ\delta is 70 µm. A millimetre body oscillating at that frequency is dissipating in a shell a fifteenth of its own diameter thick, and everything further away is being carried along without being sheared — which is the added-mass term, and it stores energy rather than destroying it.

That separation is unusually clean. In a steady flow the near field and the wake are both dissipating and both are part of the same disturbance. In an oscillating one the fluid divides sharply into a thin dissipative shell and an outer region that is purely inertial, and the two enter the force as a real and an imaginary part of the same coefficient.

A wave that dies within one wavelength — 100 Hz in airThe velocity profile above an oscillating wall, at eight phases of one cycle, with depth in units of δ = √(2ν/ω). The motion is a wave travelling *into* the fluid, and its amplitude falls by 1/e in the same distance it turns by one radian — so it is dead within about one wavelength, and the fluid three δ up hardly knows the wall is moving at all. This is one of the very few exact solutions the Navier–Stokes equations have. The dashed line is one fixed distance above the wall in millimetres: in these units it climbs as the square root of the frequency, which is the whole of how far the motion reaches.-1-0.500.5101234velocity, in units of the wall'sdepth, in units of δδ = 0.2185 mmperiod 10.00 msν = 0.000015 m²/seight phases of one cyclethe heavy line is t = 0the dashed line is 0.327 mmabove the wall — 1.50 δ hereresidual of ∂u/∂t = ν∂²u/∂y²3.5e-9Stokes' second problem — exact, with the diffusion equation differenced off itf = 100 Hz, ν = 0.000015 m²/s · laminar, no mean flow
Fig. 3 The layer itself. The velocity falls away exponentially and lags progressively behind the wall, so that at a depth of πδ the fluid is moving in exactly the opposite direction to the surface driving it. All of the dissipation is inside about three of these thicknesses.

What it does to a quality factor

The quantity a designer cares about is QQ — how many radians of oscillation before the energy falls by a factor of ee — and for a resonator of mass mm it is ω(m+madd)/c\omega(m + m_{\text{add}})/c.

What the air alone allows a resonator. The quality factor six oscillators would have if the air around them were the only thing damping them, on a logarithmic axis. It is an upper bound and nothing else — real resonators also lose energy to their mountings and to their own material — but it is the bound that cannot be designed away without removing the air, which is why precision resonators are sealed in vacuum. Each body is treated as a sphere of its own size, which is a stand-in and not a shape.
Fig. 4 Six oscillators and the quality factor the air alone permits. It is an upper bound and nothing else — real resonators also lose energy to their mountings and to their own material — but it is the bound that cannot be designed away without removing the air, which is why precision resonators are sealed in vacuum.

The trend along that list is the one to take away, and it runs the opposite way to intuition. A larger body has a higher air-limited QQ, because the damping grows as a2/δa^2/\delta while the mass grows as a3a^3. So miniaturising a resonator makes its fluid damping relatively worse, at a rate of one power of the size — which is a fundamental obstacle to micromechanical resonators and is the reason they are almost all packaged under vacuum.

The frequency trend goes the other way. Damping grows as ω\sqrt{\omega} and the stored energy grows as ω\omega, so QQ improves as ω\sqrt{\omega}: a high-frequency resonator of a given size is better off than a low-frequency one. A quartz watch crystal at 32 kHz would have an air-limited QQ in the tens of thousands, and it is sealed anyway, because its material QQ is a hundred times that.

The other half of the force, which is not a loss

The added mass deserves a paragraph, because it is the part of the force that is usually confused with the damping.

It is in phase with the acceleration, so it does no net work over a cycle — it stores energy on one half and returns it on the other. What it does is lower the resonant frequency, by adding to the effective mass, and for a light body in a dense fluid the effect is enormous: a hollow sphere oscillating in water has an added mass comparable with its own.

The two halves come from the same solution and have completely different characters, and the low frequency limit shows it. The damping tends to Stokes’ constant. The added mass diverges, as δ/a\delta/a, which is the history force — the fact that a slowly oscillating body is dragging along a region of fluid whose size grows without limit as the frequency falls. That divergence is real and it is why unsteady Stokes flow at very low frequency needs the Basset integral rather than a coefficient.

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. 5 The inviscid version of the same idea. A body accelerating in an ideal fluid carries an added mass that is a pure geometric property — half the displaced fluid for a sphere — with no dissipation anywhere. The unsteady viscous problem’s added mass reduces to that at high frequency and departs from it at low, and the departure is the layer.

A frequency-dependent coefficient is a memory

The damping in this essay depends on ω\omega, and that is a stronger statement than it looks. A force proportional to the velocity with a constant of proportionality is an instantaneous force; a force whose coefficient varies with frequency cannot be. By the ordinary correspondence between the two domains, a coefficient that depends on frequency is a convolution in time — the force at this instant depends on what the body was doing at every earlier one.

That is the Basset history force, and it is the same object as everything computed above, written the other way round. For a sphere it is

Fhist=6πμa2 ⁣tv˙(τ)πν(tτ)dτ,F_{\text{hist}} = 6\pi\mu a^2\!\int_{-\infty}^{t}\frac{\dot v(\tau)}{\sqrt{\pi\nu(t-\tau)}}\,\mathrm d\tau,

a weighted integral over the body’s past acceleration with a kernel falling as the inverse square root of the elapsed time. Transform that kernel and the \sqrt{\,\cdot\,} becomes the ω\sqrt\omega this essay’s damping rises with, and the δ/a\delta/a its added mass diverges by. One expression in the time domain, two coefficients in the frequency domain, and no new physics between them.

The mechanism is diffusion, and it is worth naming because it explains why the memory is so long. What a body leaves behind when it accelerates is vorticity, generated at its surface and then diffusing outward, and the force it feels now depends on where that vorticity has got to. Diffusion has no finite speed of propagation, so nothing the body has ever done is entirely forgotten — and the t1/2t^{-1/2} tail is the slowest decay a convergent memory can have.

Which is why the low-frequency divergence noted above is not an artefact. A slowly oscillating body has had time to grow a disturbance many radii across, so the fluid it is dragging has no bounded size, and no coefficient exists to summarise it.

And it is why the term is routinely dropped and should not always be. In particle tracking, the history integral costs an entire stored trajectory per particle, against a handful of numbers for everything else, so it is the first thing left out of a simulation. That is defensible for a heavy particle in a gas, where the fluid’s inertia is a thousandth of the particle’s and every term carrying ρf\rho_f is negligible — the same comparison that decides whether the added-mass and pressure-gradient terms matter. For a bubble, a neutrally buoyant tracer or anything in a liquid, the history force is the same order as the drag, and a code that has dropped it is not solving the problem it claims to.

The number a resonator designer works with

There is a compact way to see all of this at once, and it is the ratio the whole design turns on.

Write the damping as 6πμa(1+a/δ)6\pi\mu a(1 + a/\delta) and the stored energy as 12mω2X2\tfrac12 m\omega^2 X^2 with XX the displacement amplitude. In the high-frequency regime, where aδa \gg \delta, the air-limited quality factor comes out proportional to

ρbodyρfluidaδ,\frac{\rho_{\text{body}}}{\rho_{\text{fluid}}}\cdot\frac{a}{\delta},

a density ratio times a size ratio.

Both factors say the same thing in different words: a resonator is quiet in a fluid to the extent that it is heavy compared with the fluid it displaces and large compared with the layer it drags. Steel in air scores about six thousand on the first factor and something between one and a hundred on the second. Steel in water scores eight on the first, which is why nothing rings in water.

The design consequences follow immediately and are all uncomfortable for small devices. Shrinking a resonator hurts the second factor. Making it lighter — which is what a micromachined structure is — hurts the first. Raising the frequency helps, as the square root, which is why every micromechanical resonator that works is a high-frequency one.

And none of it is avoidable by choosing a better material or a cleverer shape. It is a property of the fluid the device is sitting in, which is why the answer in practice is always the same: take the fluid away.

What it costs to shake a wall. The mean power a wall oscillating in its own plane puts into the fluid, per unit area, against frequency, at a fixed velocity amplitude. It goes as the square root of the frequency, because the layer the shear lives in is √(2ν/ω) thick and a thinner layer means a steeper gradient. Shaking twice as fast at the same speed costs 2√2 times as much, and none of that comes from the fluid, which has not changed.
Fig. 6 The same power law at a kilohertz rather than a hundred hertz. The curve has not changed shape, because the exponent is a half at every frequency; what has changed is where on it a given device sits, and moving right along it is the only lever a designer has that does not involve a vacuum pump.

Why a tuning fork is not a sphere

Everything above is for a sphere, and the objects it is being applied to are not spheres. That is a real limitation and it is worth being clear about its size.

For a body oscillating at high frequency — layer much thinner than the body — the damping becomes a surface quantity: it is μU02/2δ\mu U_0^2/2\delta per unit area, integrated over the surface, whatever the shape. So in that regime the sphere calculation generalises exactly, with the sphere’s area replaced by the real one, and the error is a geometric factor of order one arising from the tangential velocity varying over the surface.

At low frequency the shape matters much more, because the disturbance extends far beyond the body and its form depends on the whole geometry. A tuning fork tine is a slender beam and its damping per unit length is closer to a cylinder’s than to a sphere’s, which differs by a logarithm.

The figures here use spheres of the objects’ own sizes, and say so. What is being computed is a scale, not a specification.

What the picture cannot show

The amplitude is small. Everything here is a linear solution, valid while the displacement amplitude is small compared with the layer thickness. A body swinging further than that generates steady streaming — a second-order mean flow with no mean anywhere in the driving — which carries energy away by a completely different route and is not in these numbers.

The fluid is unbounded. A resonator in a package a few layer thicknesses across is squeezing the gas rather than shearing it, and the damping is a squeeze film’s rather than this one’s. That is the dominant mechanism in most micromechanical devices and it is larger than the free-space value by orders of magnitude.

The body is rigid. A resonator that flexes is presenting a surface whose own shape is changing, and the damping then depends on the mode shape rather than only on the size — which is why a tuning fork’s two tines damp differently from a single beam of the same dimensions.

And the gas is a continuum. A resonator in a low-pressure package is in a regime where the mean free path is comparable with the layer, the damping stops following this law, and it becomes proportional to the pressure rather than to the square root of the frequency — which is exactly how a vacuum gauge of the viscosity type works.

One depth does both jobs. The amplitude of the motion and the phase it lags the wall by, against depth in units of √(2ν/ω). Both are measured off the solution — the amplitude as the largest speed reached at each depth over a cycle, the lag by finding when it happens — and neither is read off the cosine that produced them. At one δ the amplitude is 1/e of the wall's and the lag is exactly one radian, which is the same length appearing in two different roles.
Fig. 7 The layer measured rather than asserted: amplitude and phase against depth, with the exponential envelope and the linear lag both checked against the closed form. Every number in this essay is an integral over that profile, so a profile that was wrong would show up in the damping before it showed up anywhere a reader could see it.

The same layer, three times, doing three things

It is worth collecting what this collection has now asked of one solution, because the Stokes layer turns out to be doing three unrelated jobs.

It sets a thickness. The wall that shakes is about the profile itself — an exponential envelope, a linear phase lag, and a depth √(2ν/ω) beyond which the fluid does not know the wall is moving. That is a kinematic statement and needs no energy at all.

It sets a damping. This essay, which is the same profile integrated for its dissipation, and the answer depends on the layer’s thickness because the gradient does.

And it sets a mean flow. An oscillation with somewhere to go is the second-order mean of the same solution, which produces a steady circulation from a driving that has no mean anywhere — and the coefficient in it, three-quarters, comes from integrating the nonlinear term across exactly this layer.

Three results, one profile, and the second of them is the one that decides whether a machine works. That is a fair summary of why an exact solution of a simple problem is worth more than it looks: the profile took Stokes an afternoon and has been paying out for a hundred and seventy years.

Stokes' drag stops being the answer almost at once. The damping on a millimetre sphere oscillating in air, divided by Stokes' steady drag on the same sphere, against frequency. The extra term is the sphere's radius over the layer thickness, so it takes over as soon as the layer is thinner than the body — which for a millimetre sphere in air is below one hertz. At a kilohertz the damping is fifteen times the steady value, and the exponent is a half rather than zero.
Fig. 8 The damping curve once more, and the reading that matters. Everything to the left of about a hertz is the regime a steady drag describes, and it is a narrow strip at the extreme left of the range anything oscillates in. Almost every real oscillation is in the unsteady regime, and almost every first estimate is made with the steady formula.

One measurement this makes possible

A last consequence, and it turns the essay round: if the damping is a known function of the fluid’s properties, then measuring the damping measures the fluid.

The quantity that appears is ρμ\sqrt{\rho\mu} — the density–viscosity product — because the layer thickness carries ν\sqrt{\nu} and the stress carries μ\mu. So an oscillating body immersed in an unknown fluid reports one number, and it is a geometric mean of the two properties rather than either of them.

That is the basis of the vibrating-wire and torsional-crystal viscometers, which are the standard instruments for viscosity at high pressure and high temperature — conditions in which no capillary or falling-body method survives, and in which the corrections a capillary needs would be unmeasurable anyway. They are calibrated in a known fluid, they measure a resonance width, and they return the product to a fraction of a per cent.

The limitation is built into the physics: one resonance cannot separate the density from the viscosity. Instruments that need both measure the frequency shift as well, which gives the added mass and therefore the density, and divide. The real and imaginary parts of one coefficient, used as two independent measurements — which works because the two halves of the force have genuinely different physical origins, one a shear in a thin layer and the other an acceleration of a large region.

Who found it, and when

Stokes did the whole of it in 1851, in the paper that also contains the pendulum experiments the theory was written to explain — the damping of a swinging pendulum in air was, at the time, one of the few precise measurements available of any fluid property. Basset added the history integral in 1888.

The surprising connection is with a measurement technique that is not mechanical. A quartz crystal microbalance measures the mass of an adsorbed film by watching a resonator’s frequency shift, and its damping shift measures something else: the viscosity–density product of whatever the crystal is immersed in, by exactly the formula above. So a single oscillating crystal is simultaneously a balance, through its added mass, and a viscometer, through its damping — and the two readings come from the real and imaginary parts of one complex coefficient. The same solution that says a tuning fork goes quiet in water is what lets a five-megahertz disc weigh a monolayer.

Where the ladder goes next

Below this rung is the wall that shakes, which is the layer this whole essay is about, and the price of a gradient, which supplies the integral.

Beside it is an oscillation with somewhere to go, which is what the same layer does at second order, and the last of the oil, which is the damping mechanism that takes over when the fluid is confined rather than free.

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 massBoundary layerDampingDissipationMechanical energyOscillationQuality factorThe Stokes layerUnsteady flowViscosity