menu

OpenFOAM Basic Training

In this OpenFOAM® tutorial series, fourteen case examples have been prepared that are designed to help users to learn the key utilities and features within OpenFOAM®, including mesh generation, multiphase modeling, turbulence modeling, parallel processing and reaction modeling. The base tutorial examples can be imported directly from the OpenFOAM® installation directory. The tutorials should be primarily used for OpenFOAM® v10 but with slight differences, generally applicable to the other flavors of OpenFOAM® such as ESI-version and foam-extend! The structure of each case example follow the below general structure:

0. Background: an introduction about the key topics explored in the tutorial and the relevant CFD theory

1. Pre-processing: instructions on how to set up the correct case structure for a given problem using base case tutorials, with explanations on relevant dictionaries

2. Running simulation: instructions on running the solver and its associated commands

3. Post-processing: examining the results in OpenFOAM ® ’s post-processing application, ParaView V5.10.1

Introduction

keyboard_arrow_down

Editorial board:

  • Bahram Haddadi
  • Christian Jordan
  • Michael Harasek

Compatibility:

  • OpenFOAM® v10

Tutorials

keyboard_arrow_down

Full Tutorials

Tutorial One: Basic Case Setup

Solver: icoFoam

Geometry: 2-dimensional

Tutorial: elbow

1

Tutorial Two: Built in Mesh

Solver: rhoPimpleFoam

Geometry: 2-dimensional

Tutorial: forwardStep

2

Tutorial Three: Patching Fields

Solver: rhoPimpleFoam

Geometry: 1-dimensional

Tutorial: shockTube

3

Tutorial Four: Discretization – Part 1

Solver: scalarTransportFoam

Geometry: 1-dimensional

Tutorial: shockTube

4

Tutorial Five: Discretization – Part 2

Solver: scalarTransportFoam

Geometry: 2-dimensional

Tutorial: circle

5

Tutorial Six: Turbulence, Steady state

Solver: simpleFoam

Geometry: 2-dimensional

Tutorial: pitzDaily

6

Tutorial Seven: Turbulence, Transient

Solver: pisoFoam

Geometry: 2-dimensional

Tutorial: pitzDaily

7

Tutorial Eight: Multiphase - VoF

Solver: interFoam

Geometry: 2-dimensional

Tutorial: damBreak

8

Tutorial Nine: Parallel Processing

Solver: compressibleInterFoam

Geometry: 3-dimensional

Tutorial: depthChare3D

9

Tutorial Ten: Residence Time Distribution

Solver: simpleFoam, scalarTransportFoam

Geometry: 3-dimensional

Tutorial: TJunction

10

Tutorial Eleven: Reaction

Solver: reactingFoam

Geometry: 3-dimensional

Tutorial: reactingElbow

11

Tutorial Twelve: snappyHexMesh – Single Region

Solver: snappyHexMesh, scalarTransportFoam

Geometry: 3-dimensional

Tutorial: flange

12

Tutorial Thirteen: snappyHexMesh – Multi Region

Solver: snappyHexMesh, chtMultiRegionFoam

Geometry: 3-dimensional

Tutorial: snappyMultiRegionHeater

13

Tutorial Fourteen: Sampling

Solver: rhoPimpleFoam

Geometry: 3-dimensional

Tutorial: shockTube

14

Slide-set

keyboard_arrow_down

Author:

  • Bahram Haddadi

SlideSet

Appendix

keyboard_arrow_down

Appendix A: Important Commands in Linux

Compatibility: Unix (Linux, Alpha Unix …)

A1

Appendix B: Running OpenFOAM®

Compatibility: OpenFOAM v10

A2

Appendix C: Frequently Asked Questions

Compatibility: Unix (Linux, Alpha Unix …), OpenFOAM v10

A3

Appendix D: Paraview

Compatibility: ParaView 5.10.1

A4

Archive

keyboard_arrow_down

OpenFOAM Basic Training

Compatibility:

  • OpenFOAM® 2.3.0

OF2

OpenFOAM Basic Training

Compatibility:

  • OpenFOAM® 5
  • OpenFOAM® v1712

OF5

OpenFOAM Basic Training

Compatibility:

  • OpenFOAM® 7
  • OpenFOAM® v1906

OF7

License:

Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0)

This is a human-readable summary of the Legal Code (the full license).

Disclaimer

You are free:

  • to Share — to copy, distribute and transmit the work
  • to Remix — to adapt the work

Under the following conditions:

  • Attribution — You must attribute the work in the manner specified by the author or licensor (but not in any way that suggests that they endorse you or your use of the work).
  • Noncommercial — You may not use this work for commercial purposes.
  • Share Alike — If you alter, transform, or build upon this work, you may distribute the resulting work only under the same or similar license to this one.

With the understanding that:

  • Waiver — Any of the above conditions can be waived if you get permission from the copyright holder.
  • Public Domain — Where the work or any of its elements is in the public domain under applicable law, that status is in no way affected by the license.
  • Other Rights — In no way are any of the following rights affected by the license:
  • Your fair dealing or fair use rights, or other applicable copyright exceptions and

limitations;

  • The author's moral rights;
  • Rights other persons may have either in the work itself or in how the work is used, such as publicity or privacy rights.
  • Notice — For any reuse or distribution, you must make clear to others the license terms of this work. The best way to do this is with a link to this web page.