0% found this document useful (0 votes)
40 views13 pages

OSvs CS

This document discusses OpenFOAM, an open-source CFD software. It begins by defining what open-source means, including that open-source software makes source code freely available for modification and redistribution. It then discusses benefits of open-source like freedom, quality, cost and security. The document goes on to explain OpenFOAM, including its version history and basic case structure involving folders, files and preparing cases. It provides an example of setting up a simple 2D geometry case and running a simulation in OpenFOAM.

Uploaded by

Grzesiek Bien
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)
40 views13 pages

OSvs CS

This document discusses OpenFOAM, an open-source CFD software. It begins by defining what open-source means, including that open-source software makes source code freely available for modification and redistribution. It then discusses benefits of open-source like freedom, quality, cost and security. The document goes on to explain OpenFOAM, including its version history and basic case structure involving folders, files and preparing cases. It provides an example of setting up a simple 2D geometry case and running a simulation in OpenFOAM.

Uploaded by

Grzesiek Bien
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
You are on page 1/ 13

Akademia Górniczo-Hutnicza

im. Stanisława Staszica w Krakowie


AGH University of Science
and Technology

OpenFOAM
Open-source CFD software

Redacted

Redacted

Redacted

Redacted (Redacted) OpenFOAM 1 / 13


Part I

What is Open-Source?
www.agh.edu.pl

Redacted (Redacted) OpenFOAM What is Open-Source? 2 / 13


Open-source vs Closed-source
www.agh.edu.pl

Redacted (Redacted) OpenFOAM What is Open-Source? 3 / 13


Open-Source

Definition
Open source is source code that is made freely available for
possible modification and redistribution. Products include
permission to use the source code, design documents, or content of
the product. The open-source model is a decentralized software
development model that encourages open collaboration.
www.agh.edu.pl

Redacted (Redacted) OpenFOAM What is Open-Source? 4 / 13


Why should you even consider using open-source?

Freedom and Flexibility of Open Source


High Quality
Lower Costs
Security Through Transparency
Communities Enabling Innovation
www.agh.edu.pl

Redacted (Redacted) OpenFOAM What is Open-Source? 5 / 13


Part II

OpenFoam CFD
www.agh.edu.pl

Redacted (Redacted) OpenFOAM OpenFoam CFD 6 / 13


Versions

OpenFoam.org vX V10
OpenFoam.com vXXXX v2112
www.agh.edu.pl

Redacted (Redacted) OpenFOAM OpenFoam CFD 7 / 13


Case structure

Folder Subfolder File


*Case name*
system
blockMeshDict
controlDict
fvSchemes
fvSolutions
0
U
p
other(k, omega, nut etc)
constant
www.agh.edu.pl

momentumTransport
transportProperties

Redacted (Redacted) OpenFOAM OpenFoam CFD 8 / 13


Case preparation for simple 2D geometry

1 Divide your domain into hexahedrons.


2 Define vertices in blockMesh.
3 Define hexahedrons in blockMesh using vertices.
4 Define boundary conditions on walls.
5 Generate mesh using blockMesh in console
6 Define boundary conditions in 0/p, 0/U . . .
7 Solve the case.
www.agh.edu.pl

Redacted (Redacted) OpenFOAM OpenFoam CFD 9 / 13


Mesh
www.agh.edu.pl

Redacted (Redacted) OpenFOAM OpenFoam CFD 10 / 13


Results
www.agh.edu.pl

Redacted (Redacted) OpenFOAM OpenFoam CFD 11 / 13


Results
www.agh.edu.pl

Redacted (Redacted) OpenFOAM OpenFoam CFD 12 / 13


LOBSTER TIME
www.agh.edu.pl

Redacted (Redacted) OpenFOAM 13 / 13

You might also like