Fluids at work

A network through transition cuts its flow only through its laminar pipes

A pipe network whose pipes all keep one law cannot hold a pipe that cuts its flow when opened; mix laws and nearly half of random networks do. Every real pipe has two laws, Poiseuille's below transition and a turbulent one above, joined by a step, so a network of identical-looking pipes becomes a mixed one as its head rises. Followed through that band, half of random networks hold such a pipe, as many as when laws were mixed by hand, and the first appear before any pipe is turbulent. Every one of them is a laminar pipe, never one on the step, and what they cost stays at parts in ten thousand.

Worth reading first: Most pipe networks hold a pipe that cuts their flow, by almost nothing · An extra pipe can cut the flow.

An extra pipe can cut the flow built the networks in which it does. Two routes from a source to a drain, each a laminar pipe and a turbulent one in opposite orders, and a bridge between their midpoints: opening the bridge lowers the total flow, because the network can no longer be described by one quadratic function to be minimised, and Rayleigh’s monotonicity — the electrical rule that a new path can only lower a network’s resistance — does not apply to it. Most pipe networks hold a pipe that cuts their flow, by almost nothing then asked how often that happens in a network nobody designed. With pipes laminar or turbulent at random, 45 per cent of twelve-junction networks held such a pipe, and the median loss was three parts in ten thousand; only crests, which pass no flow below a threshold head, made the worst a few per cent.

That census had one assumption which a real pipe does not grant. Every pipe kept its law whatever its flow. A real pipe is laminar below a Reynolds number of about 2300 and turbulent above it, with a friction factor that jumps between the two, so its head-flow curve is two laws joined by a step, and every network built of real pipes is wholly laminar at a small enough head and mostly turbulent at a large one. Between, it is a mixed network that nobody mixed: its pipes change law one at a time as their own flows cross transition. The census essay ended by asking whether pipes running near transition become the paradoxical ones, and whether a network near transition loses flow nearer the crests’ few per cent than the mixed pipes’ few parts in ten thousand. The answer computed here is no to the first, and not quite to the second.

A pipe with two laws and a step

A smooth pipe carrying flow qq has Reynolds number 4q/πDν4q/\pi D\nu. Below 2300 its head loss is Poiseuille’s, proportional to the flow, with a coefficient that grows as L/D4L/D^4; above it, the Blasius law, proportional to q7/4q^{7/4}, with a coefficient growing as L/D19/4L/D^{19/4}. At the transition flow the friction factor jumps from Poiseuille’s 64/2300=0.027864/2300=0.0278 to Blasius’s 0.3164×2300−1/4=0.04570.3164\times2300^{-1/4}=0.0457, a ratio of 1.642, so the head rises by that factor while the flow does not change.

A pipe passing through transition holds its flow while its head rises by the friction factor's jump. Head against flow for one smooth pipe, both over their values at the transition flow, Reynolds number 2300. Below it the loss is Poiseuille's, proportional to the flow; above it Blasius's, proportional to the flow to the seven-fourths; at the transition flow the friction factor jumps from 64/2300 to 0.3164 × 2300⁻¹ᐟ⁴, so the head rises 1.642 times at a fixed flow. Read the other way, as a network sees it, the flow is flat across that band of heads: a step, like a crest the water must clear.
Fig. 1 Head against flow for one smooth pipe, scaled by their values at transition: Poiseuille’s straight line, the vertical step where the friction factor jumps, and the Blasius curve above.

Read as a network reads it, with the head across the pipe given and its flow to be found, the step is a band of heads over which the flow is fixed. That is the shape of a crest seen sideways: a crest holds the flow at zero over a band of heads, the step holds it at the transition flow. Both make the flow a non-decreasing function of the head with a flat part, so the network’s co-content — the sum over pipes of the integral of flow against head — is still convex, the heads are still its unique minimiser, and Kirchhoff’s law is still the minimiser’s gradient. The census essay’s solver needs only the new law, and it converges to the same residual of 10−1210^{-12}.

Taking the step at a fixed flow is the steady idealisation of transition. A real pipe passes from one law to the other over a range of Reynolds numbers, intermittently, with puffs of turbulence travelling in laminar flow, and the laminar state can persist well above 2300 in a quiet enough pipe. That hysteresis would make the flow a non-monotone function of the head and the network’s state no longer unique; it is left out here and returned to at the end.

The networks and the sweep

The geometry is the census essay’s: twelve junctions scattered in a unit square, each joined to its three nearest neighbours, a source on one side and a drain on the other. Every pipe is now a Moody pipe, its length the distance between its junctions and its diameter drawn log-normally about one, with a spread of a quarter in its logarithm; a pipe’s laminar coefficient goes as L/D4L/D^4 and its transition flow as DD, so a wide pipe reaches transition at a larger flow and a smaller head. The source’s head is swept from 0.3 to 30 in the network’s units, a hundred networks at each of twelve heads, and at each the census is repeated: every pipe shut in turn, the network solved without it, and the pipe called paradoxical if the total flow is larger with it shut.

A network passes through transition over a factor of a hundred in head, a few of its pipes on the step at a time. The share of the pipes in a hundred twelve-junction networks that are laminar, on the transition step, or turbulent, against the source's head, for diameters spread by a quarter in their logarithm. The first pipes reach the step near a head of 0.5; the share on the step peaks at 7.8 per cent; at a head of 30 the network is still 21 per cent laminar, mostly in pipes that carry little.
Fig. 2 The share of pipes laminar, on the transition step and turbulent, against the source’s head. A network passes through transition over a factor of a hundred in head, with only a few of its pipes on the step at any one head.

At a head of 0.3 every pipe is laminar. The first reach their steps near 0.5, the first turbulent pipes appear by 1, and the share on the step rises to 7.8 per cent and stays near it while the turbulent share climbs; at 30 the network is mostly turbulent but still 21 per cent laminar, in pipes that carry little — bridges between routes whose ends sit at nearly the same head. The striking feature is the range. Each pipe changes law across a factor of 1.64 in its own head, but a network’s pipes do so across a factor of a hundred in the source’s, because their diameters, their lengths and their places in the network all spread the heads at which they reach transition.

As often paradoxical as a network mixed by hand

At the two ends of the sweep the census must find nothing. A wholly laminar network is a resistor network and Rayleigh’s monotonicity holds; a wholly turbulent one obeys a single power law, which is again the gradient of one convex function homogeneous in the heads, and the same argument goes through. In between, the network is mixed.

Passing through transition, a network nobody designed holds a paradoxical pipe as often as one built of mixed laws. The share of pipes whose opening cuts the total flow, and of networks holding at least one, against the source's head, for diameters spread by a quarter and by a half in their logarithm. Wholly laminar networks, at small heads, hold none. At the quarter spread the share of pipes peaks at 4.2 per cent near a head of 2, where 50 per cent of networks hold one; random networks of fixed mixed laws hold 2.4 and 45.3 per cent. The first paradoxes appear at a head of 0.5, with pipes on the step and none yet turbulent.
Fig. 3 The share of pipes whose opening cuts the total flow, and of networks holding one, against the source’s head, for diameter spreads of a quarter and a half. The dashed line is the share of networks of fixed mixed laws that hold one.

At a head of 0.5 the census finds its first paradoxical pipes: 4 per cent of networks hold one, and at that head no pipe is yet turbulent. The pipes on their steps alone have made the network mixed. From there the share climbs: 34 per cent of networks at a head of 1, 48 per cent at 1.5, 50 per cent at 2, where 4.2 per cent of all pipes are paradoxical. It then falls slowly as the network becomes mostly turbulent, to 31 per cent at 8. The peak matches the census of fixed mixed laws, 45 per cent of networks and 2.4 per cent of pipes, and slightly exceeds it. A wider spread of diameters, half rather than a quarter in the logarithm, spreads the transition over more heads and lowers the peak, to about a third of networks, because fewer pipes are in the band at once.

So a network needs nobody to mix its laws. Built of identical-looking smooth pipes of ordinary scatter in diameter, it holds a paradoxical pipe half the time while it passes through transition, for exactly the reason a mixed network does: the co-content is no longer one quadratic or one power law, and monotonicity is no longer guaranteed.

Paradoxes before any pipe is turbulent

The first paradoxes deserve a closer look, because they need no turbulence at all. At a head of 0.5 the only nonlinear pipes are the few that have just reached their steps, 0.4 per cent of all pipes, and each of them is, for the network, a pipe that carries its transition flow and no other over a band of heads. A network of resistors with one such element in it is already a mixture of two laws: a linear one, and one whose flow does not respond to its head. That is enough. A route holding a step pipe cannot take more flow when its head rises, a parallel route of resistors can, and a laminar bridge between them can move flow onto the route that has stopped responding and raise every head upstream of it. The designed network needed a turbulent element in each route; a network passing into transition finds that the step does the same job sooner, before the turbulent law has appeared anywhere.

It also explains why the earliest paradoxes include some of the largest losses. With only a handful of nonlinear pipes, a network’s behaviour is dominated by them, and a bridge that diverts flow onto a route held at its transition flow costs proportionally more than one that diverts flow between two routes of many mixed pipes, where the change is shared out.

The pipes that cut the flow are not the ones changing

The census essay’s question had a natural suspect. A pipe on its step behaves like a crest, and crests were what made losses large; the pipe changing law is the one that looks like it should be the paradox.

Every pipe that cuts the flow is a laminar one; the pipes on the step make the paradox and are never it. The 538 paradoxical pipes found across the whole sweep of heads, a hundred networks at each of twelve heads, by the branch each was on with the network open, beside the share of all pipes on that branch: 538 laminar, 0 on the step and 0 turbulent.
Fig. 4 Every paradoxical pipe found across the sweep, by the branch it was on with the network open, beside the share of all pipes on each branch.

It never is. Across all twelve heads and twelve hundred networks the census found 538 paradoxical pipes, and every one of them was laminar with the network open. None was on its step and none was turbulent, although across the sweep 4.4 per cent of pipes were on a step and 29 per cent turbulent. The step pipes and the turbulent pipes are what make the network mixed; the paradoxical pipe is a laminar bridge between routes that contain them, which is exactly the Wheatstone shape of the designed network, with the bridge laminar and the routes holding a turbulent element in opposite orders.

The reason is worth stating because it is general. Opening a pipe lowers the total flow when the flow it carries re-routes the other pipes into a worse arrangement — loading the steep elements and unloading the shallow ones. A laminar pipe carrying a small flow between two nearly equal heads is the cheapest possible re-router: its flow is set by a small head difference, it costs almost nothing itself, and it can move flow from one route to another with little loss of its own. A pipe on its step carries a fixed flow whatever head it sees, and a turbulent pipe resists any re-routing more steeply than a laminar one, so neither makes a good bridge. A maintenance engineer looking for the connection to close would look first at the low-flow laminar links, not at the pipes whose flow is near transition.

What the paradox costs

The second half of the census essay’s question was the size of the loss.

What a paradoxical pipe costs stays at parts in ten thousand, and the worst at a per cent or two. The fall in a network's total flow when a paradoxical pipe is opened, as a percentage, against the source's head: the median over every such pipe, the ninetieth percentile and the worst, for the quarter spread. The median is 0.11, 0.067, 0.054, 0.051, 0.031, 0.035 per cent across heads 0.7 to 8; the worst anywhere is 2.32 per cent. Networks of fixed mixed laws have a median of 0.03 and a worst of 0.52; with one pipe in ten a crest, the worst is 5.8.
Fig. 5 The fall in total flow when a paradoxical pipe is opened, against the source’s head: the median, the ninetieth percentile and the worst, on a logarithmic scale, with the census essay’s medians and worst for networks of fixed laws and of crests.

The median loss is 0.11 per cent at a head of 0.7, 0.05 at 2 and 0.03 at 3 to 5; the ninetieth percentile is a few tenths of a per cent; the worst anywhere in the sweep is 2.32 per cent, at a head of 1.5. That is four times the worst of the fixed mixed laws, 0.52 per cent, and less than half the crests’, 5.8. The step does push the tail of the distribution towards the crests’ — the worst cases are early in the sweep, where a few step pipes are the only nonlinear elements — but the median stays at a few parts in ten thousand, below what any flow meter in a distribution network could resolve.

So a real network passing through transition is about as often paradoxical as one mixed by hand, its worst cases are a little worse, and its typical case is as invisible. The step behaves like a crest in making the network mixed and not in making the loss large, because a crest can shut a route entirely and a step can only hold its flow.

One network through its transition

The census averages; a single network shows what the sweep looks like from inside.

One network's flow leaves its laminar law at a single head and approaches the turbulent one over a factor of a hundred. One twelve-junction network: its total flow over what it would carry with every pipe laminar, against the source's head, with the shares of its pipes on the step and turbulent. The ratio leaves one at a head of about 0.56, when its first pipe reaches transition, and falls to 0.092 at a head of 100; its pipes reach the step one at a time over the whole range.
Fig. 6 One network’s total flow over what it would carry if every pipe stayed laminar, against the source’s head, with the shares of its pipes on the step and turbulent.

Its total flow follows the laminar law exactly up to a head of 0.56, where its first pipe reaches transition, and then falls away from it, to 64 per cent of the laminar flow at a head of 1, 37 per cent at 4 and 9 per cent at 100. Its pipes reach their steps one at a time, so the share on a step rises and falls in jumps of one pipe in twenty-four, and the network’s own head-flow curve has no step at all: it is smooth in the large, made of many small flat stretches too short to see. That is a second way the network differs from its pipes. Each pipe has a transition; the network has a transition region, and no single Reynolds number describes it.

What is assumed

The pipes are smooth, so the turbulent law is Blasius’s and a rough pipe’s flattening towards a constant friction factor is absent; a network of rough pipes would become a different mixture at large heads. Minor losses at junctions, which add a quadratic term to every pipe, are left out, and they would make a wholly laminar network already mixed. The step is taken at a fixed Reynolds number of 2300 with no hysteresis and no intermittency. The networks are random geometric graphs of twelve junctions, not the grids and looped trees of a real distribution system, and their pipes’ lengths and diameters are not correlated as real mains are, with the wide pipes the long trunks. Each of these would move the numbers; none of them would restore Rayleigh’s monotonicity, which is lost the moment two laws coexist.

What the figures cannot show is what a hysteretic pipe does. A pipe whose laminar state persists above 2300 and falls back only below some lower value has two flows for a band of heads, and a network of such pipes can have several steady states at one head, with the one it is in set by its history. Then opening a pipe can move the network from one state to another, and the census’s question has an answer that depends on how the network got there.

The conventions

Heads and flows are in the network’s own units, with a pipe of unit diameter reaching transition at unit flow; the source’s head is the only thing swept. A pipe is paradoxical when the total flow with it open is less than with it shut by more than a part in a million of the flow, and its branch is read with every pipe open. The friction factors are Poiseuille’s 64/Re64/\mathrm{Re} and Blasius’s 0.3164 Re−1/40.3164\,\mathrm{Re}^{-1/4}, joined at 2300. The losses are percentages of the total flow with the pipe shut.

How it was checked

Pipe networks through transition: the checks. One pipe's law joined at both ends of its step, the step's height against the friction factors, and the two one-law limits, wholly laminar and wholly turbulent, in which no pipe may cut the flow.
Fig. 7 One pipe’s flow at both ends of its step against the transition flow, the step’s height against the friction factors’ ratio, the two one-law limits in which no pipe may cut the flow, and the solver’s residual.

The pipe’s law joins its branches to within 6×10−106\times10^{-10} of the transition flow at both ends of the step, and the step’s height is the ratio of the friction factors exactly. Twenty networks at a head of 0.05, wholly laminar, and twenty whose transition flows were made a million times smaller, so that every pipe carrying flow is turbulent, hold no paradoxical pipe, as monotonicity requires for one law. Every solve converges to a Kirchhoff residual of 10−1210^{-12}, and the census essay’s designed two-route networks, solved with the same code, still reproduce their own exact answers.

Rayleigh, Braess, Moody and Reynolds

Rayleigh’s monotonicity for networks of linear resistances is from his work on the theory of sound in the 1870s; Braess’s paradox, the traffic network in which a new road slows everybody, is from 1968, and its mechanical and hydraulic forms from the decades after. The friction factor’s laminar value is Poiseuille’s and Hagen’s; the turbulent smooth-pipe law is Blasius’s of 1913; the chart that joins them with the rough-pipe laws is Moody’s of 1944, after Colebrook. Reynolds identified transition in 1883 with dye in a glass pipe, and found the critical value depending on how quiet the inflow was, which is the hysteresis left out here; why there is no single critical number for a pipe is the subject of the number that is not a number, and the puffs that carry turbulence through a pipe near transition are a puff that does not know how old it is.

The friction factor’s two laws are the subject of the roughness a wall cannot feel where these essays began, and a pipe that holds its flow laminar far above 2300 because it is coiled is a coil’s friction is one number, and the coil holds its flow laminar. The minor loss left out here is a loss with no viscosity in it, and the co-content whose convexity makes the solve unique is the same minimum principle a flow pinned between two guesses uses to bracket a duct’s flow.

Still open: a network that remembers its transitions

The step here is reversible: a pipe on it returns to its laminar law the moment its head falls. A real pipe’s laminar state survives above the critical value and its turbulent state survives below, so a pipe’s law depends on whether its flow last rose or fell. The next calculation would give every pipe a hysteretic law — laminar until 4000 on the way up, turbulent until 2000 on the way down — and drive the source’s head slowly up and then down. It would ask whether the network’s flow follows different curves in the two directions, how many steady states a network has at one head, and whether opening a pipe can switch it from one to another: a paradox that would not be a property of the network at all, but of the order in which it was filled.

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.

Friction factorLaminar flowModel limitPipe flowProbability distributionReynolds numberTransitionVariational principle