CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] Airfoil mesher (https://www.cfd-online.com/Forums/openfoam-meshing/71121-airfoil-mesher.html)

MadsR December 16, 2009 07:02

Airfoil mesher
 
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

georg December 29, 2009 10:50

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

ivan_cozza December 29, 2009 13:07

Quote:

Originally Posted by MadsR (Post 240183)
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!

georg January 2, 2010 10:10

Quote:

Originally Posted by ivan_cozza (Post 241111)
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

ivan_cozza January 3, 2010 05:54

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 (Post 241301)
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 January 3, 2010 12:31

Hi Ivan,
perfect would be a list of points as you mentioned:

Quote:

Originally Posted by ivan_cozza (Post 241347)
... 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

MadsR January 4, 2010 02:33

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

draufunddran August 10, 2010 09:38

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

MadsR September 21, 2010 06:29

Hi

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

/Mads

sibo April 1, 2019 09:54

Quote:

Originally Posted by MadsR (Post 275963)
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

MadsR October 8, 2019 07:37

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


All times are GMT -4. The time now is 11:10.