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

[blockMesh] Airfoil mesher

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 16, 2009, 07:02
Default Airfoil mesher
  #1
Senior Member
 
MadsR's Avatar
 
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 17
MadsR is on a distinguished road
Hi.

I've created a small program (for Linux of course) which generates a blockMeshDict file for an O-mesh around a given airfoil. I've just released a preliminary beta version (found here).

It probably needs more debugging, but it works for the simple NACA profile I've tested it with so far (also provided with the link above). I have only tried few profiles with blunt-trailing-edges. I am not sure if it works for infinitely thin trailing edges (i.e. a point).

Todo's include more control over the final mesh (but one can finetune directly in the produced blockMeshDict of course).

Please let me know if you have any comments or if it doesn't work at all.

Cheers,
Mads
__________________
Online free airfoil-mesher for OpenFOAM here
MadsR is offline   Reply With Quote

Old   December 29, 2009, 10:50
Default
  #2
New Member
 
georg's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 17
Rep Power: 17
georg is on a distinguished road
Hi Mads,

i was also working on a mesh generator for NACA or comparable airfoil geometries. I was not able to use your program. Could you please post an image or send it to my adress at the bottom?

I tried the c-shape approach with several boundary layers before morphing the mesh towards an rectangle. If you want to, i can send you some images. Maybe we can share some experience?

boba_f AT gmx DOT de

Best regards,
georg
georg is offline   Reply With Quote

Old   December 29, 2009, 13:07
Default
  #3
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Quote:
Originally Posted by MadsR View Post
Hi.

I've created a small program (for Linux of course) which generates a blockMeshDict file for an O-mesh around a given airfoil. I've just released a preliminary beta version (found here).

It probably needs more debugging, but it works for the simple NACA profile I've tested it with so far (also provided with the link above). I have only tried few profiles with blunt-trailing-edges. I am not sure if it works for infinitely thin trailing edges (i.e. a point).

Todo's include more control over the final mesh (but one can finetune directly in the produced blockMeshDict of course).

Please let me know if you have any comments or if it doesn't work at all.

Cheers,
Mads
Hi MadsR,
I would like to test your code, but I work on 64-bit machines, so its possible to have the sources to recompile it?
Thanks, Ivan!
ivan_cozza is offline   Reply With Quote

Old   January 2, 2010, 10:10
Default
  #4
New Member
 
georg's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 17
Rep Power: 17
georg is on a distinguished road
Quote:
Originally Posted by ivan_cozza View Post
Hi MadsR,
I would like to test your code, but I work on 64-bit machines, so its possible to have the sources to recompile it?
Thanks, Ivan!
Hello Ivan,

do you have a certain airfoil geometry you want to mesh?
If you send me the coordinate list of your profile, i can build a mesh with my tool and send it back to you.

Regards,
georg

boba_f AT gmx DOT de
georg is offline   Reply With Quote

Old   January 3, 2010, 05:54
Default
  #5
Senior Member
 
Ivan Flaminio Cozza
Join Date: Mar 2009
Location: Torino, Piemonte, Italia
Posts: 210
Rep Power: 18
ivan_cozza is on a distinguished road
Send a message via MSN to ivan_cozza
Hi Georg,
do you need the points in any particular order?
For istance, suction side and pressure side in different lists, or points oriented starting from trailing edge, then going up to the leading edge on the suction side, then going back on the pressure side, or something like this? Give me those infos and I send you the stuff!
Thanks, Ivan


Quote:
Originally Posted by georg View Post
Hello Ivan,

do you have a certain airfoil geometry you want to mesh?
If you send me the coordinate list of your profile, i can build a mesh with my tool and send it back to you.

Regards,
georg

boba_f AT gmx DOT de
ivan_cozza is offline   Reply With Quote

Old   January 3, 2010, 12:31
Default
  #6
New Member
 
georg's Avatar
 
Join Date: Mar 2009
Location: Germany
Posts: 17
Rep Power: 17
georg is on a distinguished road
Hi Ivan,
perfect would be a list of points as you mentioned:

Quote:
Originally Posted by ivan_cozza View Post
... points oriented starting from trailing edge, then going up to the leading edge on the suction side, then going back on the pressure side ...
Regards,
Georg
georg is offline   Reply With Quote

Old   January 4, 2010, 02:33
Default
  #7
Senior Member
 
MadsR's Avatar
 
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 17
MadsR is on a distinguished road
Hi.
Thanks for the feedback - I've been away for the holidays. Happy new year!

@georg: Do you get an error, or what is the problem more precisely?
@ivan: The program should be able to run on a 32-bit system, or? :-)

/Mads
__________________
Online free airfoil-mesher for OpenFOAM here
MadsR is offline   Reply With Quote

Old   August 10, 2010, 09:38
Default
  #8
New Member
 
Florian Becker
Join Date: Apr 2010
Posts: 12
Rep Power: 0
draufunddran is on a distinguished road
hallo,

the link above isn't working anymore, but i'm very interested in your little programm.

can you send me the binary and maybe the source? I will send you my email in PM...

greetings,

draufunddran
draufunddran is offline   Reply With Quote

Old   September 21, 2010, 06:29
Default
  #9
Senior Member
 
MadsR's Avatar
 
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 17
MadsR is on a distinguished road
Hi

The link is http://hvirvel.dk/airfoilmesher.

/Mads
__________________
Online free airfoil-mesher for OpenFOAM here
MadsR is offline   Reply With Quote

Old   April 1, 2019, 09:54
Default
  #10
Member
 
sibo
Join Date: Oct 2016
Location: Chicago
Posts: 55
Rep Power: 9
sibo is on a distinguished road
Quote:
Originally Posted by MadsR View Post
Hi

The link is http://hvirvel.dk/airfoilmesher.

/Mads
Hi Mads,

Firstly, thanks for the mesh you provided on CFD-online. I'm just wondering when we submit the airfoil coordinates, which format should we use?
Because I tried .dat, .txt and .rtf, they don't work.

Thanks a lot for the help!
Sincerely
Sibo
sibo is offline   Reply With Quote

Old   October 8, 2019, 07:37
Default
  #11
Senior Member
 
MadsR's Avatar
 
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 17
MadsR is on a distinguished road
Hi. Thanks for your interest in the airfoil mesher. Man, this is an old page, but still used. Happy to help (or make a disaster of your simulation - sorry).

The extension has no influence. File format has to be text (ASCII) other than that just dump the coordinates in the file, as mentioned on the page.

Let me know if you are able to use the meshes at all. I think I seriously need to make this tool better.

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

Reply

Tags
airfoil, blockmesh, mesh, naca, openfoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
SU2 AOA optimization 454514566@qq.com SU2 9 March 7, 2022 16:17
Ffd_control_point_2d feiyi SU2 4 September 30, 2019 12:42
High drag for airfoil compared to XFOIL and wind tunnel data Ry10 SU2 15 October 30, 2016 17:27
2D FFD Optimization RLangtry SU2 2 August 5, 2014 09:48
Problem with restart solution in shape_optimization.py robyTKD SU2 Shape Design 21 May 29, 2013 09:26


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