This website includes slides, tutorial sheets and solutions for the various courses I teach at Brunel University and Imperial College London.
Finite Element Analysis, Masters Level
A masters level course on finite element analysis teaching students to write a 2D solver from scratch. Lectures from 2019 are available:
- Part one (lecture video)( derivation video).
- Part two ( video part a) ( video part b).
- Part three ( video).
- Part four ( video).
- Part five ( video).
- Part six ( video).
Programming, Second Year
A course which aims to teach best practice in engineering programming. This covers basic programming in MATLAB (loops, branching, flow control), functions, best-practice software design. Applications include interpolation with Newton's divided difference and Lagrange polynomials, root finding, numerical integration and solving differential equations in 1D and 2D.
Aerodynamics and CFD
A second year course at Brunel on Aerodynamics with an introduction to fluid dynamics.
A Complete 1D Navier-Stokes Solver on one page. A work in progress, a Jupyter notebook to explain the complete discretisation of the Navier Stokes equations in 1D, explaining the simplest possible case (1D) how we can discretise our equations, issues with oscillations, (eventually) boundary conditions and the fractional step pressure solver.
Here are the notes for the continuum part of the multi-scale modelling course I teach. This is for masters students who have a background in a mathematical subject. Slides for the lectures, part one notes and part two notes two, as well as background notes.
The lectures are available:
- Part one video, introduction to the continuum, differential equations and numerical solutions.
- Part two video, review of part one, more differential equations and an overview of the steps which lead the the Navier-Stokes equation.
- A white-board derivation video of the Navier-Stokes equation considering the link to molecular systems.
- Where the continuum fits into the wider modelling hierarchy
- Understand the Continuum assumption
- Partial differential equations and numerical solutions
- Two dimensional vector fields
- The Navier-Stokes Equation
- Assumptions that lead to it
- Key terms and their meaning (with some extensions)
- Simplifications and solutions
- Link to the molecular dynamics equations
- Numerical solutions to the Navier Stokes equation
and the aims for the course were as follows:
- State the Continuum assumption, specifically for continuous fields and how this underpins fluid dynamics
- Understand three dimensional fields, vector calculus and partial differential equations
- Be able to solve basic differential equations numerically
- State the Navier-Stokes Equation, key assumptions, the meaning of the terms and how to simplify and solve.
- Understand how to treat the various terms in a numerical solutions to the Navier-Stokes equation
- Understand where the continuum modelling fits into the hierarchy and links to the molecular and plant scales
In order to address the lack of general Python teaching here at Imperial, I put together and gave a three part introduction course through the HPC support here at Imperial. This class was aimed at beginners and also for those who want to switch from Matlab to Python.
- Introduction to Python for scientific computing, 3/3/17
- Motivation for using Python.
- Introduction to programming in Python
- Python concepts (lists, iterators, etc) and discussion of the differences to other languages.
- Scientific libraries numpy and matplotlib.
- Examples of usage for scientific problems.
- Further details of the Python language, 10/3/17
- More on Python data structures: concepts like references, immutable, lists, data organisation with Dictionaries and numpy arrays.
- Use of functions and design of interfaces.
- Introduction to classes and objects.
- Structuring a project, importing modules and writing tests.
- Examples of usage for scientific problems.
- Python libraries, 17/3/17
- Using Python to read files (ascii, binary, hp5) and plot.
- Running parameter studies by calling executables repeatedly with subprocess.
- Designing a basic Graphical User Interface.
- Unit testing frameworks and version control.
- Other libraries and how to wrap your own code from fortran, c++, etc
Feedback from the course was very positive, summarised here, although given the large volume of material and range of students' backgrounds, many students felt the pace was too fast.
HPC Summer School 2017
Given the interest in this course, I ran again as part of the summerschool. This was split over two days:
Roll Royce 2017
I was employed by Roll Royce to deliver a course over two days at their headquarters in Darsbury back in 2017. The feedback was very positive from this course, with 35 candidates rating the "professional competence of the trainer" as 2.89 out of 3, a rating of 2.7 out of 3 for "how satisfied were you with the organisation of the training" and an "overall rating for the course" of 2.7 out of 3. The full summary is here. Please contact me if out would be interested in organising teaching.