Difference between revisions of "Day 4"

From OpenFOAM Wiki
Jump to navigation Jump to search
 
(7 intermediate revisions by 2 users not shown)
Line 3: Line 3:
  
 
Go back to [https://wiki.openfoam.com/index.php?title=%223_weeks%22_series "3 weeks" series].
 
Go back to [https://wiki.openfoam.com/index.php?title=%223_weeks%22_series "3 weeks" series].
 +
 +
=[https://wiki.openfoam.com/Theory_by_Joel_Guerrero Crash introduction to the FVM]=
 +
 +
In these slides you will find an in depth summary of the theory of CFD and also OpenFOAM. A brief list of the topics covered:
 +
 +
* finite volume method
 +
* CFL number
 +
* linear solvers
 +
* solution methods
 +
* unsteady and steady simulation
 +
* residuals
 +
* boundary and initial conditions
 +
 +
=[https://wiki.openfoam.com/Detailed_numerics_by_Gavin_Tabor Detailed Numerics]=
 +
 +
This tutorial provides additional insights about numerics in OpenFOAM, comprising:
 +
* 1. Differencing schemes - representation of individual derivatives
 +
* 2. Matrix inversion - iterative solution of individual equations
 +
* 3. Algorithms - SIMPLE, PISO, Pimple (etc)
 +
 +
In OpenFOAM the methods for all these operations need to be specified: 1. is in fvSchemes and 2, 3 in fvSolution.
  
 
=[https://wiki.openfoam.com/Discretization_by_Jozsef_Nagy Discretization]=
 
=[https://wiki.openfoam.com/Discretization_by_Jozsef_Nagy Discretization]=
  
To kick things off, follow this tutorial on discretization and the influence of different schemes on the simulation results. The pdf version can be found [https://wiki.openfoam.com/Discretization_by_Bahram_Haddadi here]. Here the focus is on:
+
Discretization and the influence of different schemes on the simulation results are the major topics covered in this tutorial, which covers:
  
 
* spatial discretization
 
* spatial discretization
Line 14: Line 35:
 
* influence of discretization on the simulation results of a passive scalar
 
* influence of discretization on the simulation results of a passive scalar
 
* postprocessing
 
* postprocessing
 +
 +
The pdf version can be found [https://wiki.openfoam.com/Discretization_by_Bahram_Haddadi here]
  
 
=[https://wiki.openfoam.com/Finite_Volume_Discretization_by_Hrvoje_Jasak Discretization strategies]=
 
=[https://wiki.openfoam.com/Finite_Volume_Discretization_by_Hrvoje_Jasak Discretization strategies]=
Line 24: Line 47:
 
* face interpolation
 
* face interpolation
 
* diffusion discretization
 
* diffusion discretization
 
=[https://wiki.openfoam.com/Numerical_schemes_by_Tobias_Holzmann Numerical scheme analyzing]=
 
 
The numerical discretization is treated by choosing different numerical schemes in OpenFOAM. Each numerical scheme behaves different which is demonstrated in a simple convection flow. Here, you will see the influence of the mesh type, hexaeder and tetraeder, the orientation of the mesh and the mesh density on the accuracy of the solution and if the scheme produces physical or also non-physical values. The following schemes will be covered
 
 
* upwind
 
* linear
 
* linearUpwind
 
* limitedLinear
 
* limitedLimitedLinear
 
* vanLeer
 
* limitedVanLeer
 
* cubic
 
* limitedCubic
 
* SFCD
 
* QUICK
 
* UMIST
 
 
=[https://wiki.openfoam.com/Theory_by_Joel_Guerrero Crash introduction to the FVM]=
 
 
To conclude this day, in these slides you will find an in depth summary of the theory of CFD and also OpenFOAM. A brief list of the topics covered:
 
 
* finite volume method
 
* CFL number
 
* linear solvers
 
* solution methods
 
* unsteady and steady simulation
 
* residuals
 
* boundary and initial conditions
 
 
=[https://wiki.openfoam.com/Session_B_by_Stefan_Radl Session B: Using OpenFOAM]=
 
 
You may now start to use the software! Here is a series of videos that help you to get started with
 
 
* the primer: you will get familiar with the main strategy to develop a case.
 
* the case overview: you will get familiar with the structure of a case.
 
* basics of blockMesh: you will get build a simple mesh.
 
* inspection of controlDict: you will be guided through the main file that controls your case.
 
* hints related to Dictionaries: making life easier by displaying options in dictionaries.
 
* fvSchemes and fvSolution: informs you about key settings of the numerics.
 
* Sampling and Probing: you will learn essential post-processing steps.
 
* visualization 0.1: basics of how to look at your data.
 
* DPMFoam Part 1, and DPMFoam Part 2: quick look at an Euler-Lagrange solver.
 
* MPPICFoam: an interesting solver for all that like particles!
 
  
 
=End of Day 4=
 
=End of Day 4=

Latest revision as of 05:26, 11 February 2019

Welcome back to Day 4. Today we will go even further into the depths and find, where the rubber meets the road (at least mathematically). We will have a special focus on discretization. Why is this important? Did you ever try to solve the fluid dynamic equations for an arbitrary industrial application by hand? Well... In most cases it is a better idea to break down the partial differential/integral equations into "simple" operations (+,-,*,/) and solve them for "small" volumens (yes, the cells in your mesh). This is called discretization. Today you will gain the knowledge, how this works.

Go back to "3 weeks" series.

Crash introduction to the FVM

In these slides you will find an in depth summary of the theory of CFD and also OpenFOAM. A brief list of the topics covered:

  • finite volume method
  • CFL number
  • linear solvers
  • solution methods
  • unsteady and steady simulation
  • residuals
  • boundary and initial conditions

Detailed Numerics

This tutorial provides additional insights about numerics in OpenFOAM, comprising:

  • 1. Differencing schemes - representation of individual derivatives
  • 2. Matrix inversion - iterative solution of individual equations
  • 3. Algorithms - SIMPLE, PISO, Pimple (etc)

In OpenFOAM the methods for all these operations need to be specified: 1. is in fvSchemes and 2, 3 in fvSolution.

Discretization

Discretization and the influence of different schemes on the simulation results are the major topics covered in this tutorial, which covers:

  • spatial discretization
  • face interpolation
  • changing schemes in OpenFOAM
  • divergence schemes
  • influence of discretization on the simulation results of a passive scalar
  • postprocessing

The pdf version can be found here

Discretization strategies

In this tutorial you will find strategies on how to improve your simulation results by optimizing the utilized discretization settings. The focus is on

  • gradient scheme
  • gradient limiter
  • convection discretization
  • face interpolation
  • diffusion discretization

End of Day 4

Thank you for finishing the fourth day. We really-really hope, that you did not skip this day. It is a dry topic, but it is essential for understanding how to run high-quality simulations. Bare with us. Tomorrow on Day 5 we have some fun simulations for you.

Until then take a break!