Difference between revisions of "OpenFOAM/C3/Creating-and-Meshing-aerofoil-in-Gmsh/English"
(Created page with 'Tutorial: Creating and Meshing an airfoil in Gmsh Script and Narration: Gautam Sharma Keywords: Gmsh, Meshing, airfoil. {| style="border-spacing:0;" | style="border-top:…') |
|||
Line 1: | Line 1: | ||
Tutorial: Creating and Meshing an airfoil in Gmsh | Tutorial: Creating and Meshing an airfoil in Gmsh | ||
− | |||
Script and Narration: Gautam Sharma | Script and Narration: Gautam Sharma | ||
− | Keywords: Gmsh, Meshing, airfoil. | + | Keywords: Gmsh, Meshing, airfoil.''' ''' |
− | + | ||
{| style="border-spacing:0;" | {| style="border-spacing:0;" | ||
− | | style="border | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| <center>Visual Cue</center> |
− | | style="border: | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| <center>Narration</center> |
|- | |- | ||
− | | style="border-top: | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide 1 |
− | | style="border-top: | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Hello and welcome to the spoken tutorial on '''Creating and Meshing an airfoil in Gmsh''' |
|- | |- | ||
− | | style="border-top: | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide 2 : Learning Objectives |
− | | style="border-top: | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| In this tutorial we will learn |
* How to create an airfoil using Gmsh | * How to create an airfoil using Gmsh | ||
Line 30: | Line 28: | ||
|- | |- | ||
− | | style="border-top: | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide 2: Pre-requisite |
− | | style="border-top: | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| To practice this tutorial the user should have basic knowledge of '''Airfoil '''and '''Gmsh.''' |
Line 37: | Line 35: | ||
|- | |- | ||
− | | style="border-top: | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide 3: |
System Requirement | System Requirement | ||
− | | style="border-top: | + | | style="border:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| To record this tutorial, I am using |
* '''Ubuntu Linux''' Operating system version 13.10. and | * '''Ubuntu Linux''' Operating system version 13.10. and | ||
Line 48: | Line 46: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide 4: About Airfoil |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Let me introduce you to aerofoil. |
Line 61: | Line 59: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Show the airfoil |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| This is the geometry of an airfoil. |
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide 5 : |
The dat file | The dat file | ||
Line 80: | Line 78: | ||
Go to desktop | Go to desktop | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| The predefined coordinates for airfoil are available in simple text file with .dat extension. |
− | + | ||
We will download the .dat file and python script from this url: | We will download the .dat file and python script from this url: | ||
Line 100: | Line 97: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Open '''naca5012xyz.dat''' file |
Open Python script | Open Python script | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Let me show you the .dat file. |
Line 122: | Line 119: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Open the terminal |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Press '''alt ctrl''' and '''T '''key simultaneously to open the '''terminal.''' |
Line 135: | Line 132: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Run the python Script |
python dat2gmsh.py naca5012xyz.dat | python dat2gmsh.py naca5012xyz.dat | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Now type '''python''' space '''dat2gmsh.py''' space '''naca5012xyz.dat''' |
Line 144: | Line 141: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Open naca5012xyz.dat.geo |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Let me show you the file. |
Line 151: | Line 148: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Open file in gmsh |
Line 158: | Line 155: | ||
Close the gmsh | Close the gmsh | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| In the terminal type gmsh space '''naca5012xyz.dat.geo '''and press enter. |
Line 170: | Line 167: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Open the .geo file with text editor again |
Add the point | Add the point | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Go back to the .'''geo''' file. Scroll down to the bottom. |
Line 185: | Line 182: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Modify the '''spline''' |
Open '''.geo''' file in gmsh | Open '''.geo''' file in gmsh | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Modify the '''spline '''to add the new point |
'''Spline(1000) = {1000:1046,1000};''' | '''Spline(1000) = {1000:1046,1000};''' | ||
Line 199: | Line 196: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Set up a boundary around the airfoil |
Line 212: | Line 209: | ||
(-4 3 0) | (-4 3 0) | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Now we will make a boundary for the airfoil. |
Line 226: | Line 223: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Join the points by Straight lines |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Now join the points with straight line |
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Define the surface |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Click on '''Plane surface. '''Select the surface boundary |
Line 237: | Line 234: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Select the '''aerofoil''' |
Press e to end selection | Press e to end selection | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Zoom in and select the '''airfoil''' as the hole boundary. |
Line 247: | Line 244: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Extrude the surface |
− | | style="border-top:none;border-bottom: | + | |
+ | |||
+ | Translate>extrude surface | ||
+ | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Now we will extrude the surface to make it 3D | ||
Line 257: | Line 257: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Enter the coordinates for Z direction |
Line 264: | Line 264: | ||
Move the geometry | Move the geometry | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Since we want to extrude the surface in positive Z direction. |
The Z component is kept as 1 | The Z component is kept as 1 | ||
Line 278: | Line 278: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Generate the mesh |
Go to Mesh>3D | Go to Mesh>3D | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Now we will do the meshing. Gmsh automaticaly generates the mesh of the defined geometry. |
Line 291: | Line 291: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Refine the mesh |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| We can also refine the mesh by clicking on the '''Refine by Splitting '''in the mesh menu. |
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Save you work |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Now let us save our work. |
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Click on save as |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Go to '''File''' menu and click on '''Save mesh.''' |
We will name our file as '''airfoil.msh''' | We will name our file as '''airfoil.msh''' | ||
Line 308: | Line 308: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide : Assignment |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| This brings us to the end of the tutorial. |
Line 315: | Line 315: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide : Summary |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| In this tutorial we learnt : |
Line 328: | Line 328: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide : About Spoken tutorials |
− | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Watch the video available at this URL: | |
− | About Spoken tutorials | + | |
− | | style="border-top:none;border-bottom: | + | |
http://spoken-tutorial.org/What_is_a_Spoken_Tutorial | http://spoken-tutorial.org/What_is_a_Spoken_Tutorial | ||
Line 340: | Line 338: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide: About Spoken tutorials |
− | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| The Spoken Tutorial Project Team | |
− | About Spoken tutorials | + | |
− | | style="border-top:none;border-bottom: | + | |
-Conducts workshops using spoken tutorials | -Conducts workshops using spoken tutorials | ||
Line 354: | Line 350: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Slide: |
Acknowledgement | Acknowledgement | ||
Line 360: | Line 356: | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| Spoken Tutorials are part of Talk to a Teacher project, |
It is supported by the National Mission on Education through ICT, MHRD, Government of India. | It is supported by the National Mission on Education through ICT, MHRD, Government of India. | ||
Line 369: | Line 365: | ||
|- | |- | ||
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| About the contributor |
− | | style="border-top:none;border-bottom: | + | | style="border-top:none;border-bottom:1pt solid #000001;border-left:1pt solid #000001;border-right:1pt solid #000001;padding-top:0cm;padding-bottom:0cm;padding-left:0.191cm;padding-right:0.191cm;"| This is Gautam Sharma from IIT BOMBAY signing off. |
Thanks for joining. | Thanks for joining. | ||
|} | |} |
Revision as of 13:25, 7 August 2014
Tutorial: Creating and Meshing an airfoil in Gmsh
Script and Narration: Gautam Sharma
Keywords: Gmsh, Meshing, airfoil.
|
|
Slide 1 | Hello and welcome to the spoken tutorial on Creating and Meshing an airfoil in Gmsh |
Slide 2 : Learning Objectives
|
In this tutorial we will learn
|
Slide 2: Pre-requisite | To practice this tutorial the user should have basic knowledge of Airfoil and Gmsh.
|
Slide 3:
System Requirement |
To record this tutorial, I am using
|
Slide 4: About Airfoil
|
Let me introduce you to aerofoil.
|
Show the airfoil | This is the geometry of an airfoil. |
Slide 5 :
The dat file
|
The predefined coordinates for airfoil are available in simple text file with .dat extension.
We will download the .dat file and python script from this url: http://community.dur.ac.uk/g.l.ingram/download.php
|
Open naca5012xyz.dat file
|
Let me show you the .dat file.
|
Open the terminal
|
Press alt ctrl and T key simultaneously to open the terminal.
|
Run the python Script
python dat2gmsh.py naca5012xyz.dat |
Now type python space dat2gmsh.py space naca5012xyz.dat
|
Open naca5012xyz.dat.geo | Let me show you the file.
|
Open file in gmsh
|
In the terminal type gmsh space naca5012xyz.dat.geo and press enter.
|
Open the .geo file with text editor again
|
Go back to the .geo file. Scroll down to the bottom.
Point(1046) = { 1.005, -0.0005, 0.00000, nac_lc}; |
Modify the spline
|
Modify the spline to add the new point
Spline(1000) = {1000:1046,1000}; Save and close the file.
|
Set up a boundary around the airfoil
(4 -3 0) (-4 -3 0) (-4 3 0) |
Now we will make a boundary for the airfoil.
(4 3 0) (4 -3 0) (-4 -3 0) (-4 3 0) |
Join the points by Straight lines | Now join the points with straight line |
Define the surface | Click on Plane surface. Select the surface boundary
|
Select the aerofoil
|
Zoom in and select the airfoil as the hole boundary.
|
Extrude the surface
|
Now we will extrude the surface to make it 3D
|
Enter the coordinates for Z direction
|
Since we want to extrude the surface in positive Z direction.
The Z component is kept as 1
|
Generate the mesh
|
Now we will do the meshing. Gmsh automaticaly generates the mesh of the defined geometry.
|
Refine the mesh | We can also refine the mesh by clicking on the Refine by Splitting in the mesh menu. |
Save you work | Now let us save our work. |
Click on save as | Go to File menu and click on Save mesh.
We will name our file as airfoil.msh
|
Slide : Assignment | This brings us to the end of the tutorial.
|
Slide : Summary
|
In this tutorial we learnt :
|
Slide : About Spoken tutorials | Watch 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: 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 contact@spoken-tutorial.org |
Slide:
Acknowledgement
|
Spoken Tutorials are part of Talk to a Teacher project,
It is supported by the National Mission on Education through ICT, MHRD, Government of India. This project is coordinated by http://spoken-tutorial More information on the same is available at the following URL link http://spoken-tutorial.org/NMEICT-Intro |
About the contributor | This is Gautam Sharma from IIT BOMBAY signing off.
Thanks for joining. |