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

[Other] Meshing Layers over Aerofoil

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2014, 20:41
Default Meshing Layers over Aerofoil
  #1
New Member
 
Craig Miller
Join Date: Mar 2014
Posts: 3
Rep Power: 12
poloding-along is on a distinguished road
Good evening.

Looking for some assistance in solving an issue I am having when trying to add layers to a mesh around a naca0012 aerofoil. I am currently trying to model the naca0012 foil as per the nasa validation case but I'm finding my Cd values to be way higher than expected and I believe this may be due to a poor mesh.

I am modelling a naca0012 aerofoil initially using the standard blockmesh then the surfaceFeatureExtract tool then snappyhexmesh. The aerofoil is 3D but I am only taking a thin slice of it in the blockmesh and have defined only one division in the z direction.

When in snappyhexmesh, I am trying to add boundary layers around the surface of the aerofoil but I am having particular difficulty in gaining smooth layers particularly around the trailing edge. I appreciate as it is a sharp edge then the snappyhexmesh tool can struggle but so far I have tried adjusting;

the finalLayer size
number of layers
featureAngle
adding an extra refinement region around the trailing edge
refining the initial blockmesh
reducing the sharpness of the edge

With adjusting all these I can occasionally get smooth layers but these tend to be skewed as I then rotate the aerofoil through varying angles of attack.

I have attached two pictures, the first shows the leading edge with consistent layers like I am trying to achieve then the 2nd shows the typical problem on the trailing edge where the layers don't fully generate and create skewed cells.

If anyone has any suggestions for how to improve these then please point me in the right direction.
Attached Images
File Type: jpg Topside Leading Edge.jpg (87.2 KB, 91 views)
File Type: jpg underside Trailing Edge.jpg (83.1 KB, 104 views)
poloding-along is offline   Reply With Quote

Old   April 3, 2014, 04:30
Default
  #2
Member
 
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 15
Ruli is on a distinguished road
Dear Craig,

Quote:
I am modelling a naca0012 aerofoil initially using the standard blockmesh then the surfaceFeatureExtract tool then snappyhexmesh. The aerofoil is 3D but I am only taking a thin slice of it in the blockmesh and have defined only one division in the z direction.
Why do you use snappy? If it is an infinite span NACA profile, you could create the mesh with blockMesh only.

Quote:
When in snappyhexmesh, I am trying to add boundary layers around the surface of the aerofoil but I am having particular difficulty in gaining smooth layers particularly around the trailing edge. I appreciate as it is a sharp edge then the snappyhexmesh tool can struggle but so far I have tried adjusting;

the finalLayer size
number of layers
featureAngle
adding an extra refinement region around the trailing edge
refining the initial blockmesh
reducing the sharpness of the edge
What in my experience helped, was indeed refinement of the base mesh. However, I did not get my leading edge meshed perfectly.

Best regards
Julian
__________________
πάντα ῥεῖ - Heraclitus
Ruli is offline   Reply With Quote

Old   April 3, 2014, 13:29
Default
  #3
New Member
 
Craig Miller
Join Date: Mar 2014
Posts: 3
Rep Power: 12
poloding-along is on a distinguished road
Julia,

Thanks for the response. Surely I need to use snappy so as to gain a more refined mesh in and around just the aerofoil as opposed to refining the whole domain? Bearing in mind that I have a rather large block mesh so as to deal with farfield boundaries.

When you refined your block mesh, what level of y+ did you aim to work with?

Thanks
Craig
poloding-along is offline   Reply With Quote

Old   April 3, 2014, 13:46
Default
  #4
Member
 
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 15
Ruli is on a distinguished road
Dear Craig
Quote:
Originally Posted by poloding-along View Post
Surely I need to use snappy so as to gain a more refined mesh in and around just the aerofoil as opposed to refining the whole domain?
You can save cells by using the grading option in blockMesh. Check it out. If you are working on a pure 2D or 2D infinite span airfoil, I would recommend using only blockMesh, because it should give much better cell quality.

Quote:
Originally Posted by poloding-along View Post
When you refined your block mesh, what level of y+ did you aim to work with?
As you probably know, y+ depends on the chosen turbulence model. I tried to get y+ = 30, in the end i have 1 <= y+ <= 500.

Best regards
Julian
__________________
πάντα ῥεῖ - Heraclitus
Ruli is offline   Reply With Quote

Old   April 3, 2014, 16:01
Default
  #5
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
See here for very easy airfoil mesh generation using blockMesh.

http://hvirvel.dk/airfoilmesher/
__________________
Linnemann

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

Old   April 4, 2014, 11:41
Default
  #6
New Member
 
Craig Miller
Join Date: Mar 2014
Posts: 3
Rep Power: 12
poloding-along is on a distinguished road
Thank you for the responses. I will try what you have both suggested.
poloding-along is offline   Reply With Quote

Reply

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
[ICEM] Meshing an aerofoil with a hole Ducky ANSYS Meshing & Geometry 1 March 5, 2018 09:49
[ICEM] Prism layers distorted near trailing edge of blade-Unstructured Mesh Rohith Giridhar ANSYS Meshing & Geometry 3 June 29, 2015 18:52
[ANSYS Meshing] Meshing pipe expansion with inflation layers Roark ANSYS Meshing & Geometry 1 May 11, 2013 02:43
[Other] Problem in C meshing of aerofoil Ashish22 ANSYS Meshing & Geometry 5 March 7, 2013 12:26


All times are GMT -4. The time now is 08:01.