Introduction to OpenFOAM

[Pages:83]Introduction to OpenFOAM

Feng Chen HPC User Services LSU HPC & LONI sys-help@

Louisiana State University Baton Rouge

February 24, 2016

Selected CFD codes

2/24/2016

Introduction to OpenFOAM

2

Topics to be covered today

OpenFOAM general overview Lid driven cavity example walk through

Pre-processing OpenFOAM cases OpenFOAM case configuration Running OpenFOAM case Post-processing OpenFOAM cases Stress analysis of plateHole example Create custom solver Adding a transport equation to icoFoam

2/24/2016

Introduction to OpenFOAM

3

Introduction to OpenFOAM

OpenFOAM General Overview

2/24/2016

4

OpenFOAM overview

Open Field of Operation And Manipulation (FOAM) Free, open source CFD software package

The GNU Public License (GPL) gives freedom to contribute to any or all of these projects.

Open architecture--will be detailed later Low(Zero)-cost CFD Problem-independent numerics and discretization Efficient environment for complex physics problems C++ programming language A set of libraries for continuum mechanics Based on Finite Volume Method (FVM)

2/24/2016

Introduction to OpenFOAM

5

OpenFOAM History Review

History of OpenFOAM: Original development started in the late 1980s at Imperial College, London (FORTRAN), Later changed to C++, OpenFOAM 1.0 released on 10/12/2004 Major releases: 1.4-1.7.x, 2.0.x, 2.1.x-2.4.x, v3.0.(1), v3.0+ Wikki Ltd. Extend-Project: 1.4-dev, 1.5-dev, 1.6-ext, foam-extend-3.2

2/24/2016

Introduction to OpenFOAM

6

OpenFOAM and OpenFOAM+

How does it compare to OpenFOAM and OpenFOAM+?

The OpenFOAM project managed by the OpenFOAM Foundation is similar to RHEL.

The OpenFOAM+ project managed by OpenCFD Limited (ESI Group) is similar to Fedora.

How are OpenFOAM and OpenFOAM+ similar?

OpenFOAM Foundation ( ) is aiming to maintain versions that are meant to be of high quality standards, futureproof and easy to maintain.

OpenCFD Limited () has its own development cycle and provides new features, while keeping as close as possible to the same standards, as announced: OpenCFD is pleased to announce the release of OpenFOAM-v3.0+OpenFOAM Foundation: (OpenFOAM-v3.0+)

Which version/fork/variant to choose?

Check the release notes of each one and compare with your needs.

Or simply try them all without spending a single dime in licenses??

2/24/2016

Introduction to OpenFOAM

7

OpenFOAM theoretical background

Theoretical background Finite Volume Method (FVM) Unstructed grid Pressure correction methods (SIMPLE, PISO, and their combination PIMPLE), for more information about FVM, see:

Partankar, S. V. (1980) Numerical heat transfer and fluid flow, McGraw-Hill.

H. Versteeg and W. Malalasekra, (2007) An Introduction to Computational Fluid Dynamics: The Finite Volume Method Approach

Ferziger, Joel H., Peric, Milovan, (2002) Computational Methods for Fluid Dynamics

2/24/2016

Introduction to OpenFOAM

8

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download