Difference between revisions of "OpenFOAM/C2/Supersonic-flow-over-a-wedge/English"
Nancyvarkey (Talk | contribs) m (moved OpenFOAM/C2/Supersonic-flow-over-a-wedge-using-OpenFOAM/English to OpenFOAM/C2/Supersonic-flow-over-a-wedge/English: Name too long) |
|||
Line 47: | Line 47: | ||
'''ParaView version 3.12.0''' | '''ParaView version 3.12.0''' | ||
+ | |||
+ | |||
+ | |- | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Slide: | ||
+ | |||
+ | System Requirement | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| The tutorials were recorded using the versions specified in previous slide | ||
+ | |||
+ | Subsequently the tutorials were edited to latest versions | ||
+ | |||
+ | To install latest system requirements go to Installation Sheet | ||
+ | |||
|- | |- | ||
Line 546: | Line 558: | ||
If you do not have good bandwidth, you can download and watch it. | If you do not have good bandwidth, you can download and watch it. | ||
+ | |||
+ | |- | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Slide: | ||
+ | |||
+ | Forum to answer questions | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Do you have questions on THIS Spoken Tutorial? | ||
+ | Choose the minute and second where you have the question | ||
+ | Explain your question briefly | ||
+ | Someone from the FOSSEE team will answer them. Please visit | ||
+ | http://forums.spoken-tutorial.org/ | ||
+ | |||
+ | |- | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Slide: | ||
+ | |||
+ | Forum to answer questions | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| Questions not related to the Spoken Tutorial? | ||
+ | Do you have general/technical questions on the Software? | ||
+ | Please visit the FOSSEE forum | ||
+ | http://forums.fossee.in/ | ||
+ | Choose the Software and post your question | ||
+ | |||
+ | |||
+ | |- | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Slide: | ||
+ | |||
+ | Lab Migration Project | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| We coordinate migration from commercial CFD software like ANSYS to OpenFOAM | ||
+ | We conduct free Workshops and provide solutions to CFD Problem Statements in OpenFOAM | ||
+ | For more details visit this site: | ||
+ | http://cfd.fossee.in/ | ||
+ | |||
+ | |||
+ | |- | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:none;padding:0.097cm;"| Slide: | ||
+ | |||
+ | Case Study Project | ||
+ | | style="border-top:none;border-bottom:0.05pt solid #000000;border-left:0.05pt solid #000000;border-right:0.05pt solid #000000;padding:0.097cm;"| We invite students to solve a feasible CFD problem statement of reasonable complexity using OpenFOAM | ||
+ | We give honorarium and certificate to those who do this | ||
+ | For more details visit this site: | ||
+ | http://cfd.fossee.in/ | ||
+ | |||
+ | |||
|- | |- |
Revision as of 14:32, 11 April 2019
Tutorial:Supersonic flow over a wedge using OpenFOAM
Script : Arvind N
Narration: Rahul Joshi
Keywords: Video tutorial,CFD,Wedge,Mach number,Compressible flows.
Visual Cue | Narration |
Slide 1 | Hello and welcome to the spoken tutorial on Supersonic flow over a wedge using OpenFOAM |
Slide 2: Learning Objectives | In this tutorial I will show you
|
Slide 3:
System Requirement |
To record this tutorial
|
Slide:
System Requirement |
The tutorials were recorded using the versions specified in previous slide
Subsequently the tutorials were edited to latest versions To install latest system requirements go to Installation Sheet
|
Slide 4
Prerequisites |
To practice this tutorial a learner should have some basic knowledge of
|
Slide 5 : | Let us now solve supersonic flow over a wedge using OpenFOAM and
|
Slide 5 : | The problem consists of a wedge
|
Inlet velocity 5m/s | Inlet velocity is 5 meters per second |
Boundary conditions as shown in the figure | The boundary conditions are set as shown in the figure
|
Slide 6 : Solver | The type of solver I am using here is rhoCentralFoam |
It is a Density-based compressible flow solver
| |
Switch to the Terminal by Ctrl+Alt+T | Open a command terminal
|
In the terminal type path for supersonic flow over a wedge | |
In command terminal:
Type run and press enter
|
In the terminal Type 'run' and press enter |
Type cd tutorial and press enter | Now type cd tutorial - Press Enter |
Type cd compressible - Press Enter | cd compressible - Press Enter |
Type cd rhoCentralFoam - Press Enter | cd rhoCentralFoam - Press Enter |
Type cd wedge and press enter | cd wedge15Ma5 and press enter |
This is the name of the folder of supersonic flow over a wedge in rhoCentralFoam
| |
Type ls | now type ls and press enter |
You will see three folders : 0,constant and system. | |
Type cd constant and press enter | Now open the blockMeshDict file,
|
Type cd polyMesh and press enter | cd space polyMesh
|
Type ls and press enter | Now type ls and press enter
|
Type gedit blockMeshDict and press enter | type gedit space blockMeshDict
note that M and D here are capital
|
let me drag this to the capture area
| |
enter the data in vertices but it i already set up in the problem | In this you need to calculate the co-ordinates for the wedge
|
The rest of the data remain the same | |
Boundary names similar to that in slide 5 | In boundary patches the boundaries are set as shown in the figure |
Close the blockMeshDict file | |
type : cd .. (twice) and press enter
|
in the command terminal
|
Now Open the 0 folder | |
Type cd 0 and press enter | To do this type
|
type ls and press enter | type ls and press enter |
this contains initial boundary condition for pressure,velocity and Temprature | |
type cd .. and press enter | type cd .. (dot dot) and press enter |
Now we need to mesh the geometry | |
Mesh the geometry
type: blockMesh |
To do this in the command terminal
|
Terminal : type paraFoam and press enter | Now to view the geometry in the terminal
|
Paraview window | On the left hand side of object inspector menu click APPLY |
About wedge geometry | In this you can see the geometry is which is a rectangular
|
Now run the solver 'rhoCentralFoam' | |
Terminal : rehoCentralFoam and press enter | To do this in the command terminal
|
Iterations in terminal window | The iterations running can be seen in the
|
Iterations running will stop after it converges
| |
open paraview
|
To visualise these results let us open the
|
type: paraFoam and press enter | In the command terminal
|
Click APPLY in object inspector menu | Again on the left hand side of
|
Solid geometry in drop down menu
|
On the left side top in active variable control menu
|
Make the color legend ON | Now make the color legend ON
|
On top of the paraview window you can see the VCR control
| |
In the paraview window | You can see the final results of U velocity |
In object inspector menu | Now scroll down the
|
Click on rescale to size | Scroll down and click on Rescale to Size |
You can see the final value of Velocity magnitude | |
Slect pressure in drop dwon menu (p)
|
Similarly you can select pressure
|
Calculate the Mach number
|
You can also calculate the Mach number for the flow
|
Type mach in terminal
|
Type Mach in the command terminal
|
Open paraview window
|
Now again open the paraview window
|
In object inspector menu
check the Ma check box
|
scroll down
|
In VCR control click on play button
|
In the VCR control menu click on PLAY
|
In paraview window | You can see the Mach number in the color legend
|
Slide : For validation | Let me switch back to the slides
solution
|
Slide ; Summary | In this tutorial we learnt:
|
Slide 9 : Assignment | Assignment:
|
Slide 10:
About Spoken tutorials |
The video available at this URL:
http://spoken-tutorial.org/What_is_a_Spoken_Tutorial It summarizes the Spoken Tutorial project. If you do not have good bandwidth, you can download and watch it. |
Slide:
Forum to answer questions |
Do you have questions on THIS Spoken Tutorial?
Choose the minute and second where you have the question Explain your question briefly Someone from the FOSSEE team will answer them. Please visit http://forums.spoken-tutorial.org/ |
Slide:
Forum to answer questions |
Questions not related to the Spoken Tutorial?
Do you have general/technical questions on the Software? Please visit the FOSSEE forum http://forums.fossee.in/ Choose the Software and post your question
|
Slide:
Lab Migration Project |
We coordinate migration from commercial CFD software like ANSYS to OpenFOAM
We conduct free Workshops and provide solutions to CFD Problem Statements in OpenFOAM For more details visit this site: http://cfd.fossee.in/
|
Slide:
Case Study Project |
We invite students to solve a feasible CFD problem statement of reasonable complexity using OpenFOAM
We give honorarium and certificate to those who do this For more details visit this site: http://cfd.fossee.in/
|
Slide 11:
About Spoken tutorials |
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 us at contact@spoken-tutorial.org |
Slide 12:
Acknowledgement |
Spoken Tutorials are part of Talk to a Teacher project,
More information on the same is available at the following URL link http://spoken-tutorial.org/NMEICT-Intro |
About the contributor | This script has been contributed by Arvind M
and this is Rahul Joshi from IIT BOMBAY signing off. Thanks for joining. |