(This offering is not approved  not endorsed by OpenCFD limited, producer and distributor of the OpenFOAM® software via, and owner of the OpenFOAM® and OpenCFD® trade marks.)

I am teaching Computational Fluid Dynamics with OpenFOAM® since 2009. Overall, I trained several hundreds of students, researchers, and engineers both in academia and industry. I am also organizing periodically OpenFOAM® short courses at international conferences.

The class materials can be downloaded for free here. It can be seen as a long tutorial about flow and transport in porous media at different scales. Besides the fact that it corresponds to my research area, this choice allows the introduction of different OpenFOAM® features with a progressive and pedagogical approach: it is easier to start understanding the structure of a Darcy solver rather than tackling directly the programming of a PISO algorithm...

Download OpenFOAM® class materials v6.0.

Feel free to send me your comments.



  • Introduction to the simulation platform OpenFOAM®,

  • Run existing tutorials and adapt them to your needs,

  • Program your own solver based on the OpenFOAM® library.


General introduction to OpenFOAM®

First simulations (setup a case, run a case, post-process with ParaView):
◦ Heat transfer,
◦ Cavity / Poiseuille flow,
◦ Multiphase flow in a tube,
◦ Import mesh from an external gridder.

Generation of complex mesh with OpenFOAM®
◦ How to mesh complex geometries with snappyHexMesh?
◦ Mesh 3D images from X-ray microtomography,
◦ Absolute permeability calculations,
◦ Run parallel simulations.

Program partial differential equations with OpenFOAM®
◦ General organization of an OpenFOAM® application,

◦ Object-oriented programming,
◦ Program a « Darcy » solver,
◦ Heat transfer in porous media,
◦ How to customize boundary conditions.

Understand the Navier-Stokes solvers in OpenFOAM®
◦ The PISO and SIMPLE algorithms

◦ Customize Navier-Stokes-based solvers,
◦ Run periodic simulations,
◦ Program a Darcy-Brinkman solver.


  • 1 to 3 days of classes,

  • On-demand on-site training,

  • Quotation available on demand.


  • November 12-13, 2018: Beijing Normal University, China.

  • July 2-6, 2018: OpenFOAM® training at the 4th Cargèse's summer school on flow and transport in porous and fractured media. More info here.

  • April 3-5, 2018: French Geological Survey (BRGM) and University of Orléans, France.

  • May 12, 2017: OpenFOAM® short course at the 9th Interpore International Conference on Porous Media, in Rotterdam, The Netherlands. More info here.

  • November 2014: Stanford University, California (5x3h).

  • September 17-18, 2013: Géoscience Montpellier, France.

  • March 27-28, 2013: CNRS, Toulouse, France.

  • 2012: ENSEEIHT, Toulouse, France (5x4h). 

  • 2010: Institut de Mécanique des Fluides de Toulouse.

  • 2010: University of Toulouse.



You want an on-site training? You need technical support with OpenFOAM or consulting services? Contact me today and see what I can do for you.


©2017 by CS-MODELING. Proudly created with