Difference between revisions of "Day 2"

From OpenFOAM Wiki
Jump to navigation Jump to search
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
Welcome back to Day 2. Today is all about widening and extending our experience in OpenFOAM. Yesterday we learned a lot about the basic work flow and simple mesh creation, today we will start going into the depth of OpenFOAM and go through the entire CFD workflow until postprocessing. We will focus in
 +
 +
* more detailed understanding of the work flow
 +
* further short and fun simulations
 +
* grid convergence
 +
* transport equations
 +
* detailed scientific visualization of results
 +
 
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/index.php?title=Workflow_by_Joel_Guerrero Workflow]=
+
=[https://wiki.openfoam.com/index.php?title=Grid_convergence_by_Jozsef_Nagy Grid convergence]=
Here you will get a detailed introduction into the work flow of CFD.
+
 
 +
By now, you should be familiar to the basics of OpenFOAM. Let us continue with some general CFD topics, still covered in OpenFOAM. In this video you will learn the importance of grid resolution and its effect onto your results. The pdf version can be found [https://wiki.openfoam.com/Grid_Convergence_by_Bahram_Haddadi here].
 +
 
 +
* field initialization with setFields
 +
* mesh refinement with blockMesh
 +
* simulation of a 1D shock tube case
 +
* influence of mesh refinement on the simulation results
 +
* postprocessing
 +
 
 +
=[https://wiki.openfoam.com/index.php?title=Transport_equation_by_Jozsef_Nagy Transport equation]=
 +
 
 +
Another important general topic is the general transport equation. Here, you will get a basic idea on the structure of the equations, which are solved in CFD and also in OpenFOAM. The pdf version can be found [https://wiki.openfoam.com/Transport_Equation_by_Bahram_Haddadi here].
  
=[https://wiki.openfoam.com/index.php?title=Cavity_by_Joel_Guerrero Cavity]=
+
* the solver
 +
* case setup
 +
* transport phenomena like convection and diffusion
 +
* influence of constants
 +
* simulation of scalar transport
 +
* post processing
  
Yesterday you already completed this tutorial, but since it is one of the fundamental ones, it is a good idea to repeat it out of a second lecturer's point of view.  
+
=[https://wiki.openfoam.com/index.php?title=Taylor_Couette_flow_by_Andras_Horvath Taylor Couette flow]=
  
=[https://wiki.openfoam.com/index.php?title=Grid_convergence_by_Jozsef_Nagy Grid convergence]=
+
In this short tutorial you will experience your first steady state simulation, where you can directly compare your results with experiments from literature. Here the focus will be on:
 +
 
 +
* case, geometry and mesh setup
 +
* boundary conditions
 +
* steady state simulation
 +
* solution evaluation and post processing
 +
* comparison with theory and experiments from literature
 +
 
 +
=[https://wiki.openfoam.com/T-junction_by_Bahram_Haddadi_and_colleagues Residence time distribution]=
 +
 
 +
Use the simpleFoam and scalarTransportFoam to simulate the flow through a square cross section T pipe and calculate RTD (Residence Time Distribution) for both inlets using a step function injection.
 +
 
 +
* Understanding RTD calculation using OpenFOAM
 +
* Using multiple solver for a simulation
 +
 
 +
=[https://wiki.openfoam.com/index.php?title=Visualization_by_Joel_Guerrero Scientific visualization with paraview]=
  
In this video you will learn the importance of grid resolution and its effect onto your results.
+
In this tutorial you will get a deep understanding on the scientific postprocessing and visualization of results in Paraview.  
  
=[https://wiki.openfoam.com/index.php?title=Transport_equation_by_Jozsef_Nagy Transport equation]=
+
The following topics will be covered:
  
Here you will get a basic idea on the structure of the equations, which are solved in CFD.
+
* Postprocessing
 +
* ParaView in a nutshell
 +
* ParaView vs. paraFoam
 +
* ParaView GUI overview
 +
* Basic usage – Sources and filters
 +
* Scientific visualization with paraFoam/ParaView
  
=[https://wiki.openfoam.com/index.php?title=T-junction_by_Bahram_Haddadi_and_colleagues T-junction]=
+
=[https://wiki.openfoam.com/Sampling_by_Bahram_Haddadi_and_colleagues Sampling]=
  
In this tutorial you will try a simple simulation with the your newly acquired knowledge on CFD in OpenFOAM.
+
Simulate the flow along a shock tube for 0.007 s and use OpenFOAM sampling utility for extracting the data along a line during the simulation and after the simulation.
  
=[https://wiki.openfoam.com/index.php?title=Visualization_by_Joel_Guerrero Visualization 1]=
+
* Understand the function of sampling and how to use the sampling utility
  
In this tutorial you will get a deep understanding on the scientific visualization of results in Paraview.  
+
=[https://wiki.openfoam.com/Swak4Foam_and_PyFoam_by_Bruno_Santos Auxiliary Postprocessing]=
  
=[https://wiki.openfoam.com/index.php?title=Visualization_by_Stefan_Radl Visualization 2]=
+
In this tutorial your will find useful information on how to postprocess your simulation results with the tools swak4Foam and PyFoam.
  
In this video you will get a summary of scientific visualization of results i Paraview.
+
=End of Day 2=
  
=[https://wiki.openfoam.com/index.php?title=Case_details_by_Stefan_Radl Case details]=
+
Thank you for finishing the second day. We hope, that you are still having fun. Let's continue tomorrow with Day 3.  
  
Here you will get a summary of the case setup in OpenFOAM.
+
Now let's take a rest.

Latest revision as of 22:05, 3 October 2018

Welcome back to Day 2. Today is all about widening and extending our experience in OpenFOAM. Yesterday we learned a lot about the basic work flow and simple mesh creation, today we will start going into the depth of OpenFOAM and go through the entire CFD workflow until postprocessing. We will focus in

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

Go back to "3 weeks" series.

Grid convergence

By now, you should be familiar to the basics of OpenFOAM. Let us continue with some general CFD topics, still covered in OpenFOAM. In this video you will learn the importance of grid resolution and its effect onto your results. The pdf version can be found here.

  • field initialization with setFields
  • mesh refinement with blockMesh
  • simulation of a 1D shock tube case
  • influence of mesh refinement on the simulation results
  • postprocessing

Transport equation

Another important general topic is the general transport equation. Here, you will get a basic idea on the structure of the equations, which are solved in CFD and also in OpenFOAM. The pdf version can be found here.

  • the solver
  • case setup
  • transport phenomena like convection and diffusion
  • influence of constants
  • simulation of scalar transport
  • post processing

Taylor Couette flow

In this short tutorial you will experience your first steady state simulation, where you can directly compare your results with experiments from literature. Here the focus will be on:

  • case, geometry and mesh setup
  • boundary conditions
  • steady state simulation
  • solution evaluation and post processing
  • comparison with theory and experiments from literature

Residence time distribution

Use the simpleFoam and scalarTransportFoam to simulate the flow through a square cross section T pipe and calculate RTD (Residence Time Distribution) for both inlets using a step function injection.

  • Understanding RTD calculation using OpenFOAM
  • Using multiple solver for a simulation

Scientific visualization with paraview

In this tutorial you will get a deep understanding on the scientific postprocessing and visualization of results in Paraview.

The following topics will be covered:

  • Postprocessing
  • ParaView in a nutshell
  • ParaView vs. paraFoam
  • ParaView GUI overview
  • Basic usage – Sources and filters
  • Scientific visualization with paraFoam/ParaView

Sampling

Simulate the flow along a shock tube for 0.007 s and use OpenFOAM sampling utility for extracting the data along a line during the simulation and after the simulation.

  • Understand the function of sampling and how to use the sampling utility

Auxiliary Postprocessing

In this tutorial your will find useful information on how to postprocess your simulation results with the tools swak4Foam and PyFoam.

End of Day 2

Thank you for finishing the second day. We hope, that you are still having fun. Let's continue tomorrow with Day 3.

Now let's take a rest.