Till KTH:s startsida Till KTH:s startsida

Advanced Computation in Fluid Mechanics (DD2365), 7.5hp, Spring 2016

First lecture: Wednesday March 30, 11.15 in room M38. 

Advanced Computation in Fluid Mechanics

The course focuses on four topics:

  • FEM for steady, viscous flow: Stokes equations. 
  • FEM for the unsteady flow: Navier-Stokes equations.
  • Error estimation and adaptive methods for the Navier-Stokes equations.
  • Computational methods for turbulent flow.

Recommended prerequisites 

SF2561 The Finite Element Method 

Course activities

  • 4 lectures/labs
  • 3 project seminars

Course goal

The goal of the course is to present efficient computational methods for fluid mechanics simulations, with focus on adaptive finite element methods (FEM) for incompressible flow, and to train the student to apply these computational methods to address fluid mechanics problems. Research challenges in the field are highlighted, e.g. with respect to simulation of turbulent flow.

After completion of the course the student will be able to:

  • Formulate an adaptive FEM method for the Navier-Stokes equations.
  • Carry out a basic stability analysis of a FEM method for the Navier-Stokes equations.
  • Carry out a basic a posteriori error analysis of a FEM method for the Navier-Stokes equations.
  • Implement an adaptive FEM method for the Navier-Stokes equations in a FEM software.
  • Account for the characteristics of different computational methods for turbulent flow. 

Examination 

  • Lab reports, project report and project presentation 
  • Written exam based on lecture notes, labs and project
  • Exam preparation questions 

Labs

The labs can be done in groups of 2-3 students: 

The lab reports should should be sent to the teacher by email as one pdf-file. The code written should be submitted to the teacher by email for verification, or made available as a Python notebook (Labs 1-3). 

Project

The project can be done in groups of 2-3 students, focused on one research question formulated by the group connected to the course topics. The report should consist of the following parts: 

  • Background
  • Research question
  • Method 
  • Results
  • Discussion

The report should consist of max 5 pages using font Times New Roman 12pt, and should be submitted to the teacher by email as one pdf-file. The code written should be submitted to the teacher by email for verification. 

Teachers

Literature

Software 

Add-on studies

  • Contact the course leader about project work.  

Extra material

Preliminary week schedule

Week 1

Week 2

Week 3

Week 4

Week 5

Week 6

  • Project seminar: problem statement 

Week 7

  • Project seminar: first results  

Week 8

  • Project seminar: final presentation 

Week 9

  • Written exam. 

Lärare Johan Hoffman skapade sidan 16 november 2015

Lärare Johan Hoffman ändrade rättigheterna 7 april 2016

Kan därmed läsas av alla och ändras av lärare.
kommenterade 10 maj 2016

Hello,

I am writing step by step instructions to compile & run adaptive incompressible navier-stokes solver in parallel using the supercomputer beskow, please solve the issues especially in step 1 today and continue with next steps, I will be ready during tomorrows lecture to answer your questions.

Best,

1)
read the information at to login to beskow:
https://www.pdc.kth.se/resources/software/login-1

follow the step by step tutorials depending on the system on your machine.
also learn how to copy files to your machine

2) login to beskow.pdc.kth.se for the rest of the tutorial I assume you have username yourusername with first letter y

3) cd /cfs/klemming/y/yourusername replacing y and yourusername corresponding to your user name this is a disk space where
no back up is done but enough disk space to run simulations is available

4) mkdir DD2365
5) cd DD2365

6) wget http://dryad.csc.kth.se/attachments/download/99/fenics-hpc.dist-minimal-0.1alpha02.zip
7) unzip fenics-hpc.dist-minimal-0.1alpha02.zip
8) cd fenics-hpc.dist-minimal-0.1alpha02.zip

9) source build_beskow.sh (this step will set up necessary software packages which should only be done once, the first time)
(if install is successful next time we will use source init_beskow.sh)
(please also read the README file in this folder)

10) cd unicorn-minimal
11) make
12) cp demo sim01
12) cd sim01
13) sbatch job-adaptive.script