VOOZH about

URL: https://www.coursera.org/learn/computers-waves-simulations

⇱ Computers, Waves, Simulations: A Practical Introduction to Numerical Methods using Python | Coursera


Computers, Waves, Simulations: A Practical Introduction to Numerical Methods using Python

Keep adding new skills with 10,000+ programs for $239 (usually $399). Save now.

Computers, Waves, Simulations: A Practical Introduction to Numerical Methods using Python

27,389 already enrolled

Ask Coursera

Gain insight into a topic and learn the fundamentals.
4.8

391 reviews

Intermediate level

Recommended experience

Flexible schedule
4 weeks at 10 hours a week
Learn at your own pace
97%
Most learners liked this course

Gain insight into a topic and learn the fundamentals.
4.8

391 reviews

Intermediate level

Recommended experience

Flexible schedule
4 weeks at 10 hours a week
Learn at your own pace
97%
Most learners liked this course

What you'll learn

  • How to solve a partial differential equation using the finite-difference, the pseudospectral, or the linear (spectral) finite-element method.

  • Understanding the limits of explicit space-time simulations due to the stability criterion and spatial and temporal sampling requirements.

  • Strategies how to plan and setup sophisticated simulation tasks.

  • Strategies how to avoid errors in simulation results.

Details to know

Shareable certificate

Add to your LinkedIn profile

Assessments

9 assignments

Taught in English

There are 9 modules in this course

Interested in learning how to solve partial differential equations with numerical methods and how to turn them into python codes? This course provides you with a basic introduction how to apply methods like the finite-difference method, the pseudospectral method, the linear and spectral element method to the 1D (or 2D) scalar wave equation. The mathematical derivation of the computational algorithm is accompanied by python codes embedded in Jupyter notebooks. In a unique setup you can see how the mathematical equations are transformed to a computer code and the results visualized. The emphasis is on illustrating the fundamental mathematical ingredients of the various numerical methods (e.g., Taylor series, Fourier series, differentiation, function interpolation, numerical integration) and how they compare. You will be provided with strategies how to ensure your solutions are correct, for example benchmarking with analytical solutions or convergence tests. The mathematical aspects are complemented by a basic introduction to wave physics, discretization, meshes, parallel programming, computing models.

The course targets anyone who aims at developing or using numerical methods applied to partial differential equations and is seeking a practical introduction at a basic level. The methodologies discussed are widely used in natural sciences, engineering, as well as economics and other fields.

The use of numerical methods to solve partial differential equations is motivated giving examples form Earth sciences. Concepts of discretization in space and time are introduced and the necessity to sample fields with sufficient accuracy is motivated (i.e. number of grid points per wavelength). Computational meshes are discussed and their power and restrictions to model complex geometries illustrated. The basics of parallel computers and parallel programming are discussed and their impact on realistic simulations. The specific partial differential equation used in this course to illustrate various numerical methods is presented: the acoustic wave equation. Some physical aspects of this equation are illustrated that are relevant to understand its solutions. Finally Jupyter notebooks are introduced that are used with Python programs to illustrate the implementation of the numerical methods.

What's included

6 videos1 reading1 assignment1 ungraded lab

6 videosTotal 63 minutes
  • W1V1 General Introduction6 minutes
  • W1V2 Spatial scales and meshing12 minutes
  • W1V3 Waves in a discrete world6 minutes
  • W1V4 Parallel Simulations10 minutes
  • W1V5 A bit of wave physics17 minutes
  • W1V6 Python and Jupyter notebooks11 minutes
1 readingTotal 10 minutes
  • Jupiter Notebooks and Python10 minutes
1 assignmentTotal 45 minutes
  • Discretization, Waves, Computers45 minutes
1 ungraded labTotal 60 minutes
  • W1P1 Getting into Jupyter Notebook60 minutes

In Week 2 we introduce the basic definitions of the finite-difference method. We learn how to use Taylor series to estimate the error of the finite-difference approximations to derivatives and how to increase the accuracy of the approximations using longer operators. We also learn how to implement numerical derivatives using Python.

What's included

8 videos1 assignment3 ungraded labs

8 videosTotal 41 minutes
  • W2V1 Introduction4 minutes
  • W2V2 Definitions3 minutes
  • W2V3 Taylor Series5 minutes
  • W2V4 Python: First Derivative11 minutes
  • W2V5 Operators5 minutes
  • W2V6 High Order4 minutes
  • W2V7 Python: High Order7 minutes
  • W2V8 Summary1 minute
1 assignmentTotal 20 minutes
  • Taylor Series and Finite Differences20 minutes
3 ungraded labsTotal 180 minutes
  • W2_P1 First Derivative60 minutes
  • W2P2 Numerical Second Derivative60 minutes
  • W2P3 High-Order Taylor Operators60 minutes

We develop the finite-difference algorithm to the acoustic wave equation in 1D, discuss boundary conditions and how to initialize a simulation example. We look at solutions using the Python implementation and observe numerical artifacts. We analytically derive one of the most important results of numerical analysis – the CFL criterion which leads to a conditionally stable algorithm for explicit finite-difference schemes.

What's included

9 videos1 assignment2 ungraded labs

9 videosTotal 50 minutes
  • W3V1 Wave Equation2 minutes
  • W3V2 Algorithm4 minutes
  • W3V3 Boundaries, Sources5 minutes
  • W3V4 Initialization4 minutes
  • W3V5 Python: Waves in 1D6 minutes
  • W3V6 Analytical Solutions4 minutes
  • W3V7 Python: Waves in 1D3 minutes
  • W3V8 Von Neumann Analysis20 minutes
  • W3V9 Summary1 minute
1 assignment
  • Acoustic Wave Equation with Finite Differences in 1D - CFL criterion0 minutes
2 ungraded labsTotal 120 minutes
  • W3P1 Acoustic Waves 1D60 minutes
  • W3P2 Acoustic Waves 1D - Comparison with analytical solution60 minutes

We develop the solution to the 2D acoustic wave equation, compare with analytical solutions and demonstrate the phenomenon of numerical (non-physical) anisotropy. We extend the von Neumann Analysis to 2D and derive numerical anisotropy analytically. We learn how to initialize a realistic physical problem and illustrate that 2D solution are already quite powerful to understand complex wave phenomena. We introduced the 1D elastic wave equation and show the concept of staggered-grid schemes with the coupled first-order velocity-stress formulation.

What's included

10 videos1 assignment5 ungraded labs

10 videosTotal 83 minutes
  • W4V1 Acoustic Waves 2D – Analytical Solutions8 minutes
  • W4V2 Acoustic Waves 2D – Finite-Difference Algorithm7 minutes
  • W4V3 Python: Acoustic Waves 2D8 minutes
  • W4V4 Acoustic Waves 2D – von Neumann Analysis5 minutes
  • W4V5 Acoustic Waves 2D – Waves in a Fault Zone9 minutes
  • W4V6 Python: Waves in a Fault Zone10 minutes
  • W4V7 Elastic Wave Equation – Staggered Grids17 minutes
  • W4V8 Python: Staggered Grids5 minutes
  • W4V9 Improving numerical accuracy12 minutes
  • W4V10 Wrap up3 minutes
1 assignmentTotal 45 minutes
  • Acoustic Wave Equation in 2D - Numerical Anisotropy - Staggered Grids45 minutes
5 ungraded labsTotal 300 minutes
  • W4P1 Acoustic Wave Equation - Homogeneous Case60 minutes
  • W4P2 Acoustic Wave Equation - Heterogeneous Case60 minutes
  • W4P3 Optimal Operators 60 minutes
  • W4P4 Staggered Grid60 minutes
  • W4P5 Advection Equation - 1D60 minutes

We start with the problem of function interpolation leading to the concept of Fourier series. We move to the discrete Fourier series and highlight their exact interpolation properties on regular spatial grids. We introduce the derivative of functions using discrete Fourier transforms and use it to solve the 1D and 2D acoustic wave equation. The necessity to simulate waves in limited areas leads us to the definition of Chebyshev polynomials and their uses as basis functions for function interpolation. We develop the concept of differentiation matrices and discuss a solution scheme for the elastic wave equation using Chebyshev polynomials.

What's included

9 videos1 assignment4 ungraded labs

9 videosTotal 62 minutes
  • W5V1 Function Interpolation – Trigonometric basis functions6 minutes
  • W5V2 Fourier Series - Examples6 minutes
  • W5V3 Discrete Fourier Series5 minutes
  • W5V4 The Fourier Transform - Derivative7 minutes
  • W5V5 Solving the 1D/2D Wave Equation with Python12 minutes
  • W5V6 Convolutional Operators7 minutes
  • W5V7 Chebyshev Polynomials - Derivatives8 minutes
  • W5V8 Chebyshev Method – 1D Elastic Wave Equation8 minutes
  • W5V9 Summary3 minutes
1 assignmentTotal 45 minutes
  • Pseudospectral method45 minutes
4 ungraded labsTotal 240 minutes
  • W5P1 Fourier Acoustic Wave Equation - 1D60 minutes
  • W5P2 Fourier Acoustic Wave Equation - 2D60 minutes
  • W5P3 Chebyshev Derivative60 minutes
  • W5P4 Chebyshev Elastic Wave Equation - 1D60 minutes

We introduce the concept of finite elements and develop the weak form of the wave equation. We discuss the Galerkin principle and derive a finite-element algorithm for the static elasticity problem based upon linear basis functions. We also discuss how to implement boundary conditions. The finite-difference based relaxation method is derived for the same equation and the solution compared to the finite-element algorithm.

What's included

5 videos1 assignment1 ungraded lab

5 videosTotal 42 minutes
  • W6V1 Introduction - Static Elasticity7 minutes
  • W6V2 Weak Form - Galerkin Principle8 minutes
  • W6V3 Solution Scheme9 minutes
  • W6V4 Boundary Conditions - System Matrices9 minutes
  • W6V5 Relaxation Method - Python: Static Eleasticity8 minutes
1 assignmentTotal 45 minutes
  • Finite-element method - Static problem45 minutes
1 ungraded labTotal 60 minutes
  • W6P1 Static Elasticity60 minutes

We extend the finite-element solution to the elastic wave equation and compare the solution scheme to the finite-difference method. To allow direct comparison we formulate the finite-difference solution in matrix-vector form and demonstrate the similarity of the linear finite-element method and the finite-difference approach. We introduce the concept of h-adaptivity, the space-dependence of the element size for heterogeneous media.

What's included

7 videos1 assignment1 ungraded lab

7 videosTotal 56 minutes
  • W7V1Introduction - Dynamic Elasticity6 minutes
  • W7V2 Solution Algorithm - 1D Elastic Case12 minutes
  • W7V3 Differentiation Matrices8 minutes
  • W7V4 Python: 1D Elastic Wave Equation11 minutes
  • W7V5 h-adaptivity6 minutes
  • W7V6 Shape Functions9 minutes
  • W7V7 Dynamic Elasticity - Summary3 minutes
1 assignmentTotal 45 minutes
  • Dynamic elasticity - Finite elements45 minutes
1 ungraded labTotal 60 minutes
  • W7P1 Elastic Wave Equation - 1D60 minutes

We introduce the fundamentals of the spectral-element method developing a solution scheme for the 1D elastic wave equation. Lagrange polynomials are discussed as the basis functions of choice. The concept of Gauss-Lobatto-Legendre numerical integration is introduced and shown that it leads to a diagonal mass matrix making its inversion trivial.

What's included

7 videos1 assignment2 ungraded labs

7 videosTotal 51 minutes
  • W8V1 Introduction5 minutes
  • W8V2 Weak Form - Matrix Formulation9 minutes
  • W8V3 Element Level6 minutes
  • W8V4 Lagrange Interpolation12 minutes
  • W8V5 Python:Lagrange Interpolation7 minutes
  • W8V6 Numerical Integration8 minutes
  • W8V7 Python Numerical Integration5 minutes
1 assignmentTotal 45 minutes
  • Lagrange Interpolation - Numerical Integration45 minutes
2 ungraded labsTotal 120 minutes
  • W8P1 Lagrange Interpolation60 minutes
  • W8P2 Numerical Intergration60 minutes

We finalize the derivation of the spectral-element solution to the elastic wave equation. We show how to calculate the required derivatives of the Lagrange polynomials making use of Legendre polynomials. We show how to perform the assembly step leading to the final solution system for the elastic wave equation. We demonstrate the numerical solution for homogenous and heterogeneous media.

What's included

7 videos1 assignment2 ungraded labs

7 videosTotal 50 minutes
  • W9V1 Lagrange Derivative - Legendre Polynomials5 minutes
  • W9V2 System of Equations - Element Level7 minutes
  • W9V3 Global Assembly8 minutes
  • W9V4 Python: 1D Homogeneous Case14 minutes
  • W9V5 Python: Heterogeneous Case in 1D9 minutes
  • W9V6 Convergence Test5 minutes
  • W9V7 Wrap Up3 minutes
1 assignmentTotal 45 minutes
  • Spectral-element method - Convergence test45 minutes
2 ungraded labsTotal 120 minutes
  • W9P1 Elastic Wave Equation - 1D Homogeneous Case60 minutes
  • W9P2 Elastic Wave Equation - 1D Heterogeneous Case60 minutes

Instructor

Instructor ratings
4.8 (137 ratings)
Ludwig-Maximilians-Universität München (LMU)
1 Course27,389 learners

Explore more from Research Methods

Why people choose Coursera for their career

👁 Image

Felipe M.

Learner since 2018
"To be able to take courses at my own pace and rhythm has been an amazing experience. I can learn whenever it fits my schedule and mood."
👁 Image

Jennifer J.

Learner since 2020
"I directly applied the concepts and skills I learned from my courses to an exciting new project at work."
👁 Image

Larry W.

Learner since 2021
"When I need courses on topics that my university doesn't offer, Coursera is one of the best places to go."
👁 Image

Chaitanya A.

"Learning isn't just about being better at your job: it's so much more than that. Coursera allows me to learn without limits."

Learner reviews

  • 5 stars

    82.35%

  • 4 stars

    14.06%

  • 3 stars

    1.79%

  • 2 stars

    1.53%

  • 1 star

    0.25%

Showing 3 of 391

RM
·

Reviewed on Jul 11, 2020

This is an excellent course as I have found. The instructor has taught us many important concepts including the detailed codes. I would love to join further courses from Prof. Igel.

MB
·

Reviewed on Oct 15, 2020

Thank you very much! This was an amazing and very clear course. I will use the python codes in my research when possible.

MF
·

Reviewed on Nov 26, 2019

A fascinating teaching technique, delivering quality content with a well-thought quizzes system! It' hard to find better courses in the domain of Finite Difference and Spectral Element methods

Frequently asked questions

To access the course materials, assignments and to earn a Certificate, you will need to purchase the Certificate experience when you enroll in a course. You can try a Free Trial instead, or apply for Financial Aid. The course may offer 'Full Course, No Certificate' instead. This option lets you see all course materials, submit required assessments, and get a final grade. This also means that you will not be able to purchase a Certificate experience.

When you purchase a Certificate you get access to all course materials, including graded assignments. Upon completing the course, your electronic Certificate will be added to your Accomplishments page - from there, you can print your Certificate or add it to your LinkedIn profile.

Yes. In select learning programs, you can apply for financial aid or a scholarship if you can’t afford the enrollment fee. If fin aid or scholarship is available for your learning program selection, you’ll find a link to apply on the description page.

Financial aid available,