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

Bricks that can curve

The question. A brick’s edges are straight lines between its corners, and a bent bar is curved. Smaller bricks follow the curve better, at a steep price in unknowns. What if each brick’s edges could curve instead?

The simulator’s brick has eight corners and straight edges. In the chapter on bricks, a bar of them bent 5.5 % less than beam theory, and the cure for its worse failure, locking, was to charge the volume change once per brick. Both troubles come from what eight corners can and cannot describe. An element with more nodes can describe more, and the previous chapters showed one doing so with fewer unknowns for the same error.

By the end you will be able to write the weights of a quadratic brick, say why it bends without the straight-edged brick’s shortfall, explain why its pressure must then vary inside it, count the cost, and say what splines and the finite cell idea add.

Weights that are quadratic along each edge

The weights of the simulator’s brick are products of the edge weights , one along each direction (Cutting a body into bricks): straight lines. Give each edge a third node at its middle, and the straight-line weights become the three quadratic weights, one for each node at , and :

In words: each is 1 at its own node and 0 at the other two, and between them it is a parabola. They add up to 1 at every , and , so they carry a straight edge, evenly marked, exactly as the straight-line weights do.

A 27-node brick has a node at every corner, at the middle of every edge, at the middle of every face and at its centre: three nodes along each direction, . The weight of the node at , with each of , , one of −1, 0, +1, is the product

In words: the same rule as the eight-node brick’s, with quadratic edge weights in place of straight ones. The 27 weights add up to 1 everywhere and reproduce the parent coordinates, so any uniform stretch, shear or small turn is carried without error (proved, for the 27-node brick and for its flat counterpart, the nine-node square). A brick that can represent these is the minimum any element must manage; it is what makes it pass a patch test.

Why a quadratic brick bends

Bend a bar. Its centre line becomes, to a first approximation, a parabola, and every line along the bar curves with it. An edge with three nodes can be a parabola. An edge with two cannot.

That is not only a matter of looks. Pure bending stretches the top of the bar and squeezes the bottom, and shears nothing: lines across the bar stay square to the centre line. A four-node square whose top and bottom edges must stay straight can only bend by tilting its sides, and tilting its sides shears it. That shear is not in the real bar. It stores energy that the real bar does not store, so the square resists bending too much: a stiffening that comes from the element’s shape, not from the material, and that grows as the square becomes long and thin compared with its depth. It is a second kind of locking, shear locking. Charging the volume once per brick, which cured the first kind, does nothing for it, so the simulator’s brick still needs several bricks across a part to bend that part well.

A quadratic element has the curved edge pure bending needs, so it bends without that spurious shear. The bar of How fine is fine enough? shows it: on nine-node squares of 5 mm the tip deflection is within 0.05 % of the exact answer, where the simulator’s kind of square is 10.7 % off.

The pressure must then vary in the brick

Charging the volume change once per brick was the cure for volume locking in the eight-node brick: one condition per brick instead of eight. Count what that does on a block. Clamp a block of bricks on one end face. It has free coordinates. Keeping the volume at each of the eight sample points of every brick is conditions, so the conditions per free coordinate are

In words: about conditions for every coordinate that is free to satisfy them, and the ratio rises towards as the bricks across become more numerous. For the bar of the chapter on bricks, two across, it is ; with four across, 1.71. That is why making the bricks smaller helped only a little there. With one condition per brick the ratio rises only to (both limits proved).

The mean volume ratio is a weighted mean of the sample points’ volume ratios, so it lies between the smallest and the largest of them; and a mean of 1 does not need any point to keep its volume: two points with ratios 0.5 and 1.5 have a mean of 1 (proved). That freedom is what lets a bent brick, with a little too much volume on one side and too little on the other, pay nothing.

A quadratic brick has more nodes, and the right number of volume conditions to go with them is not one: one per brick would let it change volume in patterns that cost nothing, and a condition at every one of its 27 sample points would again be too many. The usual choice is a volume change, and so a pressure, that varies linearly inside each brick: four numbers per brick in three dimensions, three in two. The element is then written Q2/P1: quadratic displacements, a linear pressure that may jump from brick to brick. The same pairing, quadratic displacements with linear pressure, is the one a muscle model built on Taylor–Hood elements uses (Heidlauf & Röhrle 2013, section 3.1), and a recent model of skeletal muscle uses a three-field form of it, Q2–P1–P1 (Almonacid et al. 2024, section 3.3).

Counting is only a warning. The precise condition that a pairing of displacement and pressure is stable, that no pressure pattern can exist which the displacements do not feel, is called the inf–sup condition. The simulator’s brick, eight nodes with one pressure, does not satisfy it in theory, and the checkerboard of the last chapter is the pressure pattern it lets through; yet in practice it does not lock, a gap the same paper notes, “though the theory is lacking” (Almonacid et al. 2024, section 3.3).

What it costs

More nodes per brick means more unknowns and more coupling.

Per brick of a large latticeEight-node27-node
Nodes, shared with neighboursabout 1about 8
Unknownsabout 3about 24
Nodes each node is coupled to27up to 125

On the same lattice, a quadratic brick multiplies the unknowns by about eight and makes every row of the stiffness matrix several times longer. The question is never the cost per brick but the cost per unit of accuracy. In the slice of How fine is fine enough?, the nine-node square reaches an energy-norm error of 1.4 % with 240 unknowns; the simulator’s square has 9.6 % with 864. For embedded bodies in three dimensions, one study found 20-node bricks reaching the same surface error as eight-node bricks with 11,572 nodes against 121,692, and running 8.1 times faster per step, for a material with a Poisson’s ratio of 0.48 (Longva et al. 2020, section 6). That material is much easier to squeeze than tissue, so the result is a lead for the simulator’s case, not a measurement of it.

Splines as elements

A different way to get smooth, curved shapes is to use B-splines, the curves of computer-aided design. A uniform quadratic B-spline on a row of evenly spaced control values , , takes, at spacings from the middle one, the value

In words: three weights that are never negative and always add up to 1, so the curve stays within the range of its three control values (proved, for this uniform case). Each control value touches only three spans (local support), and the curve and its slope are continuous from span to span, where a brick’s weights are continuous only in value. The simulator already uses exactly these weights, in three directions, for the smooth distance with which deep contact between tissues is measured (Tissues that touch).

Used as elements, splines describe both the shape and the deformation with one basis, the idea known as isogeometric analysis, which gives more accuracy per unknown on smooth problems (Hughes et al. 2005, abstract). They need the same care with volume as bricks do: the volume change is replaced by a projected or averaged one, a B-bar or F-bar method, in which the deformation gradient at each point is corrected so that its volume ratio is the averaged one (Elguedj et al. 2008, abstract).

Higher order on the present lattice

The simulator’s bodies are embedded in a lattice of equal cubes, most of the muscle’s surface cutting through cubes. Higher-order bases do not need a new mesh: the same lattice can carry quadratic bricks or spline cells, as long as the cut cubes are integrated accurately enough. This is the finite cell idea (Parvizian et al. 2007, from its record), and the study above found that with accurate integration of the cut cells embedded quadratic bricks kept their higher order of convergence, where a staircase of whole cubes lost it (Longva et al. 2020, section 6.6).

Try it

The slice of the bar of How fine is fine enough?, bent on a chosen element, each cell coloured by its pressure. The first plot shows the tip deflection, divided by the exact one, against how hard the material is to squeeze, for every element; the second, against the number of elements across the depth.

  1. A locked square. The lab opens on the four-node square with the volume taken at every sample point, two across, bulk modulus 1,000 times shear modulus: the bar bends to 14 % of the exact deflection, and the cell pressures swing between +297 and −297 kPa where the exact pressure is never more than 4.3 kPa.
  2. The simulator’s cure. Choose the four-node square with one mean volume change. It bends to 111 %, and its pressures, within ±5.0 kPa, are of the right size.
  3. Predict, then check. In the first plot, follow the plain four-node square from a bulk modulus of 10 to 100,000 times the shear modulus. How far does it fall? From 66 % to 13 %. The square with one mean volume change stays at 109–111 % all the way.
  4. Curved edges. Choose the nine-node square with a volume change linear in the square: 100.05 % of the exact deflection, and its largest cell pressure 4.313 kPa against the exact 4.311 kPa.
  5. One element across. Set one element across. The simulator’s kind of square now bends to 169 %; the nine-node square with linear volume change to 100.8 %. The number of elements across a feature, not their size, governs how well it bends.
  6. More nodes, volume everywhere. Choose the nine-node square with the volume taken at all nine of its sample points. On this bar it does not lock: 100.00 % at every bulk modulus. Counting its conditions, nine per square against about eight free coordinates, warned that it might; on this problem it does not, which is why counting is a warning and not a verdict.

What this model leaves out

  • Quadratic bricks in the simulator. The simulator’s tissue has only the eight-node brick with one mean volume change; the quadratic elements here are in the flat slice of the laboratory.
  • Fibres and large deformation. The slice has no fibres and a linear law. With stiff fibres, a further kind of locking appears along them: in a bent bar whose fibres are 300 times stiffer than the ground substance, the fibre stress was still doubling at eight bricks across.
  • Splines with F-bar. Spline elements are not built; only the spline’s weights, used for contact, are.
  • Stability proved. Whether the pairings here satisfy the inf–sup condition is known from the literature for some and measured here for none; the laboratory shows how they behave on one problem.

Summary

  • A quadratic element has three nodes along each edge; its weights are products of the quadratic weights , , , which add to 1 and carry any uniform deformation.
  • Curved edges let it bend without the spurious shear of a straight-edged brick.
  • Keeping the volume at every sample point puts about conditions on each free coordinate, rising as the bricks shrink; one per brick, . A quadratic brick is usually given a linear pressure (Q2/P1); stability is the inf–sup condition, which counting only hints at.
  • Per unknown, quadratic elements are more accurate on smooth problems; splines and the finite cell idea bring higher order to the present lattice.

Next: bricks are not the only way to cut a body. Other ways to cut a body compares tetrahedra, conforming hexahedra, meshless methods and reduced models.