Skip to content
0:00 / 0:00

#fluidsimulation#smokesimulation#navier-stokes

Coding Adventure: Simulating Smoke

Sebastian Lague

1.4M subscribers • 17 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Sebastian Lague
  • Linked in the descriptionSebLague/Smoke-Simulation

Intermediate. Assumes working knowledge.

677K views1 year ago2 recommendations

Graphics and audioComputer scienceRenderingAlgorithmsMath for programmers

Sebastian Lague explains and implements a grid-based fluid simulation to achieve realistic smoke effects using the Navier-Stokes equations.

My attempt at coding a grid-based fluid simulation to try and achieve some smoky effects! Support my work (and get early access to new videos and source code) on Patreon: patreon.com/SebastianLague Source Code: github.com/SebLague/Smoke-Simulation Resources and References: Fluid notes: cs.ubc.ca/~rbridson/fluidsimulation/fluids_notes.pdf Ten-minute physics: youtube.com/watch?v=iKAVRgIrUOU My other fluid videos: youtube.com/playlist?list=PLFt_AvWsXl0dJrPelwdVSMVC_MDTYPJWn… Sound wave simulation: youtube.com/watch?v=iA6wRgwl7k0 Music: raw.githubusercontent.com/SebLague/Misc-Project-Info/refs/he… Chapters Intro Navier-Stokes Equations Divergence Solving for Pressure Gauss-Seidel Iteration Solid Cells Velocity Interpolation Advection (with derivatives) Semi-Lagrangian Advection Testing Successive Over-Relaxation Visualizing Speed Smoke Map Parallel Pressure Solving Vortex Shedding A Few Little Experiments Temperature Final Smoke Experiments Outro

Why it's here

2 people recommend this

What people say. Recommended as an excellent, accessible explanation of the theory and implementation of grid-based fluid simulations.

Moments people linked to

u/GreatlyUnknownin r/GraphicsProgramming • Recommends

On “Modern grid-based approach to 2d liquids?”

This video should be right up your alley: link to this video

u/jacaschin r/GraphicsProgramming • Recommends

On “Do we want to speak about that?”

link to this video this brakes down the basic idea of radiance cascades for 2d light propagation. the video you are referring to combines that with some fancy math to get refraction working. the fluid simulation is a completely different technology if you want to learn about the theory behind that here is a good video link to this video
2View on Reddit