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

OpenFOAM mesh generation of an aerofoil

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

Like Tree13Likes

Reply
 
LinkBack Thread Tools Display Modes
Old   January 23, 2013, 05:33
Default OpenFOAM mesh generation of an aerofoil
  #1
New Member
 
Thomas
Join Date: Jan 2013
Posts: 4
Rep Power: 3
Thomas Jacob is an unknown quantity at this point
Please suggest a method to generate an aerofoil profile using random points in OpenFOAM.Kindly help me as I am a beginner in OpenFOAM.This is a part of my final year project.
Thomas Jacob is offline   Reply With Quote

Old   January 23, 2013, 05:46
Default
  #2
Member
 
Robert
Join Date: Aug 2012
Location: Berlin
Posts: 74
Rep Power: 4
vainilreb is on a distinguished road
Hi Thomas,

I don't know if this is the best way to do it, but there are several NACA generators, like this one. It creates the point coordinates for you. Then you could use gmsh to create the geometry. Make a small slice, if you want to do it in 2D. Then mesh it, save the mesh as an stl surface mesh and create a hexagonal mesh with snappyhexmesh.
Or simply generate a tetragonal mesh with gmsh.
I did this for a project at university two years ago and it worked out fine.

Best regards,

Robert
vainilreb is offline   Reply With Quote

Old   January 25, 2013, 04:16
Default
  #3
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 445
Rep Power: 14
linnemann will become famous soon enough
Hi

you can try this pre-Alpha software http://sourceforge.net/projects/cmeshfoil/

It might do what you want but I dont know if its working properly as I havent tested.
JR22 likes this.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   January 25, 2013, 05:40
Default
  #4
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 577
Blog Entries: 5
Rep Power: 13
elvis is on a distinguished road
Hi,

maybe sourcecode from http://sourceforge.net/projects/bladedesigner/ can be changed for your need as well. It was made to create mesh for OpenFoam at least and (python)scripting capabilaties are included.

Others looked at Salome http://www.salome-platform.org/forum/forum_10/367832063

alternative Salome =>pythonflu http://pythonflu.wikidot.com/hybridflu => OF

Or Blender http://openfoamwiki.net/index.php/Tut_andrew_blender

http://jak-o-shadows.users.sourcefor...blairfoil.html

Blender can be imported into engrid

Last edited by elvis; January 25, 2013 at 05:57.
elvis is offline   Reply With Quote

Old   January 25, 2013, 06:55
Default
  #5
Senior Member
 
Håkon Strandenes
Join Date: Dec 2011
Location: Norway
Posts: 111
Rep Power: 10
haakon will become famous soon enough
You might want to have a look at the scripts posted here: https://www.hpc.ntnu.no/display/hpc/...l+Calculations which describe the meshing around a NACA 4-digit airfoil.

There are two scripts: one that make an STL-file that you can use in combination with snappyHexMesh, and one that makes a blockMeshDict-file for a C-mesh. They both have their advantages and disadvantages, and you should probably play around with both if you are not very familiar with OpenFOAM.
haakon is offline   Reply With Quote

Old   April 14, 2013, 13:54
Default
  #6
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
hi
how to download and compile cMeshFoam and bladeDesigner?
immortality is offline   Reply With Quote

Old   April 15, 2013, 14:30
Default
  #7
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 445
Rep Power: 14
linnemann will become famous soon enough
Hi

Found this awesome page but I do not know who created it.
Please let the author cometh forth to get our appraisal.

Well basically it can create a blockMesh dict file for a blade geometry.

http://hvirvel.dk/airfoilmesher/

Try it out.
s.m, achyutan, immortality and 1 others like this.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Old   July 29, 2013, 11:05
Default
  #8
Senior Member
 
MadsR's Avatar
 
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 175
Rep Power: 8
MadsR is on a distinguished road
Thanks for the kind words

I made it some years ago - it has its flaws I am sure, but seems to be used quite a bit. You are of course most welcome to send me feedback.

Mads


Quote:
Originally Posted by linnemann View Post
Hi

Found this awesome page but I do not know who created it.
Please let the author cometh forth to get our appraisal.

Well basically it can create a blockMesh dict file for a blade geometry.

http://hvirvel.dk/airfoilmesher/

Try it out.
ngj and immortality like this.
__________________
Online free airfoil-mesher for OpenFOAM here
MadsR is offline   Reply With Quote

Old   August 13, 2013, 15:33
Default
  #9
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 5
s.m is on a distinguished road
Quote:
Originally Posted by immortality View Post
hi
how to download and compile cMeshFoam and bladeDesigner?
Ehsan , do you learn how should download and compile cMeshFoam and bladeDesigner?

please tell me if you found
s.m is offline   Reply With Quote

Old   August 13, 2013, 16:39
Default
  #10
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
I downloaded what has come in post #7 (airfoilmesher) Saideh.
it was interesting.you can email the creator if have any questions.
s.m likes this.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   August 14, 2013, 04:55
Default
  #11
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 5
s.m is on a distinguished road
Quote:
Originally Posted by immortality View Post
I downloaded what has come in post #7 (airfoilmesher) Saideh.
it was interesting.you can email the creator if have any questions.
yes i saw that site yesterday , but i can't find how should i download it a last.
s.m is offline   Reply With Quote

Old   August 14, 2013, 05:12
Default
  #12
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
email him:madsreck(at)gmail.com
he replies friendly and quickly
ask him if he could give you the program.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   October 22, 2013, 06:51
Default
  #13
Senior Member
 
MadsR's Avatar
 
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 175
Rep Power: 8
MadsR is on a distinguished road
Just to clarify: there is nothing to download from http://hvirvel.dk/airfoilmesher/ . You just upload your airfoil x,y data and you get a blockMeshDict thrown back in your face

Mads
s.m likes this.
__________________
Online free airfoil-mesher for OpenFOAM here
MadsR is offline   Reply With Quote

Old   October 22, 2013, 08:24
Default
  #14
s.m
Senior Member
 
saeideh mohamadi
Join Date: Aug 2012
Posts: 229
Rep Power: 5
s.m is on a distinguished road
Quote:
Originally Posted by MadsR View Post
Just to clarify: there is nothing to download from http://hvirvel.dk/airfoilmesher/ . You just upload your airfoil x,y data and you get a blockMeshDict thrown back in your face

Mads
Thank you MadsR, but i can't access the site that you have been addressed
s.m is offline   Reply With Quote

Old   October 22, 2013, 09:10
Default
  #15
Senior Member
 
MadsR's Avatar
 
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 175
Rep Power: 8
MadsR is on a distinguished road
Hi saeidehmohamadi,

then there is something wrong with your Internet connection...I just checked from a remote place and it works just fine.

Mads
s.m likes this.
__________________
Online free airfoil-mesher for OpenFOAM here
MadsR is offline   Reply With Quote

Old   October 22, 2013, 11:41
Default
  #16
Senior Member
 
immortality's Avatar
 
Ehsan
Join Date: Oct 2012
Location: Iran
Posts: 2,186
Rep Power: 16
immortality is on a distinguished road
Hello dear MadsR,
I want to have an airfoil with a channel into it(from bottom of attack region to the top of back of airfoil),can it be done with your code?
could you make some corrections in the code and upload in the page?
the channel will be a line,the user can assign thicknes,the start point and the angle of it and your program will make the mesh and return it backto the user.
could it be done without a too much efforts?
thanks.
__________________
Injustice Anywhere is a Threat for Justice Everywhere.Martin Luther King.
To Be or Not To Be,Thats the Question!
The Only Stupid Question Is the One that Goes Unasked.
immortality is offline   Reply With Quote

Old   October 23, 2013, 07:54
Default
  #17
Senior Member
 
MadsR's Avatar
 
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 175
Rep Power: 8
MadsR is on a distinguished road
Ehsan, not really sure what you mean. Anyway I don't think I will customize the mesher much, I am thinking maybe implementing some more general functionality at some point, but not at the moment.

Mads
immortality likes this.
__________________
Online free airfoil-mesher for OpenFOAM here
MadsR is offline   Reply With Quote

Old   September 28, 2014, 06:37
Default
  #18
New Member
 
zahid
Join Date: Sep 2014
Posts: 3
Rep Power: 2
zahid hussain is on a distinguished road
hi plz tall me tha procedure creating airfoil on ansys cfd i have co-ordinates but i dont know how can i creat tha airfoil.....plzzz its argent
zahid hussain is offline   Reply With Quote

Old   May 7, 2015, 07:14
Default Airfoil Meshing
  #19
New Member
 
Romania
Join Date: Dec 2014
Posts: 5
Rep Power: 2
yrganiri is on a distinguished road
Hi everyone,

I am running tests on the RAE2822 transonic airfoil http://www.grc.nasa.gov/WWW/wind/val...af/raetaf.html and I already have a mesh which looks like in the picture (closeup and afar)

I used GMSH to generate the mesh and I would like to do something similar to what I have found in a book online http://www.pdas.com/refs/tm81198.pdf (pages 41 and 43) because I believe I will be getting better results.

Can you help me with that?

My Mesh closeup: gmsh-airfoil.jpg

My Mesh from afar: airfoil_from_afar.jpg

Type 1: airfoil_meshType1.jpg

Type 2: airfoil_meshType2.jpg
yrganiri is offline   Reply With Quote

Old   May 16, 2015, 17:46
Default
  #20
Member
 
Hassan Kassem
Join Date: May 2010
Location: UK
Posts: 80
Rep Power: 7
hk318i is on a distinguished road
I think you mean hexahedral mesh instead of tetrahedral. If that what you mean, you need to use the transfinite algorithm in GMSH. Check the structured mesh tutorials for GMSH.
Also it is possible to mesh it using blockMesh, check this tutorial
https://www.hpc.ntnu.no/display/hpc/...l+Calculations



Quote:
Originally Posted by yrganiri View Post
Hi everyone,

I am running tests on the RAE2822 transonic airfoil http://www.grc.nasa.gov/WWW/wind/val...af/raetaf.html and I already have a mesh which looks like in the picture (closeup and afar)

I used GMSH to generate the mesh and I would like to do something similar to what I have found in a book online http://www.pdas.com/refs/tm81198.pdf (pages 41 and 43) because I believe I will be getting better results.

Can you help me with that?

My Mesh closeup: Attachment 39293

My Mesh from afar: Attachment 39294

Type 1: Attachment 39295

Type 2: Attachment 39296
hk318i is offline   Reply With Quote

Reply

Tags
aerofoils

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
mesh conversion Salome --> OpenFoam vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 38 October 23, 2014 08:42
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 06:42
3d Star CCM+ mesh to OpenFOAM 2d mesh fshak92 OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 2 January 12, 2013 12:39
2D Mesh Generation Tutorial for GMSH aeroslacker Open Source Meshers: Gmsh, Netgen, CGNS, ... 12 January 19, 2012 04:52
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 05:33.