Day 2

From OpenFOAM Wiki
Revision as of 09:59, 19 September 2016 by Jozsef Nagy (talk | contribs)
Jump to navigation Jump to search

Welcome back to Day 2. Today is all about widening and extending our experience in OpenFOAM. Yesterday we learned a lot about the basic work flow and simple mesh creation, today we will start going into the depth of OpenFOAM and go through the entire CFD workflow until postprocessing. We will focus in

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

Go back to "3 weeks" series.

Open source geometry creation

Here you will get a detailed introduction into two alternatives for the creation of geometries as inputs for a CFD project in OpenFOAM

  • Salome
  • Onshape

Cavity - revision

Yesterday you already completed this tutorial several 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

Grid convergence

By now, you should be familiar to the basics of OpenFOAM. Let us continue with some general CFD topics, still covered in OpenFOAM. In this video you will learn the importance of grid resolution and its effect onto your results.

  • field initialization with setFields
  • mesh refinement with blockMesh
  • simulation of a 1D shock tube case
  • influence of mesh refinement on the simulation results
  • postprocessing

Transport equation

Another important general topic is the general transport equation. Here, you will get a basic idea on the structure of the equations, which are solved in CFD and also in OpenFOAM.

  • the solver
  • case setup
  • transport phenomena like convection and diffusion
  • influence of constants
  • simulation of scalar transport
  • post processing


In this tutorial you will try a simple simulation with the your newly acquired knowledge on CFD in OpenFOAM. In addition you will learn about

  • understanding RTD calculation using OpenFOAM
  • using multiple solver for a simulation
  • postprocessing by plotting the step response function and the RTD curve

Visualization during postprocessing

In this tutorial you will get a deep understanding on the scientific postprocessing and visualization of results in Paraview.

The following topics will be covered:

  • Postprocessing
  • ParaView in a nutshell
  • ParaView vs. paraFoam
  • ParaView GUI overview
  • Basic usage – Sources and filters
  • Scientific visualization with paraFoam/ParaView

Data inspection

In this video you will continue with the simulations from yesterday in blockMesh - basics. Here the focus is on

  • simulation output
  • understanding the simulation results of OpenFOAM
  • sampling data
  • a summary of scientific visualization of results in Paraview
  • additional detailed case information

End of Day 2

Thank you for finishing the second day. We hope, that you are still having fun. Let's continue tomorrow with Day 3.

Now let's take a rest.