Airfoil
Objectives
The objectives for this tutorial are as follows:
- Create a two-dimensional mesh in OpenFOAM with
cartesian2DMeshand check its quality, - Set boundary conditions based on Reynolds-number,
- Run a steady-state, incompressible simulation with
simpleFoam, - Check convergence and compute drag and lift coefficient,
- Repeat the simulation with varying angle of attack, and
- Visualize the velocity field in ParaView.
Overview
This tutorial will describe how to pre-process, run, and post-process a case involving a steady-state, isothermal, incompressible flow over a NACA 0012 airfoil. The geometry is shown in the following figure with an inlet on the left, the airfoil in the center, slip walls at the top and bottom, and an outlet at the right. The flow will be solved using the OpenFOAM solver simpleFoam the suitable for laminar and turbulent, isothermal, incompressible, steady-state flows.

Preparation
Before starting, perform the following steps for preparation:
- Download the archive
4_airfoil.zipfrom the Downloads folder on the OPAL course page. - Extract the archive.
- Open a terminal, navigate to the newly created folder, and source OpenFOAM.