"first glimpse" series

From OpenFOAM Wiki
Revision as of 08:54, 23 September 2016 by Jozsef Nagy (talk | contribs)
Jump to navigation Jump to search

Go back to Tutorials.

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 [http:// www.openfoam.com/download/installation.php here].

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

First simulation - Flow in an elbow

In this tutorial you will get a first hands-on glimpse into the workflow of CFD simulations with OpenFOAM. The following topics will be covered:

  • basic case setup
  • initial values
  • boundary conditions
  • mesh
  • simulation (2D elbow case with three meshes)
  • postprocessing

[Second simulation - Liquid-gas interaction]

[http:// openfoam.com/documentation/tutorial-guide/tutorialse7.php#x12-650003.1]


Third simulation - Vortex shedding

This is a more advanced simulation, where you can get a first idea, how to model the complex fluid dynamic phenomenon of vertex shedding behind a square cylinder.

  • Click on the link to the pdf
  • On slides 54-65 you will find a short description of the problem
  • Download the case from the link provided
  • Extract the file
  • Open a terminal by pressung ctrl+alt+t
  • If you extracted the file e.g. in Downloads change your working directory to the simulation case by entering into the terminal
cd Downloads/30x/advanced_physics/turbulence/squarecil/les
  • Follow the commands on slide 76 of the pdf

This simulation will run for a couple of hours depending on your hardware. We advice you to run it over night and check the results in the morning.