Gerris Flow Solver Programming Course for Dummies

From Gerris

Jump to: navigation, search

Preamble


This course material is about Gerris, a general-purpose fluid mechanics code developed by Stéphane Popinet at NIWA, Wellington, New Zealand. Gerris is a free, GPL-licensed, open source code available at http://gfs.sf.net.

The intended audience is typical first-year science or engineering graduate students with either very little experience of C or with some Fortran knowledge, but willing to work hard and learn. The student should know simple C data types, pointers and functions but not structures.

S. Zaleski has taught the course several times in Paris. In the actual course a lot of talking is done in addition to the material here. Each session is 30 minutes + 15 minutes of questions.


  1. Introduction to Gerris Programming
  2. The Fully Threaded Tree
  3. The Fluid Domain
  4. Programming the Advection Scheme
  5. The Gerris Object System
  6. An Example of Use of the Gerris Object System
  7. GfsView
  8. Values, macros and structures in Gerris
Navigation
communication