The Secret Science Behind Your Morning Espresso: How 3D X-rays are Perfecting the Coffee Puck
Featured paper: A model for the permeability of coffee pucks validated using X-ray computed microtomography
Disclaimer: This content was generated by NotebookLM and has been reviewed for accuracy by Dr. Tram.
If you’ve ever watched a barista “dial in” a shot of espresso, you’ve seen a master at work. They adjust the grind size by tiny fractions, weigh the coffee to the gram, and press it into a metal basket with a heavy tamper. It looks like a ritual, but it’s actually a complex physics experiment. A new study titled “A model for the permeability of coffee pucks validated using X-ray computed micro-tomography” by Fabian B. Wadsworth and his team finally brings the precision of geology and materials science to your kitchen counter.
At its heart, making espresso is about permeability—a scientific word for how easily a fluid (like hot water) can move through a solid material (the “puck” of coffee). If the water moves too fast, your coffee is sour and weak; too slow, and it’s bitter and burnt. For years, baristas have relied on trial and error, but this research team used 3D X-ray scans and advanced math to figure out exactly what’s happening inside that coffee puck.
The Coffee “Puck” Problem
In an espresso machine, hot water is forced through a dense bed of coffee grains under high pressure—about 9 to 10 bars, which is roughly five times the pressure in a car tire. The speed at which that water flows determines how much caffeine and flavor it picks up.
The researchers identify three main things the barista can control:
- Dose: The mass of coffee used, which determines the thickness of the puck.
- Grind Size: How fine or coarse the coffee is ground.
- Tamping: How hard the coffee is pressed down, which affects how much “void space” or air is left between the grains.
While tamping is important, the study found it’s actually a “second-order effect” compared to the dose and the grind setting. In other words, if your grind is wrong, no amount of heavy tamping is going to save your shot.
Peering Inside with 3D X-rays
To understand how water moves through the coffee, the scientists didn’t just brew coffee; they scanned it. They took two types of roasted beans—a Tumba variety from Rwanda and a Guayacán from Colombia—and ground them at 11 different settings.
They used a technology called X-ray computed micro-tomography (XCT). This is essentially a medical CT scan but for very small objects. By placing the ground coffee in a tiny straw and scanning it, they could create a perfect 3D digital map of the coffee grains and the tiny tunnels of air between them.
When they looked at these 3D models, they noticed something interesting: coffee grains are internally porous. This means they have tiny holes inside them, like a sponge. However, the study found that most of these internal holes are “isolated,” meaning water can’t flow through them. The water mostly travels through the gaps between the grains, not through the grains themselves.
The Math of the Perfect Flow
The researchers tested two main mathematical theories to see which one predicted water flow better. The first is the Kozeny–Carman equation, a classic formula used for things like soil and rocks. The second is Percolation Theory, which is often used to study how liquids move through complex networks.
They found that Percolation Theory was the winner, especially when the coffee is packed very tightly. The two most important factors in their model are:
- Porosity: The total amount of space between the grains.
- Specific Surface Area: This is a measure of how much “surface” the water actually touches as it passes through.
When you grind coffee finer, you aren’t just making the pieces smaller; you are massively increasing the surface area the water has to interact with. This creates more “viscous resistance,” making it harder for the water to squeeze through.
Is Espresso Flow “Chaotic”?
One of the coolest parts of the study was checking if the water flow in an espresso machine is “smooth” or “chaotic.” In physics, these are called laminar and inertial flows.
By calculating something called the Forchheimer number, the team determined that espresso flow is typically laminar. This is good news for baristas because it means the flow is predictable and follows “Darcy’s Law,” which says the speed of the water is directly related to the pressure you apply. However, they noted that we are often operating right on the edge of the “inertial regime,” where the flow could start to get messy and unpredictable if the pressure or flow rate changes too much.
The Mystery of the “Fines” and Swelling
Even with a perfect model, coffee is a living, changing substance. The researchers highlighted two things that can still throw a wrench in the works:
- Fines Migration: When you grind coffee, it produces “fines”—tiny dust-like particles. During brewing, these tiny particles can get washed down to the bottom of the basket, clogging up the holes and slowing down the flow.
- Bean Swelling: Some evidence suggests that coffee grains swell by up to 30% when they get wet. If the grains get bigger, the gaps between them get smaller, which can drastically reduce permeability and slow down your shot.
Why This Matters for You
You might ask, “Why do I need a 3D X-ray and a physics degree to make a latte?” The answer is that this model allows for a priori choices. This means that instead of wasting five shots of expensive coffee trying to find the right grind, a barista (or an espresso machine manufacturer) could use these formulas to predict exactly which setting will work for a specific dose of coffee.
The researchers concluded that their model is “universal,” meaning it doesn’t just work for the two coffees they tested, but likely for any coffee with a similar roast. It gives baristas a scientific roadmap to navigate the “dialing-in” process, ensuring that every shot has the perfect balance of flavor.
Next time you hear the hiss and pop of an espresso machine, remember that you’re witnessing a finely tuned dance of porosity, surface area, and percolation—all backed by the same science we use to understand volcanoes and groundwater. Science never tasted so good.