Difference between revisions of "Day 5"

From OpenFOAM Wiki
Jump to navigation Jump to search
Line 28: Line 28:
 
=[https://wiki.openfoam.com/Shear_rheometer_by_sourceflux Shear rheometer]=
 
=[https://wiki.openfoam.com/Shear_rheometer_by_sourceflux Shear rheometer]=
  
=[https://wiki.openfoam.com/Tips_by_Hakan_Nilsson Course by Håkan Nilsson]=
+
=[https://wiki.openfoam.com/Course_by_Hakan_Nilsson Course by Håkan Nilsson]=
  
 
Here you will find a link to the course provided by Håkan Nilsson at Chalmers university as well as some selected pdfs.
 
Here you will find a link to the course provided by Håkan Nilsson at Chalmers university as well as some selected pdfs.

Revision as of 06:09, 20 September 2016

Welcome to Day 5. After some dry topics, today we have some fun simulations for you.

Go back to "3 weeks" series.

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

  • 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

Laminar flow around a cylinder

Shear rheometer

Course by Håkan Nilsson

Here you will find a link to the course provided by Håkan Nilsson at Chalmers university as well as some selected pdfs.

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.

Cheat sheet

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