CFD Online Discussion Forums

CFD Online Discussion Forums (
-   Main CFD Forum (
-   -   Meshing a 2D airfoil properly (

jms March 26, 2011 09:27

Meshing a 2D airfoil properly
Dear all,

I am doing a study of the flow around truncated 2D airfoils using o-meshes and I would like to know if you know any reference where it is explained how to distribute the cells over the airfoil (i.e--> the amount of cells in the chordwise, trailing edge and leadign edge). I have been doing 2 different meshes with different distributions and I get a difference in the lift of 5%. It is not a lot, and the results look very similar to the reference I am comparing them to. However, I want to make sure I am meshing properly.
Maybe you can give me some advices or some references (papers...) where they talk about this.



jchawner March 27, 2011 15:11

Hello Jose:

Here are a couple of quick suggestions.

First, you should consider the Y+ value of the first grid point off the airfoil surface. You can find the equation for computing Y+ from a variety of sources including the internet. See if your mesh is giving you a Y+ of about 1. If you are using a wall layer model you can probably have a bigger Y+ around 30 or so. Can't remember exactly and it probably depends on the code you're using.

Also, consider doing a grid refinement study and/or Richardson extrapolation (again, you can read about this on the 'net). Basically this is just running a sequence of finer and finer meshes to see that the solution is converging as the grid gets finer.

Since you mention that you're using O-grids (structured quad grids) you might also want to ensure that you're getting sufficient resolution of the wake. That depends on the angle of attack too.

Other mesh resolution issues include chordwise resolution in the region of the shock wave if you're running at a transonic mach number.

I realize these suggestions are more general and less specific but hopefully they help.

Best Regards

Martin Hegedus March 28, 2011 03:30

In addition to what John mentioned, I would suggest playing around with the outer boundary distance. Unfortunately for 2D airfoils at subsonic and transonic speeds this can be anywhere from 100 to 150 times the chord length. One can get away with less for 3D grids, about 50 times max length dimension.

I've had resonable results using 401 points around airfoil and 801 points in outward direction with a y+=1 at the quarter chord location for a NACA 0012. I also clustered the points around the leading and trailing edge, about 4% of average point distance for leading edge and 2% of average point distance for tailing edge. But my trailing edge was sharp. For transonic results, this may not get you a crisp shock. This may not affect the overall integrated results much but will affect how your pressure distribution looks.

On the other hand, if you are trying to capture a separation bubble, you'll probably need to use more points. I am also assuming you are running Euler or turbulent and the results are steady. Unsteady results may need for points.

All times are GMT -4. The time now is 03:19.