0% found this document useful (0 votes)
211 views8 pages

OpenFOAM for CFD Enthusiasts

OpenFOAM is an open-source toolbox of C++ libraries for computational fluid dynamics (CFD) simulations that is free to use and modify. It consists of over 80 libraries used to create 200 applications, with over 1.3 million lines of code, and uses a case structure to organize simulation data in directories for constants, meshes, and solver properties. The document provides an overview of OpenFOAM, links to documentation and forums, and outlines a tutorial case study of airfoil flow simulation using the k-omega turbulence model.

Uploaded by

Yogesh Dewang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
211 views8 pages

OpenFOAM for CFD Enthusiasts

OpenFOAM is an open-source toolbox of C++ libraries for computational fluid dynamics (CFD) simulations that is free to use and modify. It consists of over 80 libraries used to create 200 applications, with over 1.3 million lines of code, and uses a case structure to organize simulation data in directories for constants, meshes, and solver properties. The document provides an overview of OpenFOAM, links to documentation and forums, and outlines a tutorial case study of airfoil flow simulation using the k-omega turbulence model.

Uploaded by

Yogesh Dewang
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Introduction to OpenFOAM

Roberto Pieri - SCS Italy

17 June 2014
Overview on OpenFOAM

OpenFOAM structure

Official links

Hands on a real case study

Tutorial session
What is OpenFOAM ?

I Free and open-source toolbox of C++ libraries, licensed under the


GNU General Public Licence.
I Produced by OpenCFD Ltd.
I Mostly used for computational fluid dynamics.
I Top level code represents the equations being solved.
A toolbox, not a black box

I OpenFOAM consists of (80+) libraries.


I Libraries are used to create more than 200 applications.
I OpenFOAM consists of about 1.3 millions of code lines.
Case structure
I constant directory contains the
directory polyMesh and
dictionaries specifing all
physical properties of the case;
I polyMesh subdirectory contains
a full description of the mesh
case;
I system directory contains the
properties of the solver.
I Time directories contain files of
data for every field of the
simulation.
Links

I www. openfoam. org


I Download guide for different O.S.
I Official user guide (html or PDF format).
I Official programmers guide.
I C++ source guide.
I OpenFOAM wiki :
http: // openfoamwiki. net/ index. php/ Main_ Page
I Online forum : www. cfd-online. com/ Forums/
Tutorial
Physical properties Modellation
o rectangular domain
I NLR-7301 airfoil with 20 flap I

I M ∼ 0.2 → incompressible I k − ω turbulence model


I Re ∼ 2.6 · 106 → turbulent I steady-state simulation
o simpleFoam solver
I α=6 I

I |U| = 40m/s
Tutorial

I Copy extruded mesh in the right directory of the case.


I Set appropriate boundary conditions.
I Set the dictionary for the decomposition.
I Set the directions of lift and drag in the appropriate dictionary.
I Run the solver.

You might also like