|
[Sponsors] |
July 2, 2013, 10:13 |
Generating Mesh - NACA0012 Airfoil
|
#1 |
New Member
Cay Myers
Join Date: Jun 2013
Posts: 14
Rep Power: 13 |
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! |
|
July 2, 2013, 10:41 |
|
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,267
Blog Entries: 1
Rep Power: 25 |
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: http://www.cfd-online.com/Forums/ope...-aerofoil.html or http://www.cfd-online.com/Forums/ope...-naca0012.html in brief, you have two choice: 1- using blockMesh ( create a Cmesh around airfoil) 2-uisng snappyHexMesh if you have stl file
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
July 2, 2013, 10:45 |
|
#3 |
New Member
Cay Myers
Join Date: Jun 2013
Posts: 14
Rep Power: 13 |
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.
|
|
July 25, 2013, 07:57 |
|
#4 |
Senior Member
Hassan Kassem
Join Date: May 2010
Location: Germany
Posts: 242
Rep Power: 18 |
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. |
|
Tags |
airfoil mesh, blockmeshdict, naca0012 |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Other] mesh airfoil NACA0012 | anand_30 | OpenFOAM Meshing & Mesh Conversion | 13 | March 7, 2022 18:22 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation | tommymoose | ANSYS Meshing & Geometry | 48 | April 15, 2013 05:24 |
[snappyHexMesh] How to Do External Mesh for Airfoil sHM | msuaeronautics | OpenFOAM Meshing & Mesh Conversion | 1 | September 23, 2012 05:00 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |