Introduction to OpenFOAM




OpenFOAM is a popular open source software package for Computational Fluid Dynamics (CFD). It has a large user base across most areas of engineering and science, from both commercial and academic organisations. OpenFOAM has an extensive range of features to solve anything from complex fluid flows involving chemical reactions, turbulence and heat transfer, to acoustics, solid mechanics and electromagnetics. It is free-to-use numerical simulation software, including usage on HPC systems.

In this Seasonal school, participants will get a firm introduction to the package, the basic machinery behind the software and how to go about running typical OpenFOAM jobs. More advanced topics will be covered, based to a large extent on the expectations and feedback of the registered participants.

Course prerequisites

  • The seasonal school is targeted at a PhD audience (incl. PhD students).
  • Participants should have basic computer management skills and be able to work comfortably on the Unix/Linux command line.
OpenFOAM Seasonal School Evaluation
    • 09:00 13:00
      Fundamentals of OpenFOAM

      OpenFOAM overview
      Case structure
      Running first simulation
      o steady state
      o transient simulation
      o basic case setup
      o Boundary conditions setup

    • 14:00 18:00
      Fundamentals of OpenFOAM

      o Generation of block structured mesh
      o Structure of the mesh setup
      o Geometry definition via blocks
      o Mesh validity check
      o Importing the mesh
      Pressure-velocity coupling
      o PISO implementation
      o SIMPLE and PIMPLE
      o Best practices
      o Convergence control

    • 09:00 13:00
      Advanced meshing and numerical setup

      Meshing with SnappyHexMesh
      o Geometry preparation
      o Surface mesh considerations
      o SnappyHexMesh basic setup
      o Growing near-wall mesh
      o Mesh quality measures
      o Mesh quality assessment

    • 14:00 18:00
      Advanced meshing and numerical setup

      Numerical setup for real mesh
      Blended schemes
      Solver best practices
      Practical example

    • 09:00 13:00
      Turbulence modelling, Post-processing, Advanced techniques

      o On-the-fly post-processing
      o a posteriori post-processing
      o Advanced ParaView
      Turbulence modelling in OpenFOAM
      o RANS
      o LES, DES
      o Boundary conditions

    • 14:00 18:00
      Turbulence modelling, Post-processing, Advanced techniques

      Dynamic code
      o Expressions
      o Initial field setup
      o Boundary conditions setup
      o User coded boundary conditions
      o User coded source terms

    • 09:00 10:30
      Case consulting
    • 10:30 12:00
      Case consulting
    • 13:00 14:30
      Case consulting
    • 14:30 16:00
      Case consulting