Difference between revisions of "Day 1"

From OpenFOAM Wiki
Jump to navigation Jump to search
 
(13 intermediate revisions by one other user not shown)
Line 11: Line 11:
 
=[https://wiki.openfoam.com/index.php?title=First_simulation_by_Jozsef_Nagy First simulation]=
 
=[https://wiki.openfoam.com/index.php?title=First_simulation_by_Jozsef_Nagy First simulation]=
  
In this tutorial you will get a first hangs-on glimpse into the workflow of CFD simulations with OpenFOAM. The following topics will be covered:
+
In this tutorial you will get a first hands-on glimpse into the workflow of CFD simulations with OpenFOAM. The pdf version can be found [https://wiki.openfoam.com/First_simulation_by_Bahram_Haddadi here]. The following topics will be covered:
  
 
* basic case setup
 
* basic case setup
Line 19: Line 19:
 
* postprocessing
 
* postprocessing
  
=[https://wiki.openfoam.com/index.php?title=Cavity_by_Alex_Vakhrushev Cavity tutorial]=
+
=[https://wiki.openfoam.com/First_simulation_by_Bahram_Haddadi Basic case setup]=
  
This is one of the most basics tutorials. You will revisit this example, so it is a good idea to try it out now. Here, you will get a fast walkthrough with a good explanation about
+
Using icoFoam solver, simulate 75 s of flow in an elbow.
  
* the mesh
+
* Basic case setup in OpenFOAM
* running the case
+
* Setting up initial values of p and U
* postprocessing the results.
+
* Ensuring proper boundary definitions
  
 
=[https://wiki.openfoam.com/index.php?title=Basics_by_Stefan_Radl OpenFOAM basics]=
 
=[https://wiki.openfoam.com/index.php?title=Basics_by_Stefan_Radl OpenFOAM basics]=
Line 35: Line 35:
 
* the basics and the structure.
 
* the basics and the structure.
  
=[https://wiki.openfoam.com/index.php?title=BlockMesh_by_Stefan_Radl blockMesh - basics]=
+
=[https://wiki.openfoam.com/SessionA_by_Stefan_Radl Session A: Getting to know OpenFOAM]=
  
As already mentioned, we now revisit the cavity case with a special focus on the the OpenFOAM internal simple meshing utility called blockMesh. Study
+
In this tutorial you will study
  
* the dictionaries (e.g. blockMeshDict)
+
* what is the history of OpenFOAM
* mesh your case
+
* the philosophy behind the OpenFOAM software
* run and postprocess your simulation
+
* what is the content of the OpenFOAM software package
  
=[https://wiki.openfoam.com/index.php?title=BlockMesh_by_Jozsef_Nagy blockMesh - advanced]=
+
=[https://wiki.openfoam.com/index.php?title=BlockMesh_by_Jozsef_Nagy blockMesh with a more complicated case]=
  
In this second tutorial video you will try out your knowledge about blockMesh in order to create a more complicated mesh for a simulation. The focus is on  
+
In this second tutorial video you will try out your knowledge about blockMesh in order to create a more complicated mesh for a simulation. The pdf version can be found [https://wiki.openfoam.com/BlockMesh_by_Bahram_Haddadi here]. The focus is on  
  
 
* scaling the mesh
 
* scaling the mesh
Line 52: Line 52:
 
* setting edges
 
* setting edges
 
* boundaries
 
* boundaries
* grading  
+
* grading
  
=[https://wiki.openfoam.com/index.php?title=BlockMesh_by_Ferras,_Fernandes_and_Nobrega blockMesh - summary]=
+
=[https://wiki.openfoam.com/index.php?title=Cavity_by_Joel_Guerrero Cavity - Revisited]=
  
Yes, the first day is almost over. Look forward to your regeneration by finishing this last tutorial. Here you will find a summary on meshing with blockMesh. You will find a
+
Before you already completed this tutorial a few times. Here you will be taken into the depth of an OpenFOAM case in order to understand all the important in- and outputs required for a CFD simulation in OpenFOAM.
 +
 
 +
* details on OpenFOAM directory organization
 +
* directory structure of an application/utility
 +
* applications/utilities in OpenFOAM
 +
* directory structure of an OpenFOAM case
 +
* simulation workflow
 +
* details on the in- and output of an OpenFOAM case
  
* visual description of the blockMeshDict dictionary
 
* fun geometries for exercise
 
  
 
=End of Day 1=
 
=End of Day 1=

Latest revision as of 21:58, 3 October 2018

Day 1 is all about fast and fun simulations with the focus on

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

Go back to "3 weeks" series.

First simulation

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

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

Basic case setup

Using icoFoam solver, simulate 75 s of flow in an elbow.

  • Basic case setup in OpenFOAM
  • Setting up initial values of p and U
  • Ensuring proper boundary definitions

OpenFOAM basics

Here you will find a video on the very basics of OpenFOAM. You will hear about

  • OpenFOAM and what it is good for
  • the history and philosophy behind it
  • the basics and the structure.

Session A: Getting to know OpenFOAM

In this tutorial you will study

  • what is the history of OpenFOAM
  • the philosophy behind the OpenFOAM software
  • what is the content of the OpenFOAM software package

blockMesh with a more complicated case

In this second tutorial video you will try out your knowledge about blockMesh in order to create a more complicated mesh for a simulation. The pdf version can be found here. The focus is on

  • scaling the mesh
  • setting the vertices
  • setting volumes (blocks)
  • setting edges
  • boundaries
  • grading

Cavity - Revisited

Before you already completed this tutorial a few times. Here you will be taken into the depth of an OpenFOAM case in order to understand all the important in- and outputs required for a CFD simulation in OpenFOAM.

  • details on OpenFOAM directory organization
  • directory structure of an application/utility
  • applications/utilities in OpenFOAM
  • directory structure of an OpenFOAM case
  • simulation workflow
  • details on the in- and output of an OpenFOAM case


End of Day 1

Thank you for finishing the first day. We hope, that you had fun and you will continue tomorrow with Day 2. The topics tomorrow are:

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

Homework: relax.