Tuesday, February 14, 2012

Top 10 Reasons to Analyze Your Airfoil

Here are my top ten reasons (no particular order) to analyze your airfoil shape.  

10.  Bricks make terrible airfoil shapes.  Circular shapes do not provide any lift (unless they are spinning).  The airfoil shape makes a difference even if it is not the dominant parameter.

Brick analysis by MultiElemnet Airfoils 5.0: see http://www.hanleyinnovations.com/mefoil.html

9. You can perform airfoil analysis free of cost using XFoil (albeit you cannot analyze the above bricks with this program).  Price is no excuse not to analyze your airfoil.  See: http://web.mit.edu/drela/Public/web/xfoil/

8.  You are forced to learn about Reynolds number and how it can ruin the looks or your airplane (but possibly save your life).  Investigating the behavior of the airfoil shape as a function of Reynolds number can improve the safety of your designs.

7.   Some shapes provide better lift than others at the same angle of attack and speed.  Find out which ones can make or break your project.

Lift Coefficient vs. Angle of Attack. Computed with VisualFoil 5.0

6. Some shapes can provide the required lift (desired loading characteristics) without the increased expense of drag.  This helps you to win races, save fuel and have a good feeling about your design.

Lift Coefficient vs. Drag Coefficient. Computed with VisualFoil 5.0

5.  Some good looking airfoils turn out to provide bad stall behavior. Use analysis to determine the stall angle and maximum lift coefficient of your cross sectional shape.

Lift Coefficient vs. Angle of Attack (showing maximum lift). Computed with VisualFoil 5.0

4.  The moment of truth.   Some airfoils (especially those that provide high lift) often demand in return a huge horizontal stabilizer for longitudinal stability.    You do not want your design to have a high sink rate due to tail drag.

Moment Coefficient vs. Angle of Attack. Computed with VisualFoil 5.0
3.  Speed can slow you down.  It is necessary to know the transonic behavior and the drag divergence Mach number of your airfoil if you design propellers, turbines and jet airplanes.
Drag divergence of an airfoil.  Analysis by VisualFoil Plus:  http://www.hanleyinnovations.com/air_16.html
 
2.  Airfoil analysis inspires you to find more about airfoil characteristics and terms.  You will learn about reflexed airfoils, laminar flow airfoils, high lift airfoils, cambered shapes, split flaps, slotted flaps ....... and how they can be beneficial to your design and project.


1.  VisualFoil 5.0 is a powerful and user-friendly tool for airfoil analysis and design.  It has a built-in library of 1000s of airfoils including the NACA 4, 5 & 6-digit shapes.  Users can also enter custom airfoils as coordinates or .dxf files (line & arc entities).   Hanley Innovations can provide help with setting up your airfoil project, interpretation of the results and provide recommendations.  There is no reason not to produce a successful design.
More information about airfoil analysis and VisualFoil can be found at Hanley Innovations.  Please visit http://www.hanleyinnovations.com/

What are your reasons for airfoil or CFD analysis?

Thanks for reading.

Friday, February 3, 2012

Car Aerodynamics Calculations

Often it is necessary to quickly determine the aerodynamics characteristics of a production vehicle or a new prototype before further testing or construction can move forward.

Hanley Innovations developed Stallion 3D for rapid aerodynamics analysis of three-dimensional solid models.   This software is a quick and inexpensive option to perform aerodynamic conceptual analysis on a 3-dimensional CAD model without the time-consuming ritual of grid generation.  The analysis can be performed on your desktop computer or laptop. 

The following steps can be followed to determine the lift and drag on a road vehicle.

Stallion 3D Main Window
To start the analysis, click on the design menu and select the Import or Edit .STL file option.  This will invoke the .stl file editor show below.   The editor allows you to read in files in the ASCII format and then provide a quick preview of the input.   Stallion 3D can analyze files that are water-tight.  If your file has holes, you might be able to repair them with the free utility called Netfabb-Studio Basic. Netfabb studio can also convert files from a variety of formats to the .stl format.

A car from Turbosquid.com as seen in Stallion 3D.
The .stl input box also allow you to rotate and translate the part.  This allows you to point the leading edge of the model (longitudinal direction) along the x-axis and the lateral direction along the y-axis.


The .stl dialog box can be used to orient the model.

Before exiting the .stl import box, you can also explore the options to scale the model and set the correct dimensions.  The default in Stallion 3D is meters, however, you can select inches, feet and cm.

Scale and dimension the solid model.
Once the part has been imported into Stallion 3D, it can be view in wire frame mode in the Design Editor.  This screen can also be used to add more components (such as wings) to the model.

The design editor window can be used to add wings and other components to the model.
The next step is to analyze the model.  Stallion 3D performs a 3-dimensional CFD analysis on an ordinary PC running MS Windows.  The user can choose the model size and settings by clicking the CFD Solver menu followed by the Setup CFD option.   In the first tab, the user can select the CFD problem size (number of nodes) and layout.   The options are for a quick run (less accurate) or a moderately sized problem (more accurate).  In this problem, I choose a Small Size ( less than 240,000) nodes. 

The user can choose the problem size.  A quick run is helpful to test the setup.
The next option is to choose the flow domain dimensions and location.  The flow domain is a big cube. I recommend that the length of the flow domain is about 10 times the maximum length of the part.   This allows quicker convergence and better accuracy for the radiation boundary conditions. 

Set the flow domain dimensions to simulate the physics and facilitate convergence.
For the car problem, I select the lower z-dimension to coincide with the ground and then make the ground a reflection plane (instead of a radiating boundary).  This will simulate the hard road.

Set the lower boundary as reflective (instead of radiative) to simulate the road.
The next step in the solution is to set the flow speed and reference areas and lengths for the lift, drag and moment computations.  

Finally, simply click the CFD Solver menu and select Generate Grid/Solve flow.  The program will automatically generate the grid and launch the flow solver.  For this specific problem, the grid generation took about 20 - 30 minutes on my laptop.  The algorithm generated 132,833 nodes.


Once the grid was generated, the flow solver started to solve the 3-dimensional compressible Euler equations (with the low speed flow option).  The solver computes the lift, moments and pressure drag for the 3-dimensional configuration with good accuracy.  Stallion 3D can also solve the 3-D Navier-Stokes equations for the same configuration.

The flow solver updates 132,833 nodes every iteration using a 4-stage Runge-Kutta method.
 The solution converges in less than 2 hours for this problem on my laptop computer.   The windows below shows the pressure computed on the surface of the car.  This is obtained by clicking on the Visualization menu and selecting the View Solution option.

Pressure on the surface of the car.
 The speed near the surface of the car is a useful design parameter for drag reduction and flow visualization.   Stallion 3D allows the user to see the pressure, Mach number, velocity and temperature on the surface of the part.

Velocity on the surface of the car.
 Another technique to assess the quality of the solution is to look at the streamlines and flow at the ground plane.  The following  graphs show these two images.

Velocity at the ground plane.

Flow streamlines.
 Stallion 3D computes the overall lift, drag and moments acting on the vehicle.  These numbers can be used as design parameters to improve and determine the performance of the vehicle.   The moments can also be used to determine stability with subsequent computations.

Computed lift, drag and moment coefficients based on vehicle frontal area.
Note, the .stl file must be in very good shape for good computation of the forces and moments.  It must not have multiple facets (in the same location) and inverted facets.  If this is the case, the user can approximate the forces on the Cartesian-front (an approximate representative of the car).  This method, however, is not valid for downforce calculation.  A good .stl file is required for downforce calculation when the lower boundary is used as a solid wall.

More information about Stallion 3D can be found at http://www.hanleyinnovations.com/

Thanks for reading.