Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Coding Adventure - Simulating Smoke

Sebastian Lague via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Learn to implement a grid-based fluid simulation for creating realistic smoke effects through this comprehensive coding tutorial. Explore the fundamental Navier-Stokes equations that govern fluid motion and understand key concepts like divergence and pressure solving. Master the Gauss-Seidel iteration method for numerical computation and discover how to handle solid cells within your simulation grid. Dive into velocity interpolation techniques and examine two approaches to advection: mathematical derivatives and the more practical Semi-Lagrangian method. Implement optimization techniques including Successive Over-Relaxation and parallel pressure solving to improve performance. Study advanced fluid dynamics phenomena such as vortex shedding and learn to visualize fluid speed and create smoke maps for enhanced visual effects. Experiment with temperature effects on fluid behavior and apply your knowledge through various smoke simulation experiments. Access detailed fluid simulation notes and source code to support your learning, with chapters covering everything from basic theory to final implementation and testing.

Syllabus

00:00 Intro
00:50 Navier-Stokes Equations
02:00 Divergence
05:09 Solving for Pressure
08:26 Gauss-Seidel Iteration
10:36 Solid Cells
12:26 Velocity Interpolation
15:15 Advection with derivatives
18:37 Semi-Lagrangian Advection
22:12 Testing
23:43 Successive Over-Relaxation
25:16 Visualizing Speed
26:32 Smoke Map
28:14 Parallel Pressure Solving
31:13 Vortex Shedding
35:48 A Few Little Experiments
37:55 Temperature
39:17 Final Smoke Experiments
40:38 Outro

Taught by

Sebastian Lague

Reviews

Start your review of Coding Adventure - Simulating Smoke

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.