# Difference between revisions of ""3 weeks" series"

Jozsef Nagy (talk | contribs) |
Jozsef Nagy (talk | contribs) |
||

Line 8: | Line 8: | ||

Alternatively, you can follow the video tutorial of [https://wiki.openfoam.com/index.php?title=Installing_by_Jozsef_Nagy Jozsef Nagy] or the written tutorial of [https://wiki.openfoam.com/index.php?title=Installing_by_Joel_Guerrero Joel Guerrero]. | Alternatively, you can follow the video tutorial of [https://wiki.openfoam.com/index.php?title=Installing_by_Jozsef_Nagy Jozsef Nagy] or the written tutorial of [https://wiki.openfoam.com/index.php?title=Installing_by_Joel_Guerrero Joel Guerrero]. | ||

+ | |||

+ | If you prefer Windows 10, you can find a tutorial on installing OpenFOAM in Windows 10 [https://wiki.openfoam.com/Installing_in_Windows_10_by_Jozsef_Nagy here]. | ||

=General overview of the "3 weeks" tutorial series= | =General overview of the "3 weeks" tutorial series= |

## Revision as of 14:05, 9 August 2017

In this series you will have the possibility to get a more detailed understanding of the basics of OpenFOAM. You will be able to complete it in about three weeks. It is understandable, that you are exited. Everybody is, but please do not work on the weekends. Breaks are important for the learning process. This is the reason, why the tutorials are divided into fifteen days (see figure below). Do not skip the weekends! Some time without OpenFOAM is also important. You can start by clicking Day 1 below.

Go back to Tutorials.

## Contents

# Installing OpenFOAM

In order to be able to complete the tutorials, you will have to **install** OpenFOAM. There are multiple ways to do this. First, follow the official guideline here.

Alternatively, you can follow the video tutorial of Jozsef Nagy or the written tutorial of Joel Guerrero.

If you prefer Windows 10, you can find a tutorial on installing OpenFOAM in Windows 10 here.

# General overview of the "3 weeks" tutorial series

# Day 1

On Day 1 you will start to get familiar with OpenFOAM. Just follow the instructions step by step and familiarize yourself with the concept of OpenFOAM, Linux, the terminal and working with dictionaries.

- basic workflow in OpenFOAM
- getting used to the terminal
- meshing with the OpenFOAM internal meshing utility blockMesh
- running simulations
- first steps with postprocessing in Paraview

# Day 2

On Day 2 you will continue with your first steps. You will get an even deeper understanding and learn the work flow of OpenFOAM with a special focus on visualization of results.

- more detailed understanding of the work flow
- further short and fun simulations
- grid convergence
- transport equations
- detailed scientific visualization of results

# Day 3

On Day 3 you will **digest all the information** from the previous days by listening to a talk on the basics of OpenFOAM.

# Day 4

On Day 4 you will understand the theory behind OpenFOAM by taking a detailed look at the discretization of the equations and the numerical settings. We will cover a big theoretical area about

- gradient scheme
- gradient limiter
- convection discretization
- face interpolation
- diffusion discretization
- influence of discretization on the simulation results
- CFL number
- linear solvers
- solution methods

# Day 5

Day 5 is there to **round off** the week with some fun simulations. Also we give you links to some interesting documents, which can help you solve your problems in OpenFOAM in the future.

# Day 6

Day 6 is all about meshing. In order to be able to run simulation for real life problems, you have to understand how to create an arbitrary high quality mesh and which alternatives you have in OpenFOAM. For this you will learn about

- geometry creation
- mesh generation

# Day 7

On Day 7 we will talk about turbulence modeling, as this is one of the most important aspects in a CFD simulation. It is important to understand the models as well as the difference between them ion order to choose the correct one for a given problem. Here we will cover the following topics:

- steady-state turbulence modeling
- transient turbulence modeling
- Reynolds-Averaged Navier-Stokes equations
- Large Eddy Simulations
- initial and boundary conditions
- case setup

# Day 8

On day 8 we continue our investigation of **turbulence modeling** by doing **extensive parameter studies** to understand the idea behind turbulence modeling, the difference between models and the actual application. After this day you will be able to choose the correct model for your own problem.

# Day 9

On Day 9 we will start another important topic in CFD, **multiphase modeling**. It is important to understand the additional physics involved to correctly set up the simulation case and to run the simulation. We will take a look at the available models and focus on the **Volume-Of-Fluid Method** and run several simulations to fully understand the theory and to gain experience in the simulations.

# Day 10

On Day 10 we will take a look at the possibility to parallelize simulations in OpenFOAM. This is important, as high-quality simulation setups tend to be computationally very intensive. In order to reduce computation time, you will learn about

- the idea of parallelization
- domain decomposition
- steps of parallelization
- postprocessing parallel results

# Day 11

On Day 11 we will take a look at programming. OpenFOAM offers through an open source code the possibility to add models as well as applications to the existing code. This might be a challenging task, but with the following tutorials, you will get a basic understanding of the work flow. The focus is on:

- exiting code
- required changes
- compiling custom solvers

# Day 12

On day 12 we will further explore the programming possibilities, by extending our experience and knowledge to C++ and all the possible OpenFoam features

- applications
- libraries
- utilities
- function objects
- material models
- C++ functionalities
- debugging
- etc...

# Day 13

On Day 13 we will concentrate on thermal modeling. The inclusion of thermophysical models is not straight forward, as you will need additional dictionaries. We will take a look at all the required steps and learn about

- free convection
- conjugate heat transfer
- reaction modeling
- thermophysical models

# Day 14

The modeling of external flows as well as of highly compressible flows is a challenging task. For the correct description additional physics has to be involved. On Day 14 we will concentrate on simulations about

- external flows
- high compressibility

# Day 15

On Day 15 we cover some additional CFD topics and finalize the "3 weeks series". The topics discussed are

- arbitrary mesh interface
- acoustics
- fluid-structure interaction
- additional case setups