Save this video free

2026 2NM4 Week 10 - Finite element method

Numerical Methods for Engineering · 2:13:45 · Watch on YouTube

Part of McMaster University ENGPHYS 2NM4. See all 18 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 finite element method (FEM) from its motivation in boundary-value problems through weighted residuals, Gaussian quadrature, Galerkin testing, weak forms, and sparse matrix assembly. A one-dimensional heat equation example connects these ideas to backward Euler time stepping, mass and stiffness matrices, and the practical assembly and nonlinear-solver workflows used by COMSOL and ANSYS.

Key takeaways

Chapters

0:00 PDEs as Spatial Boundary Problems Plus Time Marching
5:00 Heat-Equation Flux Conservation and Variable Conductivity
10:00 Explicit Euler and the Time-Step Stability Constraint
15:00 Backward Euler Trades a Linear Solve for Robustness
20:00 Crank-Nicolson Accuracy and Damped Oscillations
25:00 Finite-Difference Stencils Become Sparse Linear Systems
30:00 Why FEM Suits Complex Geometry and Irregular Meshes
35:00 A One-Element Approximation to Exponential Decay
40:00 Least-Squares Residual Minimization Over the Domain
45:00 Method of Weighted Residuals Replaces Squared Error
50:00 Gaussian Quadrature Evaluates Integrals at Selected Points
55:00 Linear Operators, Residuals, and Shape-Function Expansions
1:00:00 Collocation and Galerkin Choices for Test Functions
1:05:00 Meshing Complex Domains with Local Refinement
1:10:00 Element Degrees of Freedom Define the Approximation
1:15:00 Lagrange Elements and Polynomial Order
1:20:00 Continuity Across Elements and Discontinuous Galerkin
1:25:00 Tent Functions and Multidimensional Element Integration
1:30:00 Strong Forms Require Derivatives the Approximation May Lack
1:35:00 Deriving the Weak Form by Integration by Parts
1:40:00 Boundary Conditions and Weak-Form Benefits
1:45:00 Local Shape-Function Support Produces Sparse Matrices
1:50:00 Mass and Stiffness Matrices from Galerkin Integrals
1:55:00 COMSOL and ANSYS Hide Most FEM Assembly Steps
2:00:00 Set Up a Time-Dependent 1D Heat-Conduction Example
2:10:00 Backward Euler, Linear Elements, and the Final Sparse System

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

Transcript excerpt

0:00 um explicit oiler. So all this is to do with uh partial differential equations. Technically PTE include like any kind of mixed derivatives. So technically two-dimensional boundary value problems are a PTE but honestly like whenever somebody talks about PDS they're talking about time stepping time and space. The way that you approach it is you do a boundary value problem for your spatial domain and then you need some kind of time marching. The idea there is that you solve for something and then you use that information or you you you use your boundary value problem on top of like some kind of time stepping routine. Um that is not a universal case anymore. That's been the way that it's been done uh previously. Um yeah, this is kind of

0:49 this is kind of weird and it's a bit of an advanced topic, but we have time so let's do it. Um, previously people were doing things like, okay, you have time and space. You're going to separate out space. Space is a boundary value problem. You're going to solve for that and then you're going to march in time. You're going to progress that in time. You could imagine your your space is say one-dimensional, your time is another dimension, right? There is a solution in both space and time. Typically what you would do is you would solve for your space and then propagate march march march march march. There's nothing stopping you from a theoretical standpoint of solving all of space time

1:37 at once. You could do it. It's not so easy because now you have additional complexities. You don't just have like you're you're kind of making a more complicated problem out of an easier one. Um I want to say method of lines is

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, Numerical Methods for Engineering.

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.