This summer I was staring at some logs burning, and a question got stuck in my head: what would it take to simulate that?
I didn’t know. So I learned a little bit of the physics behind it, and then I put my agents to work.
The fire
It took months, off and on. The difficulty was two things together. One was the physics, in which I am no expert. The other was keeping different agents, on different harnesses, on track toward the broader goal. I also kept myself in the loop on purpose. I wanted to learn and understand some of the physics of the simulation, so I did not leave the agents running in a loop of their own.
What finally got me something that worked, and that ran in reasonable time, was pairing two models, Gemini Carbon and Fable. One did the work and the other reviewed it, and then they switched roles. After a bit of this back and forth, I started to get something that checked out numerically and looked plausible.
I went in knowing where a flame’s colour comes from. That much is high school chemistry: electrons drop to a lower energy state and give off the difference, and some of it lands in the visible spectrum. What I had not appreciated was everything else, which is how the fire interacts with what is around it:
- The air. A fire pulls in the air around it, and how much it pulls in sets how tall and how hot the flame is.
- The walls. The flame heats the floor and walls by radiation, they warm the air next to them, and that changes the flow back into the fire.
- Soot. This was the biggest surprise. Soot is what makes a flame yellow: the tiny particles glow because they are hot. In glowing they carry a large share of the fire’s heat away as radiation, which cools the flame and changes how it burns. Above the flame the same particles cool and become the smoke.
The light from the reaction itself, the blue at the base of a flame, still has to be simulated. It turned out to be the part I understood best and the smallest part of the work.
One thing I didn’t get was the logs. I would have loved to simulate wood. But I am trying to build this to be as physically based as I can, which means every number in the model has to come from a measurement, and methane was the fuel where I could readily find all the data that was needed. So the fire in this post burns methane over a round burner.
Wood is harder because it is a solid. It has to break down into gas, tar and char before anything burns, and each of those needs its own data. Having looked again, more of that data exists than I first thought. Fire labs have published open measurements of burning wood cribs and trees, and this year a group of about twenty labs released a shared set of measurements on how one species, eastern white pine, breaks down under heat. There are gaps, tar most of all, and a wood fire built on today’s data would be an approximation with its assumptions written down. There are also stepping stones: propane and heptane burn yellow and sooty, and they have been measured in more detail than methane.
Eventually I had test animations and frames I believed. Then came the question of putting it in RISE.
Putting it in RISE
RISE is my spectral renderer. A renderer draws what it is given, and the usual way to give it a fire is to simulate in one program, export a cache, and render in another. I didn’t want a fire bolted to the side of RISE like that.
So a simulation became an ordinary scene element. It is declared in the scene file like a light or a material. It reads the same geometry and motion the renderer reads, advances through time, and writes its results into a cache. The renderer never talks to the solver. It reads the cache, and it can’t tell whether those frames were baked last week or are being produced live in the viewport.
That raised the next question straight away. If the fire is in the scene, shouldn’t it interact with the other things in the scene? A flag near a fire should move.
From one fire to a simulation engine
Answering that properly meant the fire couldn’t be a special case. It had to be one solver behind an interface that any solver could sit behind: describe your parameters, say what you read from the scene, publish typed outputs, advance in time, save and resume.
Once that existed, adding other kinds of simulation was a matter of writing solvers:
- Cloth. A thin-shell model with fabric presets (silk, linen, knit), self-collision, and air that pushes back.
- Rigid bodies. Stacking, collisions and contact.
- Liquid. A grid solver with a tracked surface, viscosity, surface tension, sources and drains.
Then they had to talk to each other
Four solvers side by side would be a cool list of features. The interesting part is what happens between them.
The simplest case is one-way. In Hearth, the fire’s hot gas pushes a silk pennant, and the pennant does not push back.
The harder case is two solvers that each depend on the other. When the wave in Tide hits the blocks, the water does not push the blocks and then find out a step later that they moved. The blocks’ motion is an unknown inside the water’s own pressure solve, so buoyancy, drag and the wake all agree within a single step. The awning in Cascade works the same way: the cloth’s stretch is part of the same linear system as the water lying on it. That is what lets a few litres of water belly a piece of cloth without the simulation ringing or blowing up.
The six scenes
Each scene has one idea, and together they use every solver and every kind of coupling.






Things that didn’t work the first time
Rain. Cascade began as Monsoon: a cloudburst filling an awning. It looked like glass marbles on a tablecloth. The solver has no model of water wetting cloth, so a drop that lands stays a bead. I tried the obvious fix, a finer grid, three times. The drops got smaller, from 2.8 cm across to under 1 cm, and they were still beads. So the rain became a pour: a narrow sheet of water released along the awning’s high edge. That reads as water. The scene got a new name to match what it actually shows. It also means a full physically accurate rain simulation probably goes on the list for a future exploration.
Speed. The first cut of Tide looked wrong and I couldn’t say why. The physics was fine. The tank is 80 cm long, and water at tabletop scale really does slosh that fast; it just isn’t what the eye expects from something that looks like a wave. Both water scenes now play at half speed. Nothing is retimed in the edit. The simulation is sampled at 60 frames per simulated second and played back at 30.
A bug the slow motion found. Doubling the frame rate should not change the physics, only how often you look at it. For the cloth-and-water scenes it did. A review of the code traced it to the cloth solver skipping one rounding step on frames that are written out, so writing frames more often changed the answer. It is fixed now, and there is a test that bakes the same scene at 30 and 60 frames per second and requires identical results.
What it can’t do yet
Water does not wet cloth, as the rain showed. The fire pushes the pennant, but the pennant does not disturb the fire. Water and fire do not interact in a physically correct way: water will not put a fire out, and a fire will not boil water or turn it to steam. That is something I want to explore. And the thing that started all this, a log fire, is still ahead of me. The data to start on it exists; the work does not yet.
Every solver carries a label in its cache, “preview” or “predictive”, and the cloth, liquid and rigid-body solvers are all still “preview”: they are built on physical models in real units, but I haven’t done the validation that would earn the stronger word. The fabric presets are representative values from the literature, not measurements of a particular bolt of silk.
And it is slow. An hour or two for four seconds of water is fine for a showcase and no good for iterating on a shot. About half of a liquid bake is one linear solve, the pressure solve. I tried two shortcuts on it this week. One lets the solver take longer time steps when the water is shallow. The other runs part of the pressure solve in single precision. Both were correct, and neither was faster by more than the noise between two runs; with floating bodies in the scene the second was slower. So the easy wins are gone, and the real work is in the pressure solve itself.
I set out to find what it would take to simulate a fire. The answer turned out to be months, more physics than I expected, and a renderer that now simulates cloth and water as well. The project continues; there is no end in sight to opportunities to simulate things!












