Lumbar spine¶
Vertebrae L1–L5 of a 49-year-old spine, from the FEBio model of Finley et al. (2018), FEBio finite element models of the human lumbar spine, bending forward and back under a moment on L1 with L5 fixed.
--direction both runs the forward and backward cycle. With --order quadratic, the
published mesh bends +18.1° in flexion and −17.0° in extension at the paper's 7.5 N·m
(paper: about +19.8° and −15.5°). The video uses a larger load, +20 and −9 N·m.
Model¶
Each tissue has its own material: neo-Hookean bone and cartilage, and a fiber-reinforced annulus.
part = data["element_part"].astype(int)
fibers = [fiber.astype(float) for fiber in data["annulus_fibers"]] # two directions per annulus element
materials = []
for name, youngs_modulus, poisson_ratio in zip(data["part_names"], data["part_youngs_modulus"], data["part_poisson_ratio"]):
if name == "annulus":
materials.append(trusty.HolzapfelGasserOgden(youngs_modulus=youngs_modulus, poisson_ratio=poisson_ratio,
fiber_directions=fibers, **ANNULUS))
else:
materials.append(trusty.NeohookeanBW(youngs_modulus=youngs_modulus, poisson_ratio=poisson_ratio))
return trusty.fem.ElementMaterials(part, materials)
The model contains 292 ligaments, modelled as cables with an exponential force law, and the facet joints touch through contact.
The moment¶
L5 is pinned and L1 follows an affine body. The moment is a couple of point loads on L1, re-aimed every load step.
self.done += 1
positions = np.asarray(trusty.fem.positions(self.world, self.body))
# The couple is a dead load: it is re-aimed at the nodes' current positions every step.
forces = couple_forces(positions[self.couple_nodes], np.array([self.moment_now(), 0.0, 0.0]))
trusty.loads.set_point_forces(self.world, self.couple, forces)
self.world.step()