Módulo 1: OpenFOAM® Fundamentos

5 and 6 of December 2011

Overview of Computational Fluid Dynamics fundamentals including tensor mathematics and operations, review of transport equations, grid generation, discretization techniques, boundary conditions and numerical algorithms.

Basic Linux for working with OpenFOAM

Necessary knowledge of Linux required to work efficiently with OpenFOAM will be provided. Aspects such as working with files and directories, editing files with vi editor, common command-line utilities, shell features, shell programming, login scripts and customization of shell environment will be demonstrated for the bash shell.

Basic of Object Oriented Programming (OOP) with C++ and its application in OpenFOAM

Encapsulation, Inheritance and Polymorphism are the three main concepts of OOP. Basic understanding of these concepts greatly enhances the working with OpenFOAM. The C++ syntax and the OOP concepts will be explained using the OpenFOAM code itself.

Flow Visualization – Basic usage and batch processing with ParaView

ParaView is an open source application for analysis and visualization of large data sets in parallel. Usage of ParaView for scientific visualization will be demonstrated with examples. Introduction to python scripting in ParaView for task automation is also given.

OpenFOAM – Installation and Compilation

Installation and compilation of OpenFOAM is very easy once the user has basic Linux knowledge and understands the folder structure of the code. Instructions for hassle free installation and compilation will be given. The installation script bashrc will be explained so that user can independently troubleshoot installation and compilation related errors.

Basic Usage – I

Case setup of OpenFOAM is very intuitive and systematic. The philosophy behind this setup will be explained. Execution of the whole process i.e. mesh import, boundary conditions and solving the case will be demonstrated.

Basic Usage – II

OpenFOAM allows the user to develop problem-dependent solvers. The structure of a solver will be explained in depth. Modification of existing solvers and usage of post processing routines (functionObjects) will be demonstrated.

Basic Usage –III

OpenFOAM provides a wide variety of turbulence models both for incompressible and compressible flows. How OpenFOAM incorporates a turbulence model in a solver will be explained. Further , the inheritance hierarchy of turbulence models will be discussed . Instruction on adding user-developed model will be given.

Basic Usage –IV

Practical problems at large require computing in parallel. Both OpenFOAM and ParaView work efficiently on parallel computing environment. Decomposition of test case for parallel computation and its post processing using ParaView in parallel will be demonstrated. Aspects related to choice of decomposition method and the structure of decomposeParDict will be explained as well.

Página anterior