OpenFOAM/C3/Turbulent-Flow-in-a-Lid-driven-Cavity/English
Tutorial: Turbulent flow in a lid driven cavity
Script : Chaitanya Talnikar, Shekhar Mishra , Rahul Joshi
Narration : Rahul Joshi
Keywords: Video tutorial ,CFD,Turbulent Flow in Lid driven cavity,OpenFOAM.
|
|
Slide 1: | Hello and welcome to the spoken tutorial on modelling Turbulent flow in a Lid Driven Cavity using OpenFOAM |
Slide 2:
|
In this tutorial I will show you
|
Slide 3:
|
To record this tutorial I am using
|
Slide 4:
System Requirement
|
|
Slide 5 :
|
To practice this tutorial you should have some basic knowledge of
|
Demo:
Set up working Directory
|
This problem is identical in geometry and boundary condition to the 'Lid Driven Cavity' problem discussed in the basic level tutorial.
|
Slide 6: Solver | We are using a Transient solver for incompressible turbulent flow of Newtonian fluids called as pisoFoam |
Steps in setting up the problem | Now let us open the Terminal window by pressing Ctrl+Atl+T keys together |
In the terminal window
Type cd tutorials |
In the terminal window type run and press Enter.
|
Type cd incompressible | Now type cd space incompressible and press Enter. |
Type cd pisoFoam | Now type cd space pisoFoam (Note that F here is capital ) and press Enter |
Type ls
|
Now type ls and press Enter.
|
Type cd ras
|
Our folder name is cavity.
|
Type cd cavity
ls |
You can see the cavity folder. Let me clear this off.
|
Point to the 3 folders
Boundary and Initial conditions
|
You can see three folders 0, constant and system.
|
Inside the 0 folder
|
To do this, in the command terminal type cd space 0 and press Enter.
|
Point to the files as per narration | You can see the files named as epsilon, k, nut, nutilda, p, R and U.
|
Type cd.. | Now type cd space dot dot and press Enter.
|
Type cd constant
Type ls |
Let us open the constant folder.
|
PolyMesh folder and fluid property files | In this you will see the polyMesh folder containing
|
Point to the two files as per narration | In this case you will see two more files other than transportProperties named as RASProperties and turbulenceProperties.
|
RASProperties | In the terminal type gedit (space) RASProperties and press Enter.
|
turbulentProperties | Now in the command terminal, type gedit space turbulentproperties and press Enter.
|
TransportModel
|
Now let us open the transportProperties model.
|
Do not change the blockMeshDict file
|
We are not changing the geometry in this case.
|
Type cd.. | In the terminal type cd space dot dot and press Enter.
|
Meshing the geometry
|
Now, we are done with the setup.
|
Running the solver : pisoFoam | Now we can run the solver.
|
Post-processing the results in paraview | The iterations running will stop at the end of the time step.
|
View the geometry
|
On the left hand side in the Object Inspector menu click on Apply.
|
Click on the Play button on VCR control for animation
|
Now on top of the ParaView window you can see the VCR control.
|
Visualise the streamlines
|
Now to visualise the stream lines
|
Streamlines on top | On the left hand side of the Object inspector menu you can see Apply. Click on it.
|
Streamlines view | You can also change the orientation in which the stream lines are viewed.
|
Shift to right >> change point source to line source. | Let me shift this to the right and change from point source to line source. |
Plot streamlines about X, Y and Z axis
Click on the X axis Delete this. |
You can see the X, Y and Z axes which are visible.
|
Plot data over line
|
You can also plot the velocity along X and Y axis using plot over line.
To do this go to Filter > Data Analysis and Plot over line. Save the data as dot csv file from the file menu. Click on Save Data. |
Plot the results
For Re= 10000 |
You can plot this data in libre office spreadsheet or any other plotting software of your choice.
Now let me switch back to the slides. The results obtained can be validated by using results of Ghia et.al for Reynolds Number , Re is equal to 10000 |
Slide 7:
Summary |
That's all we have in this tutorial.
Let us summarise.
This brings us to the end of the tutorial. |
Slide 8: Assignment | As an assignment
|
http://spoken-tutorial.org/What_is_a_Spoken_Tutorial
| |
The Spoken Tutorial Project Team
-Conducts workshops using spoken tutorials -Gives certificates to those who pass an online test -For more details, please write to contact@spoken-tutorial.org | |
Slide 9:
Forum to answer questions
|
|
Slide 10:
Forum to answer questions
|
|
Slide 11:
Lab Migration Project
For more details visit this site: http://cfd.fossee.in/ |
|
Slide 12:
Case Study Project
For more details visit this site: http://cfd.fossee.in/ |
|
Slide 13: Acknowledgements | Spoken Tutorials project is a part of the Talk to a Teacher project.
It is supported by the National Mission on Education through ICT, MHRD, Government of India. More information on the this mission is available at this URL http://spoken-tutorial.org/NMEICT-Intro |
About the contributor | The script is contributed by Shekhar Mishra and Chaitanya talnikar
This is Rahul Joshi from IIT BOMBAY signing off. Thanks for joining |