Save this video free

Lecture 20: advection diffusion equations, uPDE - part 1

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

Part of University of Utah CH EN 6400. See all 7 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

The lecture develops the generic advection-diffusion-reaction equation, explains how constant-speed advection translates an initial condition and how nonlinear advection can form shocks, then demonstrates solving PDEs with the Python uPDE library. A hands-on 1D example shows that central differencing creates oscillations for advection, while upwind and flux-limiter schemes provide stable alternatives; the lecture ends by modeling shock formation with the inviscid Burgers equation.

Key takeaways

Chapters

0:00 Conservation Laws Lead to a Generic Scalar Transport Equation
5:54 Total Flux Combines Advection and Diffusion
7:46 Constant-Speed Advection Translates Signals Without Changing Them
11:40 Conservative Advection Forms and the True Transport Speed
15:30 Solve Constant-Speed Advection with Characteristics
24:16 Why Spatial Discretization Turns a PDE into ODEs
29:00 uPDE Workflow and Example Applications
33:33 Install uPDE and Define a One-Dimensional Field
40:02 Add Advection and Choose a Spatial Scheme
43:26 Set Gaussian or Step Initial Data and Periodic Boundaries
50:45 Integrate with solve_ivp and Inspect the uPDE Solution
56:00 Central Differencing Produces Oscillations in Advection Tests
1:01:00 Why Central Differencing Fails for Pure Advection
1:05:21 Upwind and Flux Limiters Balance Stability and Shape Preservation
1:12:17 Model Shock Formation with the Inviscid Burgers Equation

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

Transcript excerpt

0:00 Let's begin. There's two more slides left on on uh this lecture about conservation laws. Uh we're going to come back to these momentum equations, the Navis Stokes equations, I promise you. And we'll dig deeper into the details of the pressure, the gravitational term, the diffusion term. Um but all of these equations, they have a similar form. There's an unsteady term, there's an advection term, there's a diffusion term, and there's some source terms. Okay. Um, just remember what you're conserving. And for the Navis Stokes equations at least, there there's four equations and four unknowns like I said and remember in each term here, although you see a vector, but this is a divergence. So,

0:48 this turns into three terms. This turns into three terms and I show them in the next slide. Um and in the next slide this would be div uu div uvu vv and this is in a two-dimensional case actually. And so um I'll give you some homework to work these out. You seeing them will not register in your in your mind. You have to um work through them uh work through them by hand and try to get the details out of them. Um what will be more uh useful and what you will see most likely because probably not all of you are going to be doing um fluid mechanics etc. You'll just get the answer from a fluid solver but plug it in into your reaction system or into your viral

1:38 transport um whatever you're you're you're working through. Um so in that sense we will be working with the generic scale what we call the generic scalar transport equation. So going back if you take one step back and look at f as a conserved quantity or a derived

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.