CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Meshing & Mesh Conversion

Generating Mesh - NACA0012 Airfoil

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 2, 2013, 09:13
Default Generating Mesh - NACA0012 Airfoil
  #1
New Member
 
Cay Myers
Join Date: Jun 2013
Posts: 14
Rep Power: 3
baila12 is on a distinguished road
I am trying to generate a mesh of a NACA0012 airfoil and then run a case with water and air running over the airfoil. I have an stl file of the airfoil and have attempted to convert this to a blockMeshDict file to be able to modify the airFoil2D tutorial case and use blockMesh to generate the mesh, but haven't had any luck. I am very new to OpenFOAM and CFD concepts, so I may be going about this entirely the wrong way. I am using Ubuntu 12.04 and OpenFOAM-2.2.0.
Any help pointing me in the right direction, such as how to correctly generate the mesh, what solvers to use, etc., would be greatly appreciated!
baila12 is offline   Reply With Quote

Old   July 2, 2013, 09:41
Default
  #2
Senior Member
 
Nima Sam
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,048
Blog Entries: 1
Rep Power: 13
nimasam is on a distinguished road
Send a message via Yahoo to nimasam
welcome to forum

first of all, you can find your solution faster by search in forum, forexample search airfoil,
NACA and so on , i made it for you, and some interesting link is below:

OpenFOAM mesh generation of an aerofoil
or
mesh airfoil NACA0012

in brief, you have two choice:
1- using blockMesh ( create a Cmesh around airfoil)
2-uisng snappyHexMesh if you have stl file
__________________
Training Course on OpenFOAM at (http://www.isme.ir/)
My Weblog (http://openfoam.blogfa.com/)
nimasam is offline   Reply With Quote

Old   July 2, 2013, 09:45
Default
  #3
New Member
 
Cay Myers
Join Date: Jun 2013
Posts: 14
Rep Power: 3
baila12 is on a distinguished road
Thanks for the quick reply, although I have already searched the forum and have read both of those threads. Either the person who posted the thread had some information previously that I did not have or there were parts of the given solution that I didn't understand, so that's why I decided to post my own question.
baila12 is offline   Reply With Quote

Old   July 25, 2013, 06:57
Default
  #4
Member
 
Hassan Kassem
Join Date: May 2010
Posts: 38
Rep Power: 6
hk318i is on a distinguished road
I think you should follow the wingMotion tutorial. You could find it under incompressible/pimpleDyMFoam.
Check the Allrun file.

Basically, you will have to follow the following steps;
1 - Generate .stl file using any CAD program like FreeCAD.
2 - Create background mesh using blockMesh
3 - Using snappyHexMesh to create your mesh
4 - use extrudeMesh to create 2D mesh

And to achieve a good yPlus value for your case you could use refineWallLayer

Also you could use blockMesh only which I am not prefer. I use it only for simple cases.
hk318i is offline   Reply With Quote

Reply

Tags
airfoil mesh, blockmeshdict, naca0012

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 06:20
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 04:24
How to Do External Mesh for Airfoil sHM msuaeronautics OpenFOAM Native Meshers: snappyHexMesh and Others 1 September 23, 2012 04:00
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 03:52
mesh airfoil NACA0012 anand_30 OpenFOAM Meshing & Mesh Conversion 12 December 12, 2011 04:16


All times are GMT -4. The time now is 18:24.