OpenFOAM training workshop

Prerequisites

Before attending this workshop, please make sure that you have access to PDC cluster.

Who is the course for?

This course is for students, researchers, engineers and programmers who would like to get started with OpenFOAM using a HPC resource. Basic knowledge of using Linux will be required. Participants are expected to know basic numerical analysis and have CFD theoretical background.

Schedule

Day 1

9:00 - 9:15

Welcome and introduction to the training course

9:15 - 10:00

Introduction to PDC and the HPC system (Slides)

10:00 - 10:15

Break

10:15 - 11:00

Introduction to the finite volume (FV) method (Slides)

11:00 - 11:15

Break

11:15 - 12:00

Workflow overview for OpenFOAM (Slides)

12:00 - 13:00

Lunch break

13:00 - 15:00

Hands-on session

Day 2

9:15 - 10:00

Function objects (Slides)

10:00 - 10:15

Break

10:15 - 11:00

Mesh generation and parallelization (Slides)

11:00 - 11:15

Break

11:15 - 12:00

Case study (motorbike) with parallel simulations

12:00 - 13:00

Lunch break

13:00 - 15:00

Hands-on session

About the course

See also

There are many excellent resources online for learning OpenFOAM. To name only few:

Credits

The lesson file structure and browsing layout is inspired by and derived from work by CodeRefinery licensed under the MIT license. We have copied and adapted most of their license text.

Several examples and exercises in this lesson have been adapted from the following sources:

Notice that This offering is not approved or endorsed by OpenCFD Limited, producer and distributor of the OpenFOAM software via www.openfoam.com, and owner of the OPENFOAM® and OpenCFD® trade marks, more details see OpenCFD Limited Trade Mark Policy.

Instructional Material

This lesson material has been developed by Arash Alizad Banaei (PDC, KTH), Timofey Mukha (KTH Mech), and Jing Gong (ENCCS)

All ENCCS instructional material is made available under the Creative Commons Attribution license (CC-BY-4.0). The following is a human-readable summary of (and not a substitute for) the full legal text of the CC-BY-4.0 license. You are free:

  • to share - copy and redistribute the material in any medium or format

  • to adapt - remix, transform, and build upon the material for any purpose, even commercially.

The licensor cannot revoke these freedoms as long as you follow these license terms:

  • Attribution - You must give appropriate credit (mentioning that your work is derived from work that is Copyright (c) ENCCS and, where practical, linking to https://enccs.se), provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

  • No additional restrictions - You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits. With the understanding that:

    • You do not have to comply with the license for elements of the material in the public domain or where your use is permitted by an applicable exception or limitation.

    • No warranties are given. The license may not give you all of the permissions necessary for your intended use. For example, other rights such as publicity, privacy, or moral rights may limit how you use the material.

Software

Except where otherwise noted, the example programs and other software provided by ENCCS are made available under the OSI-approved MIT license.