/CompEngineering

Contains course material for the MSc program in Computational Engineering at the University of Stavanger, Norway

Primary LanguageHTML

Computational Engineering

In this repository you can find the material used for MOD300 and MOD510, which is part of the Computational Engineering program and Modeling at University of Stavanger, Norway. The purpose of the book is to explain how computers solve mathematical models. Many of the most common numerical methods is presented, we show how to implement them in Python, and discuss the limitations. The mathematical formalism is kept (or an attempt has been made to keep it) to a minimum. All the material is available at github. For each of the chapter there is a Jupyter notebook. This makes it possible to run all the codes in the book.

It is hard to learn a programming language without a concrete problem to solve. Much of the learning outcome in this course arrives from working on projects. To get started, check out the COVID-19 project. A full solution, can be found here.

We strongly recommend to install Python from Anaconda.

All documents have been prepared using doconce.

After reading modules 1, 2, (potentially 3) and 4 below, you have the knowledge to start on any of the other modules below.

Index

  1. Preface
  2. Introduction to Python
  3. Organizing data: pandas
  4. A basic ingredient in modeling: gradients
  5. Examples of algorithmic thinking: Numerical Integration
  6. 1, 2, 3D models and linear systems
  7. 0D-systems and ordinary differential equations
  8. Non linear systems
  9. Mone Carlo Methods