Day 1

From OpenFOAM Wiki
Jump to navigation Jump to search

Day 1 is all about fast and fun simulations with the focus on

  • the basic workflow in OpenFOAM
  • getting used to the terminal
  • meshing with the OpenFOAM internal meshing utility blockMesh
  • running simulations
  • first steps with postprocessing in Paraview

Go back to "3 weeks" series.

First simulation

In this tutorial you will get a first hands-on glimpse into the workflow of CFD simulations with OpenFOAM. The pdf version can be found here. The following topics will be covered:

  • basic case setup
  • initial values
  • mesh
  • simulation (2D elbow case with three meshes)
  • postprocessing

Basic case setup

Using icoFoam solver, simulate 75 s of flow in an elbow.

  • Basic case setup in OpenFOAM
  • Setting up initial values of p and U
  • Ensuring proper boundary definitions

OpenFOAM basics

Here you will find a video on the very basics of OpenFOAM. You will hear about

  • OpenFOAM and what it is good for
  • the history and philosophy behind it
  • the basics and the structure.

Session A: Getting to know OpenFOAM

In this tutorial you will study

  • what is the history of OpenFOAM
  • the philosophy behind the OpenFOAM software
  • what is the content of the OpenFOAM software package

blockMesh with a more complicated case

In this second tutorial video you will try out your knowledge about blockMesh in order to create a more complicated mesh for a simulation. The pdf version can be found here. The focus is on

  • scaling the mesh
  • setting the vertices
  • setting volumes (blocks)
  • setting edges
  • boundaries
  • grading

Cavity - Revisited

Before you already completed this tutorial a few times. Here you will be taken into the depth of an OpenFOAM case in order to understand all the important in- and outputs required for a CFD simulation in OpenFOAM.

  • details on OpenFOAM directory organization
  • directory structure of an application/utility
  • applications/utilities in OpenFOAM
  • directory structure of an OpenFOAM case
  • simulation workflow
  • details on the in- and output of an OpenFOAM case

End of Day 1

Thank you for finishing the first day. We hope, that you had fun and you will continue tomorrow with Day 2. The topics tomorrow are:

  • more detailed understanding of the work flow
  • further short and fun simulations
  • grid convergence
  • transport equations
  • detailed scientific visualization of results

Homework: relax.