Introduction to OpenFOAM


Instructor: Björn Windén

Time: Friday, March 22, 2024 — 1:30PM-4:00PM CT

Location: Blocker 220

Prerequisites: Current HPRC account, basic Linux/Unix skills. Recommended: C++ experience

Introduction to OpenFOAM, the open source CFD toolbox, and how to use it on HPRC clusters. Hands-on tutorial on how to get started with running your simulations; as well as implementing new theories.

Course Materials

  • Introduction to OpenFOAM slides (Spring 2024): PDF
  • Instructions for OpenFOAM tutorial (Spring 2024): PDF


This course will be organized as follows:

  • Slide Presentation
    1. Instructor background
    2. What is OpenFOAM? How is it different from other CFD packages?
    3. Basic structure of an OpenFOAM “case” and basic commands
  • Hands-on session
    4. Running a basic tutorial, step-by-step
    5. Post-processing with ParaView
    (5-minute break)
    6. Modifying a tutorial case to suit your needs
    7. Implementing new methods
    8. Running OpenFOAM in parallel and how to run on a cluster
    9. Q&A

Note: During the class sessions many aspects of the material will be illustrated live via a login to grace. Attendees will follow along and complete the exercises on their own laptops.