subject
Intro

Practical Numerical Methods with Python

 with  David Ketcheson, Carlos Jerez, Ian Hawke and Lorena A. Barba
Sponsored
Project Management Certificate
Cornell University via eCornell

This course is a collaboration between faculty at three institutions across the world: the George Washington University (Washington, DC, USA); University of Southampton (UK) and Pontifical Catholic University of Chile (Santiago, Chile).* A credit-bearing course will run at each institution at the same time as this MOOC, and students at all locations will participate in the same learning community with MOOC participants.

The course aims for students to achieve the following:

  • connect the physics represented by a mathematical model to the characteristics of numerical methods to be able to select a good solution method;
  • implement a numerical solution method in a well-designed, correct computer program;
  • interpret the numerical solutions that were obtained in regards to their accuracy and suitability for applications.
WHO IS THE COURSE FOR?

Numerical methods for differential equations are relevant across all of science and engineering. This course is for anyone with mathematical, scientific or engineering backgrounds who wishes to develop a grounding in scientific computing. Using a range of hands-on lessons, participants in the course will develop the basic skills to tackle modern computational modelling problems.

In developing this course, the instructors are inspired by the philosophy of open-source software. One of the tenets of the course is that we can use the web to interact, connect our learning, teach each other by sharing our learning objects. Therefore, this course is especially for those who are eager to participate in distributed knowledge creation on the web. Join us in this adventure!

PREREQUISITES

The connected courses and MOOC are aimed at first-year graduate students or advanced seniors, but assume only a background in vector calculus, linear algebra, and differential equations. We won't assume more than a beginner's programming experience and will guide students to develop a foundation in numerical methods, and hands-on experience coding up solutions to differential equations.

Syllabus

The course will consist of six learning modules that are somewhat self-contained. Each one will be motivated by a problem that can be modeled by a differential equation (or system of DEs) and will build new concepts in numerical computing, new coding skills and ideas about analysis of numerical solutions.

The learning modules are roughly as follows:

The phugoid model of glider flight.

Described by a set of two nonlinear ordinary differential equations, the phugoid model motivates numerical time integration methods, and we will build it starting from an even simpler model (e.g., simple harmonic motion), building up to the full nonlinear model in 4 or 5 lessons on initial-value problems. Roughly, this module would include: a) Forward/backward differencing and Euler's method for simple harmonic motion; b) extension to the phugoid model; c) the midpoint method, convergence testing, local vs. global error; d) Runge-Kutta methods.

Space and Time—Introduction to finite-difference solutions of PDEs

Starting with the simplest model represented by a partial differential equation (PDE)—the linear convection equation in one dimension—, this module builds the foundation of using finite differencing in PDEs. (The module is based on the “CFD Python” collection, steps 1 through 4.) It also motivates CFL condition, numerical diffusion, accuracy of finite-difference approximations via Taylor series, consistency and stability, and the physical idea of conservation laws.

Riding the wave: convection problems.

Starting with the inviscid Burgers’ equation in conservation form and a 1D shock wave, cover a sampling of finite-difference convection schemes of various types: upwind, Lax-Friedrichs, Lax-Wendroff, MacCormack, then MUSCL (discussing limiters). Traffic-flow equation with MUSCL (from HyperPython). Reinforce concepts of numerical diffusion and stability, in the context of solutions with shocks. It will motivate spectral analysis of schemes, dispersion errors, Gibbs phenomenon, conservative schemes.

Spreading out: diffusion problems

Start with heat equation in 2D (first introduction of two-dimensional FD discretization). Introduce implicit methods: backward Euler, trapezoidal rule (Crank-Nicolson), backward-differentiation formula (BDF). Pattern formation models (reaction-diffusion). Theory content: A-stability (unconditional stability), L-stability. Fourier spectral methods and splitting.

Relax and hold steady: elliptic problems.

Laplace and Poisson equations (steps 9 and 10 of “CFD Python”), explained as systems relaxing under the influence of the boundary conditions and the Laplace operator; introducing the idea of pseudo-time and iterative methods. Linear solvers for PDEs : Jacobi’s method, slow convergence of low-frequency modes (matrix analysis of Jacobi), Jacobi as a smoother, Multigrid.

Boundaries take over: the boundary element method (BEM)

Weak and boundary integral formulation of elliptic partial differential equations; the free space Green's function. Boundary discretization: basis functions; collocation and Galerkin systems. The BEM stiffness matrix: dense versus sparse; matrix conditioning. Solving the BEM system: singular and near-singular integrals; Gauss quadrature integration.

4 Student
reviews
Cost Free Online Course
Subject Programming
Provider Independent
Language English
Calendar 17 weeks long

Disclosure: To support our site, Class Central may be compensated by some course providers.

+ Add to My Courses
In-Depth Review
Sans videos, an innovative and interactive approach to an introductory Python course that assumes very little previous programming experience but must have some background in vector calculus, linear algebra, and differential equations. Read Review
FAQ View All
What are MOOCs?
MOOCs stand for Massive Open Online Courses. These are free online courses from universities around the world (eg. Stanford Harvard MIT) offered to anyone with an internet connection.
How do I register?
To register for a course, click on "Go to Class" button on the course page. This will take you to the providers website where you can register for the course.
How do these MOOCs or free online courses work?
MOOCs are designed for an online audience, teaching primarily through short (5-20 min.) pre recorded video lectures, that you watch on weekly schedule when convenient for you.  They also have student discussion forums, homework/assignments, and online quizzes or exams.

4 reviews for Practical Numerical Methods with Python

Write a review
1 out of 1 people found the following review useful
a year ago
profile picture
Anonymous completed this course.
I came into this course knowing absolutely no Python and by the end of it, I was proficient in the language and able to utilize it for numerical analysis. In fact, I have come to see Python as a more powerful and more intuitive tool than even MATLAB for performing all sorts of analyses needed in engineering. The cour Read More
I came into this course knowing absolutely no Python and by the end of it, I was proficient in the language and able to utilize it for numerical analysis. In fact, I have come to see Python as a more powerful and more intuitive tool than even MATLAB for performing all sorts of analyses needed in engineering. The course modules are well put together and easy to follow. Finally, I came to this course with no idea as to what numerical method even was. Well folks, it turns out that you can't actually solve all the world's problems with pure mathematics. Sometimes the pure stuff breaks down and you have to bring in some specialized equipment: numerical methods. These methods are fascinating and so important to engineers and scientists. This course taught me how to derive them, when to apply them, and how to make sure they don't "blow up."
Was this review helpful to you? YES | NO
5 out of 5 people found the following review useful
3 years ago
Jonah Miller completed this course, spending 3 hours a week on it and found the course difficulty to be medium.
Sans videos, an innovative and interactive approach to an introductory Python course that assumes very little previous programming experience but must have some background in vector calculus, linear algebra, and differential equations.
Was this review helpful to you? YES | NO
0 out of 1 people found the following review useful
a year ago
profile picture
Alex Ivanov audited this course.
Was this review helpful to you? YES | NO
2 years ago
profile picture
Anonymous is taking this course right now.
Was this review helpful to you? YES | NO

Class Central

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

Sign up for free