Difference between revisions of "Day 5"

From OpenFOAM Wiki
Jump to navigation Jump to search
(18 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Welcome to Day 5. After some dry topics, today we have some fun simulations for you.  
+
Welcome to Day 5. After some dry topics, today we have some fun simulations for you. You will also get a links to materials, which can help improve the quality of your simulation. If you have some problems in the future with your simulations, you can come back to them. Most probably you will find a solution.
  
 
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].
Line 5: Line 5:
 
=[https://wiki.openfoam.com/Running_your_first_case_by_Jozsef_Nagy Running your first case on your own]=
 
=[https://wiki.openfoam.com/Running_your_first_case_by_Jozsef_Nagy Running your first case on your own]=
  
As a start try your gained knowledge about OpenFOAM and set up a case on your own. For this you will need everything you have learned so far. You will cover
+
Try your gained knowledge about OpenFOAM and set up a case on your own. For this you will need everything you have learned so far. The pdf version can be found [https://wiki.openfoam.com/First_Case_by_Bahram_Haddadi here]. You will cover
  
 
* creating your mesh
 
* creating your mesh
Line 14: Line 14:
 
* postprocessing your simulation
 
* postprocessing your simulation
  
=[https://wiki.openfoam.com/Hagen_Poiseuille_by_Joell_Guerrero Hagen Poiseuille flow]=
+
=[https://wiki.openfoam.com/Hagen_Poiseuille_by_Joel_Guerrero Hagen Poiseuille flow]=
  
 
Another fun simulation is the laminar Hagen Poiseuille flow. Follow the set-by-step introductions to utilize and further extend your gained knowledge about
 
Another fun simulation is the laminar Hagen Poiseuille flow. Follow the set-by-step introductions to utilize and further extend your gained knowledge about
Line 24: Line 24:
 
* sampling during postprocessing
 
* sampling during postprocessing
  
=[https://wiki.openfoam.com/Laminar_flow_around_a_cylinder_by_sourceflux Laminar flow around a cylinder]=
+
=[https://wiki.openfoam.com/Session_B_by_Stefan_Radl Session B: Using OpenFOAM]=
  
=[https://wiki.openfoam.com/Shear_rheometer_by_sourceflux Shear rheometer]=
+
In this tutorial you can find a set of videos that help you revising the major topics covered before and explore some additional solvers:
  
=[https://wiki.openfoam.com/Tips_by_Hakan_Nilsson Course by Håkan Nilsson]=
+
* 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!
  
Here you will find a link to the course provided by Håkan Nilsson at Chalmers university as well as some selected pdfs.
+
 
 +
=[https://wiki.openfoam.com/Basic_introduction_by_Hakan_Nilsson Course of Håkan Nilsson]=
 +
 
 +
Here you will the link to the course page by Håkan Nilsson from Chalmers University of Technology with '''~125!''' tutorial cases.
  
 
=Tips and Tricks for OpenFOAM simulations=
 
=Tips and Tricks for OpenFOAM simulations=
  
 
Below you will find additional material, where you can find tips and tricks for the improvement of your simulation. Feel free to go though them and fall back to them in the future, once you encounter some problems in your simulation.
 
Below you will find additional material, where you can find tips and tricks for the improvement of your simulation. Feel free to go though them and fall back to them in the future, once you encounter some problems in your simulation.
 
=[https://wiki.openfoam.com/Cheat_sheet_by_sourceflux Cheat sheet]=
 
  
 
=[https://wiki.openfoam.com/Tips_by_Gerhard_Holzinger Tips 1]=
 
=[https://wiki.openfoam.com/Tips_by_Gerhard_Holzinger Tips 1]=
Line 65: Line 75:
 
* convergence
 
* convergence
 
* function objects
 
* function objects
 +
 +
=End of Day 5=
 +
 +
We are happy, that you finished Day 5. We hope, that you enjoyed your journey with OpenFOAM so far. By now you should have a good understanding about the basics and the theory. On Day 6 we will continue with a more advanced topic:
 +
 +
* meshing.
 +
 +
See you on Day 6.

Revision as of 22:28, 3 October 2018

Welcome to Day 5. After some dry topics, today we have some fun simulations for you. You will also get a links to materials, which can help improve the quality of your simulation. If you have some problems in the future with your simulations, you can come back to them. Most probably you will find a solution.

Go back to "3 weeks" series.

Running your first case on your own

Try your gained knowledge about OpenFOAM and set up a case on your own. For this you will need everything you have learned so far. The pdf version can be found here. You will cover

  • creating your mesh
  • setting up initial and boundary conditions
  • setting up physical properties
  • setting correct numerical settings
  • running your simulation
  • postprocessing your simulation

Hagen Poiseuille flow

Another fun simulation is the laminar Hagen Poiseuille flow. Follow the set-by-step introductions to utilize and further extend your gained knowledge about

  • a simple case setup
  • function objects
  • laminar flow
  • numerics
  • sampling during postprocessing

Session B: Using OpenFOAM

In this tutorial you can find a set of videos that help you revising the major topics covered before and explore some additional solvers:

  • 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!


Course of Håkan Nilsson

Here you will the link to the course page by Håkan Nilsson from Chalmers University of Technology with ~125! tutorial cases.

Tips and Tricks for OpenFOAM simulations

Below you will find additional material, where you can find tips and tricks for the improvement of your simulation. Feel free to go though them and fall back to them in the future, once you encounter some problems in your simulation.

Tips 1

In this handy summary of OpenFOAM functionalities you can read about e.g.

  • geometry and mesh creation
  • case setup
  • case control
  • field initialization
  • boundary conditions
  • turbulence modeling
  • multiphase modeling (Eulerian and Lagrangian)
  • solvers
  • postprocessing
  • programming in OpenFOAM

Tips 2

In this material you can find information on the small details, which do make the difference between a good simulation and crashing.

  • shell environment
  • looking for information in the source code
  • running cases on a cluster
  • mesh quality check
  • boundary and initial conditions
  • numerics
  • convergence
  • function objects

End of Day 5

We are happy, that you finished Day 5. We hope, that you enjoyed your journey with OpenFOAM so far. By now you should have a good understanding about the basics and the theory. On Day 6 we will continue with a more advanced topic:

  • meshing.

See you on Day 6.