Save this video free

Lecture 21: Advection-Diffusion - part 2

Professor Saad Explains · 1:16:49 · Watch on YouTube

Part of University of Utah CH EN 6400. See all 17 lectures and search them

These notes were made with YouTube Collector. Paste any YouTube link and get the same: a summary, chapters and a searchable transcript.

Overview

Diffusion is modeled as the smoothing of concentration differences, with the 1D equation ∂u/∂t = D∂²u/∂x² explored through uPDE simulations and analytical solutions. The lecture shows that sine-wave modes decay as e^(−Dk²t), connects diffusion timescales to length scales and numerical stiffness, explains why Fourier components smooth sharp edges first, and clarifies how uPDE defines Neumann conditions using the outward normal.

Key takeaways

Chapters

0:00 Random Walks Explain Diffusion's Net Motion Toward Equilibrium
5:00 Diffusivity Units and Boundary Conditions for the 1D Model
7:10 Setting Up a Diffusion Simulation with uPDE
10:00 Jupyter Notebook Configuration and BDF Time Integration
14:10 Gaussian and Heaviside Pulses Smooth Under Diffusion
19:10 Short-Time Simulations Reveal Rapid Smoothing at Sharp Edges
24:00 Comparing sin(x), sin(2x), and sin(3x) Diffusion
29:00 Separation of Variables Derives the Sine-Mode Decay Law
35:00 The Diffusion Time Constant Is 1/(Dk²)
40:00 Wavelength Connects Modal Decay to Physical Length Scales
45:00 Diffusion Stiffness Comes from Competing Physical and Grid Scales
51:00 Linear Superposition Builds General Diffusion Solutions
56:00 Fourier Series Explain Why Diffusion Smooths Step Edges First
1:05:00 Neumann Conditions Specify the Gradient Along the Outward Normal
1:10:00 Mixed Dirichlet and Neumann Boundaries in the uPDE Example

Keep these chapters and the full searchable transcript in your own library.

Transcript excerpt

0:02 Let's begin. Last time we finished off talking about advection uh and uh we explained how advection moves moves things. We did a quick analytical solution for the linear advection equation. The non-linear advection equation is a little harder to solve analytically. There are a few cases where you can get an analytical solution, but in general you cannot. So we switched to solving these numerically and for all practical purposes you will be approaching the solution of these conservation laws and PDEs. They're non-linear, they're complicated. You're going to be solving them numerically, but you need to understand at least some of the physics around them to make sure that your numerical solutions make sense um and they are as

0:52 expected. Okay? So the next item we want to talk about is diffusion. I call that the great equilibrator. Um when Einstein um observed actually proved that there's atoms was like this um Brownian or random walk motion looking at the um at the at the pollen in a in a dish um and saw them moving etc. Um the idea of diffusion came out from um that thought and Einstein actually derived in his dissertation derived the formula for what the diffusion coefficient should be etc. from um a can statistical not so much statistical, but this is what I'm showing here is a statistical um uh

1:40 interpretation of diffusion. And what I have is two compartments. Um one compartment on the left um with a histogram of particles. It's a uniform distribution. Okay? Uniform distribution, particle density, and this compartment is full. So think of this domain length going from 100 to 100 units, all right? And half of it is full of particles there, all about kind of the same height. Um, I couldn't get the

This is the start of the transcript. Save this video free for the whole transcript, searchable and time-coded.

In this course

Related notes

Summary, takeaways, and chapters were generated by AI from the video's transcript and may contain errors. The video belongs to its creator, Professor Saad Explains.

Want the full transcript?

Save this video in YouTube Collector to get its complete searchable transcript, your own AI summaries, and a library that keeps every video you collect in one place.