Search Contact


KTH / Engineering Sciences / Mechanics / Courses

Downloadable material related to the part of the Computational Fluid Mechanics Course (SG2212) given by Jan Nordström (spring 2008)

Supplementary material

Lecture notes on Basic Numerics (.ps), (.pdf), Katarina Gustavsson

Reading instructions for the basic numerics and compressible flow part (continuously updated) (.pdf),

Study questions for the whole course (to be updated) (.pdf),

Introduction to Matlab

Here you can find a very good introduction to Matlab.

Homeworks

Basic Numerics:

Homework 1B, due 11/2-2008

Basic numerical methods applied to linear wave equation. First and second order methods. Dissipation and dispersion.

Homework 1B (.pdf)

Sample matlab code which solves the linear wave equation by the upwind scheme.

Compressible Flow Part:

Homework 2, due 18/2-2008

Numerical methods for non-linear conservation laws. Shock-tube problem.

Homework 2 (.pdf)

Matlab files needed for Homework 2.

shocktube.m
flux_function.m
boundary_cond.m
mac_cormack.m
artificial_visc.m
dx.m.
artvisc.txt

shocktube.m is the main file that you use to run the code.

Homework 3, due 22/2-2008

Inviscid Nozzle Flow

Homework 3 (.pdf)