Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

How fine is fine enough?

The question. A body cut into bricks gives one answer; cut into smaller bricks, it gives another. Which is right, and how small must the bricks be before the answer can be trusted?

Every number the simulator reports for a deformable body was computed on bricks of some size. In the chapter on bricks the same rubber bar bent to 94.5 % of beam theory on bricks 5 mm across and to 97 % on bricks half that size. Neither is the bar’s answer: both are answers of a particular cutting. The simulator needs a way to tell how far such an answer is from the one it is approaching, without knowing that one in advance.

By the end you will be able to read the order of a method from a log–log plot or from three answers, use it to estimate the answer on bricks of size zero, and say which quantities settle quickly as the bricks shrink and which settle slowly.

An answer that changes with the brick size is not yet an answer

Cut a body into bricks of side , in metres, and compute something about it: the deflection of a free end, a force, a stress at a point. Call the result . Cut it again with bricks of side and compute . If the two differ, at least one of them is wrong, and the difference is a first measure of how wrong.

The process of making the bricks smaller and watching the answers is refinement. A method whose answers approach one value as shrinks towards zero is said to converge, and the value they approach is what the method is computing. The difference between an answer and that value is the discretisation error: the error made by cutting the body into pieces of finite size, as distinct from the error of the equations themselves, which refinement does nothing about (How the simulator is checked calls checking the first verification and the second validation).

The same idea was met for time in How the simulator is checked: a stepping rule’s error falls in proportion to its step raised to a power. Bricks behave the same way in space.

The error falls as a power of the size

For a smooth problem, once the bricks are small enough, the error of a method behaves like

In words: the error is a constant times the brick size raised to a fixed power. is the value the method converges to, is a number that depends on the problem and on what is being computed but not on , and is the order of convergence. Halving the bricks divides the error by : by 2 for a method of order 1, by 4 for order 2.

Take logarithms of both sides (of the size of the error):

In words: plotted with both scales logarithmic, the error against the brick size is a straight line whose slope is the order. Such a plot is a log–log plot. A line of slope 2 drops two steps on the error scale for each step on the size scale.

The size of the region where this holds matters. On bricks that are too coarse, the answer can be wrong for reasons that have not yet settled into a power law: a brick that locks gives a bar a fraction of its true deflection, and halving its size only changes which fraction. The power law describes the asymptotic range, the sizes small enough for the error to have taken its final form. Reading an order from bricks outside it gives a number that means nothing.

Reading the order from three answers

The exact answer is almost never known. The order can still be read, from three answers on bricks of sizes , and . Suppose the error is exactly :

Step 1: differences. Subtract neighbours. The unknown cancels:

Step 2: their ratio. Divide the first by the second. , and the bracket cancel:

Step 3: the order. Take the logarithm to base 2:

In words: the order is the base-2 logarithm of how much smaller the second change is than the first. If halving the bricks changes the answer by 0.4 mm and halving them again by 0.1 mm, the changes shrink by a factor of 4 and the order is 2.

The two differences must have the same sign. If the answers go up and then down, they are not yet approaching their limit from one side and no order can be read. That the formula gives back whenever the error is exactly , for any ratio of sizes, has been proved.

Richardson extrapolation

With the order known, one more line of algebra estimates the answer on bricks of size zero. From the last two answers, and . The second is the first divided by , so

In words: the last answer, moved on past itself by its last change divided by . This is Richardson extrapolation. For a method of order 2 the last change is divided by 3. It is exact when the error is exactly (proved); when the error only behaves like that, the extrapolated answer is better than any of the three, and the amount it moves is an estimate of the error left in the finest one.

A yardstick: a bar with an exact answer

To see whether these rules work, a problem is needed whose exact answer is known, so that the true error can be measured beside the estimated one. Beam theory, used in the chapter on bricks, is not exact for a bar of real depth: it ignores the shear of the cross-section.

The theory of elasticity has an exact answer for one case. Take a slice through a long body in which nothing changes along the third direction: every cross-section deforms alike, and the material cannot move along that direction. This is plane strain. In such a slice, a bar of length and depth , held at one end and loaded at the other by a force spread over the end face in a parabola (largest at the middle, zero at the top and bottom), has a displacement known in closed form for a material that obeys the linear law of small strains. It is Timoshenko and Goodier’s solution, and it is the standard test of finite elements, on one condition: the held end must be held in the exact solution’s own shape, which is not quite flat, or the computed answers converge to the answer of a different problem (Augarde & Deeks 2008).

The laboratories of this part use that slice: the bar of the chapter on bricks, 60 mm long and 10 mm deep, 10 mm thick, with a shear modulus of 0.4 MPa (Bower 2025, section 3.5.7), loaded with 0.05 N. Cut into squares, it is the two-dimensional picture of the simulator’s bricks, and each square comes in kinds: the four-node square, whose weights are the edge weights of the chapter on bricks in two directions, and the nine-node square, which has a node at the middle of each edge and one at its centre, so that its edges can bend (the chapter Bricks that can curve builds it). A four-node square with one mean volume change for the whole square is the simulator’s brick, flattened.

With a bulk modulus 1,000 times its shear modulus, the exact tip deflection is 2.787 mm, 3.1 % more than beam theory’s 2.703 mm. The difference is the shear.

The whole error, not one number

The tip deflection is one number. The error can be small there and large elsewhere. A measure of the error over the whole body is the energy of the difference between the computed and the exact strain fields. The energy norm of a strain field is

In words: twice the stored energy of the strain, added up over the slice of thickness . is the part of the strain that changes shape and the part that changes volume, as in the chapter on volume. The energy-norm error is the energy norm of the computed strain minus the exact strain, divided by the energy norm of the exact strain, as a percentage.

The two measures converge at different rates. The strain is a rate of change of the displacement, and a rate of change computed from a few corner values is less accurate than the values themselves, so the energy norm converges more slowly. For the four-node square the energy-norm error is of order 1 and the tip deflection of order 2; for the nine-node square, of order 2 and about 4.

A worked example

The four-node square with one mean volume change, bulk modulus 1,000 times shear modulus, on squares of 5, 2.5 and 1.25 mm (2, 4 and 8 across the depth):

SquareTip deflectionError against the exact 2.787 mm
5 mm3.085 mm+10.7 %
2.5 mm2.857 mm+2.50 %
1.25 mm2.804 mm+0.62 %

Without using the exact answer:

QuantityCalculationResult
First change0.2281 mm
Second change0.0525 mm
Their ratio4.35
Order2.12
Extrapolated deflection, with 2.787 mm

The extrapolation from three answers that were 10.7, 2.5 and 0.6 % off lands within 0.01 % of the exact deflection. With the order read from the answers themselves, 2.12 in place of 2, it lands within 0.06 %.

The energy-norm errors on the same squares are 40.1 %, 19.3 % and 9.6 %: halving the squares halves the error, order 1.

Try it

The bar is drawn in its computed shape, each square coloured by its share of the error energy; the purple outline is the exact shape. The first plot shows the error against the square size, both scales logarithmic, beside lines of slope 1 and 2; the second shows the energy-norm error of all four kinds of square against the number of unknowns.

  1. Check the worked example. The lab opens on the simulator’s kind of square at 5 mm: tip deflection 3.085 mm, error +10.7 %. The order read from 5, 2.5 and 1.25 mm is 2.12, and the extrapolated deflection 2.789 mm, 0.06 % off.
  2. Halve, and halve again. Choose squares of 2.5 mm, then 1.25 mm. The error falls to +2.50 % and +0.62 %, a quarter each time, and the energy-norm error to 19.3 % and 9.6 %, a half each time.
  3. Read the slopes. In the first plot the tip-deflection points lie along the line of slope 2 and the energy-norm points along the line of slope 1, except at 10 mm, where one square across overshoots to 169 % of the deflection. That point is outside the asymptotic range.
  4. Predict, then check. Choose the nine-node square with a volume change linear in the square. What order should its tip deflection show? It is already 0.05 % off at 5 mm, and the order read from the three sizes is about 4. Its energy-norm error falls with slope 2.
  5. Count the cost. In the second plot, find where each kind reaches an energy-norm error of 2 %. The nine-node square does it with 240 unknowns; the four-node square has not done it with 864.
  6. A locked element. Choose the four-node square with the volume taken at every sample point. At 5 mm the bar bends to 14 % of the exact deflection and at 1.25 mm to 32 %. The changes grow instead of shrinking, and the order read from them is negative (−1.2): these sizes are not in the asymptotic range.
  7. An order that misleads. Keep that element and raise the bulk modulus to 100,000 times the shear modulus. Now the changes do shrink, and the order reads 1.31; but the extrapolated deflection is 0.445 mm, 84 % short. Three answers can agree with one another and all be wrong: an order read from them says how they approach their limit, not whether the limit is right.
  8. Unlock it. Set the bulk modulus to 10 times the shear modulus. The element bends to 66 % at 5 mm and 97 % at 1.25 mm, the order reads 1.36, and the extrapolated deflection is 2.2 % over: closer, and still outside the asymptotic range.

Which quantities settle slowly

Not every quantity converges as fast as a tip deflection. Two kinds are slow:

  • Stress near a surface or a corner. Stress is a rate of change of the displacement, like strain, and it is least accurate at the edge of a body, where a brick has neighbours on one side only. Where a surface turns a sharp inner corner the exact stress has no finite value at all, and refinement chases it for ever. The next chapter, Reading stress out of a body, is about getting the most out of a stress computed on bricks.
  • Contact. Where two bodies touch, the region in contact is itself part of the answer, and its edge moves from brick to brick as the bricks shrink.

The simulator’s arm shows both. Its tissue, solved at the elbow’s atlas angle on cubes of 8 mm and of 6 mm, gives each flexor’s mean active fibre stress within 1–9 % on the two sizes, but the stress at the 95th percentile of each muscle moves by up to 23 %, and the largest contact pressure of the brachialis on bone falls from 8.5 to 3.2 MPa. The averages are close to their limit and the peaks are not.

Thinner than a cube

A third kind of answer does not settle until the bricks are small enough to start with: a body thinner than its bricks. Many muscles of the forearm are a few millimetres thick, and the arm’s cubes are 8 mm. A strip of muscle tissue 3 mm square and 96 mm long, clamped at one end and held from turning at the other, has a bending stiffness that beam theory gives exactly, N/m. The simulator gives:

CubeCubes across the stripStiffness ÷ beam theory
8 mm0.382.52
4 mm0.751.22
3 mm1.000.72
2 mm1.501.75
1.5 mm2.001.048
1 mm3.001.034
0.5 mm6.001.021

Below two cubes across the error jumps about, from −28 % to +152 %, because how much of the strip each cube holds changes with where the cubes happen to fall. From two cubes across it falls steadily, and the last three answers give an order of 1.2 and an extrapolated stiffness of 1.011 times beam theory. A body has to be at least two cubes thick before refinement behaves as the earlier sections of this chapter say. So a thin muscle needs cubes of its own, finer than the arm’s.

Cubes of a body’s own

Every one of the forearm’s 21 muscle surfaces in the atlas is thinner than one of the arm’s 8 mm cubes. A simple measure of a body’s thickness is twice its volume over its surface area, , which for a flat slab is its thickness. For these muscles it is 2.1 to 5.8 mm (derived from the atlas surfaces).

Three ways of resolving them were weighed:

  • Sheets. Build each thin muscle as a thick sheet, like the membranes. A sheet that keeps its volume through its thickness and has active fibres would be a new kind of element. And a forearm belly 4 to 6 mm thick is a third to a half as thick as it is wide, which is not thin enough to behave as a sheet (a judgement). Not chosen.
  • Finer cubes inside a body. Refine only where needed, as Bricks of two sizes does, which ties the corners of small cubes to the edges of large ones. For bodies built from their surfaces, with contact and attachments on every cube, it would be the largest piece of new code of the three. Not chosen.
  • Each body on cubes of its own. Chosen. Each body of the arm already has its own lattice, and two bodies meet only at their surfaces, through contact or an interface law. So one body can be given smaller cubes than its neighbours with no ties between lattices of different sizes. Only the thin body’s cubes multiply.

How small is small enough was measured on one muscle, extensor carpi radialis brevis, half active, alone among the bones. Its body’s pull is compared with the pull of the line muscle that stands for it, which a body of the same muscle should match:

CubeNodesBody ÷ line, elbow at 11.9°Body ÷ line, elbow at 60°
8 mm3360.7360.874
6 mm5350.7100.801
4 mm1,1950.8810.964
3 mm2,1820.9550.995
2 mm5,4390.9930.997

These were measured on 27 November 2026, with the muscle at its atlas size, before its size was set by its measured share (which changed its volume by 4 %). On the arm’s 8 mm cubes the body pulls three quarters of its line. From 3 mm down the answer settles, within 0.04 of the 2 mm answer, and it is above the 0.85 that the arm’s nine bodies are held to. So 3 mm is that body’s cube.

The table’s body was held by its origin bound over the atlas’s contact with the humerus. Tissue round 20 moved that origin to a tendon from its measured footprint (Line muscles beside tissue bodies). Held that way on 3 mm cubes, the body pulls 0.82 of its line at 12° and 0.80 at 60°, half active: its fibres work shorter. That ratio compares the body with the model’s own line, not with a measurement, and the cube sizes were not measured again for the new origin.

The option is built, but none of the default bodies uses it, so every default run is unchanged. The forearm body that uses it is described in Line muscles beside tissue bodies.

What this model leaves out

  • Nonlinear, nearly incompressible, contact-coupled problems. The order of a method is proved only for smooth, linear problems. Whether the tissue of the arm, with large deformations, fibres, near-incompressibility and contact, converges at the same rates has to be measured. The simulator’s arm has been solved on two cube sizes, not on the three a rate needs.
  • Bricks of different sizes. Refining everywhere is costly. Bricks of two sizes refines only where it pays.
  • Error that is not discretisation error. No amount of refinement corrects a wrong material law or a wrong shape. That is validation.

Summary

  • An answer that changes when the bricks are halved is not yet the body’s answer; the difference measures the discretisation error.
  • In the asymptotic range the error is , a straight line of slope on a log–log plot.
  • Three answers on sizes , and give the order without the exact answer, , and Richardson extrapolation then estimates the answer on bricks of size zero.
  • Different quantities converge at different rates: displacements fastest, strains and stresses more slowly, surface stresses and contact slowest.

Next: stresses are among the slow quantities. Reading stress out of a body asks how to get the best stress from a body of bricks, and how to tell where it cannot be trusted.