The Most Realistic Fire Simulation Ever

The Most Realistic Fire Simulation Ever

Two Minute Papers

0:00 Previous works have shown us that fire simulation is possible.

0:03 You can set a virtual tree on fire and see what happens.

0:08 Or, on a bigger scale, simulating wildfires!

0:11 But what about extinguishing the fire?

0:14 Not like this.

0:16 With water!

0:17 Well, I found an amazing research work on that too!

0:21 Yoohoo!

0:21 Now, there are different types of flames,

0:24 depending on what kind of chemical created them.

0:28 This incredible work models that too, that is already stunning.

0:32 But it’s nothing compared to what it can do.

0:36 So the main problem is that fire simulations are like the ones in video games.

0:40 It’s like a plastic display burger in a restaurant ad.

0:44 It looks fine, until you touch it, or if you throw a bucket of water on it,

0:50 nothing happens- the water just clips right through it!

0:54 This problem goes way beyond games,

0:56 such a thing could be amazing for fire safety training too!

1:01 You could actually try to train firefighters

1:03 by putting out realistic fires in VR.

1:06 But you can’t do that if the fire is ignoring the water hose!

1:11 So, how do we fix this?

1:13 Well, this new research work says just give it the geometry of the scene,

1:17 a fuel source, and a water source.

1:20 And it promises a chemically rigorous simulation where the fire actually

1:24 dies if you starve it of oxygen or cool it down.

1:28 Here is the crazy thing.

1:30 You can even mix different fuel types and fuel-oxygen

1:34 ratios and they create completely different kinds of flames.

1:38 How an Earth did they do that?

1:40 Wow.

1:41 And when we hit the fire with water, we finally get some vapor!

1:46 So cool.

1:47 It’s really tough to put out though, look,

1:50 even if you aim at the base… it didn’t do a great deal.

1:54 Why?

1:55 Because a laminar flow is essentially a solid

1:59 beam of water with minimal surface area,

2:02 which limits its ability to absorb heat from the flames.

2:06 Now let’s try a proper spray instead.

2:09 Does this work better?

2:11 Oh my, you bet it does!

2:14 Why exactly?

2:14 This works beautifully because breaking the water into thousands

2:18 of tiny droplets increases the surface area for heat absorption.

2:23 This cools the area down instantly while,

2:26 look, the huge expanding steam suffocates the fire.

2:30 Now this is a virtual world, so we can try funny things.

2:35 You often hear the term adding fuel to the fire.

2:39 So why not do that?

2:41 Oh wow, look at that!

2:43 Now note that the visuals are not the state of the art.

2:47 I need to mention that simulation and visualization are different disciplines.

2:51 The true treasure here is the accurate chemistry simulated under the hood,

2:57 and not the pretty pixels.

2:59 Now it advects the fire, and also starts scorching this wall next to it.

3:04 Look closely at how the wall darkens over time-

3:08 this is not just some pre-computed color being slapped on it!

3:12 The simulation actually tracks the formation of soot during

3:16 incomplete combustion and even deposits them onto the object's surface.

3:21 It simulates the environment having a memory of being burned.

3:26 Wow.

3:27 Now, real life firefighting gets so much more intricate than these toy examples,

3:32 so let’s put it to the real test.

3:35 Can it simulate this?

3:37 Okay, wait, so what is happening here?

3:39 This is a brilliant application of the Venturi effect.

3:44 They are spraying water not into the window.

3:47 But out of the window, that is the key.

3:51 Why?

3:51 Well, if you do that at a high speed, you lower the air pressure there,

3:57 which essentially vacuums the smoke and heat out of the room.

4:01 It is like a massive truck speeding down a highway.

4:04 This creates a gust of wind that pulls dry leaves behind it.

4:09 The simulator cannot possibly be so smart to understand this right?

4:14 Let’s see…I can’t believe my eyes.

4:17 This is incredible!

4:19 Now one other detail that completely blew me away is the annealing simulation.

4:25 Here they heat up a metal rod, and when the flame is removed,

4:30 the rod stays glowing and slowly cools down.

4:33 It even creates its own light source!

4:36 This wasn't even the main point of the paper, but it adds so much realism.

4:41 I absolutely love this.

4:43 Okay, now, the two final boss scenes, and then I’ll tell you how it works.

4:48 Boss level 1.

4:50 Three cars burning with massive flames.

4:52 Yes!

4:53 Finally!

4:53 This puts it all together.

4:56 This is a multiphase experiment.

4:58 This is a fancy way of saying that the Holy

5:01 Trinity of physics states are all fighting each other:

5:05 solids, liquids and gases.

5:07 All at the same time.

5:09 You see that this is not just deleting the fire.

5:13 The liquid water hits the hot gas, absorbs the heat,

5:17 and transforms into white steam that mixes with the black smoke.

5:21 It is a chaotic, beautiful mess of thermodynamics!

5:25 The water fights the fire, the fire fights the air,

5:29 and the steam fights for space.

5:32 The simulation is calculating the chemistry of extinction.

5:35 And now hold on to your papers Fellow Scholars,

5:39 because all this happens in real-time.

5:42 Yup.

5:42 I am out of words.

5:45 Now let’s demonstrate how this kind of knowledge can save lives.

5:49 Here we have a kitchen fire starting on a stove.

5:53 We activate the sprinkler with just a tiny bit of delay.

5:57 A tiny bit.

5:59 And look.

6:00 Oh goodness!

6:00 The fire grows, climbs the walls, eats the ceiling,

6:04 and fills the whole room with thick, black smoke.

6:08 It is a total disaster.

6:10 Now a simulation technique like this can help us imagine a what if scenario.

6:15 What if we activated the sprinkler just a bit earlier?

6:19 Probably doesn’t matter right?

6:20 Well, hold on to your papers Fellow Scholars,

6:23 yes, again, and look at the difference!

6:26 In the second timeline, the water spray cools the reaction instantly.

6:30 You see the fire turn into a puff of white vapor and die out.

6:36 This proves why this isn't just a toy for making video games look cool.

6:42 No!

6:42 This is a virtual safety lab.

6:45 Don’t forget, this is accurate and fast.

6:48 With this, we can test millions

6:50 of what if scenarios- different sprinkler positions, different delays and fuels.

6:55 All this without ever having to burn down a single house.

7:00 Okay, so how is all this magic possible?

7:03 How did they do that?

7:05 Dear Fellow Scholars, this is Two Minute Papers with Dr.

7:08 Károly Zsolnai-Fehér.

7:09 Well, first of all, this doesn’t use any AI whatsoever.

7:13 Only human brilliance.

7:15 Okay.

7:15 The reason previous techniques failed is that fire

7:19 and water in a computer speak two completely different languages.

7:23 The fire lives on a grid- imagine a giant

7:27 3D spreadsheet of boxes that calculates airflow and temperature.

7:32 But the water…the water lives as particles-

7:36 like millions of tiny sand grains floating freely.

7:40 In older simulations, these two worlds couldn't talk to each other fast enough,

7:45 so the water particles would just fly through the fire grid like ghosts.

7:50 To fix this, these amazing scientists built a high-speed translator

7:54 that sits between these two worlds and forces them to interact.

8:00 That is brilliant.

8:01 Okay, so why is that important?

8:04 Well, here comes the magic.

8:05 Because of this new translator,

8:07 the water and fire can finally speak to each other.

8:11 When a droplet hits a hot spot, it demands some heat from the fire,

8:16 and because they are connected, the fire has to give it up.

8:20 The water uses that stolen heat to turn into steam.

8:24 This creates a chain reaction where the fire cools down,

8:27 and the new steam crowds the room,

8:30 pushing the oxygen away to suffocate the flames.

8:33 And now all of these speak the same language.

8:37 The water can finally extinguish the fire instead of just passing through it.

8:42 But that’s not all.

8:44 Not even close.

8:45 Under the hood, the simulation uses a famous mathematical

8:49 formula called the Arrhenius equation to control the fire.

8:53 Think of this as the fire's gas pedal.

8:56 It calculates exactly how fast the fuel should burn

8:59 based on the current heat and the available oxygen.

9:02 Because this equation is super sensitive to temperature,

9:06 even a small splash of water that lowers

9:09 the heat causes the math to slam on the brakes,

9:13 instantly stopping the chemical reaction.

9:15 So, the fire physically stops burning simply

9:18 because the math says it is too cold.

9:22 Now, surprisingly, there is so much more to learn here.

9:26 Not just about simulation techniques, but about life itself.

9:29 You see, the simulation proves that a solid beam of water fails,

9:35 but a spray succeeds because it maximizes contact area.

9:39 That is great life advice!

9:41 Sometimes you don’t need to solve a crisis with one huge heroic effort.

9:47 Break the solution down into many tiny droplets.

9:50 Tiny little tasks.

9:51 You might find that they absorb the heat of the problem much better.

9:56 So good.

9:57 Also, remember, the paper simulates the kitchen disaster before it happens.

10:02 You can do that too!

10:04 Imagine yourself in the future and imagine that your friendships,

10:08 marriage or career has already failed.

10:10 Now the question is, if it failed, why did it fail?

10:15 Work backwards to find the cause.

10:17 Then, like the sprinkler, you can fix the problem before it even happens.

10:22 Okay, with all that said, let’s not overstate things.

10:26 Yup, not even this technique is perfect.

10:29 The authors note that the solids in the simulation are static.

10:33 The geometry has to be fixed,

10:35 so that’s why you are seeing simulations with lots of metal,

10:39 and not elastic trees burning.

10:41 I think that is an acceptable tradeoff.

10:45 But of course, here we invoke the First Law of Papers,

10:49 which says that research is a process.

10:51 Do not look at where we are,

10:53 look at where we will be two more papers down the line.

10:57 And in two more papers, baby,

10:59 I am sure this is going to simulate an entire city.

11:03 Now that would be incredible.

11:05 And super useful too.

11:06 Subscribe, hit the bell and leave a kind comment if you enjoyed this.

11:10 Thank you!

Study with Looplines Download Captions Watch on YouTube