FLXR5 Aerodynamic Tutorial v2
FLXR5 Aerodynamic Tutorial v2
Faculty of Engineering
1. XFLR5 Overview
XFLR5 is a useful tool for analysing the aerodynamic behaviour of model airplanes to predict
the performance and behaviour of the design before the construction phase. Like all modelling
and simulation software, the results obtained from the XFLR5 analysis will not reflect the true
performance of the aircraft during flight tests, however, it will assist with lift surface sizing and
air foil selection which will greatly reduce the trial-and-error process. The general steps for
performing airplane analysis in XFLR5 include air foil batch analysis, defining airplane
geometry and inertia, and analysing airplane flight dynamics. This tutorial will briefly
introduce these steps using the Blue baby Trainer plane and will also provide a foundation for
applying XFLR5 analysis to student’s own airplane designs for the flight competition.
2. XFLR5 Installation
All content relating to XFLR5 can be found on the website http://www.xflr5.com/xflr5.htm.
This site contains helpful documentation as well as a link to YouTube tutorials on how to use
the software. This tutorial is mostly based on the XFLR5 documentation and video tutorials,
so it is recommended that students review this material when designing their airplanes. To
install XFLR5 visit https://sourceforge.net/projects/xflr5/files/ and download the latest
version. The installation instructions will be provided after the download is complete. Make
sure you save your work regularly, XFLR5 can crash randomly during computations.
The Air foil plotter page allows you to design your own custom air foil that you can then export
for use in XFLR5. For this tutorial we will use two predefined air foils that approximately
represent. the air foil geometries of the Blue baby wing and tail. In the air foil search menu,
enter NACA 4412 into the text search box, then click Air foil details to the right of the air foil
image on the search page. This is the air foil that will be used for the wing analysis of the Blue
baby. The details page contains important lift and drag information that can be used in your
calculations when initially designing the wings and tail of your airplanes. The air foil
performance plots are calculated using various Reynolds numbers and angles of attack to
generate characteristic curves. The airfoiltools page and XFLR5 both use Xfoil software.
Open XFLR5 and click File then Direct Foil Design. At the top of the window, click the icon.
with the blue folder and the paper inside, Open, and open the NACA4412.dat file that you just
downloaded. You should now see that at the bottom of your screen a list of two foils, a Spline
foil and NACA 4412. Right clicking the name of a foil on this list allows you to manage its
parameters. Right click the NACA 4412 name, select "Refine globally" and change the
number of panels to 100, overwrite your original NACA 4412 air foil if prompted. Adding
more panels refines the geometry of the air foil and should improve the accuracy of the analysis.
You may have to change the colour and the width of the air foil plotter to make it visible in the
black background. Next, import an air foil for the tail. You may repeat the process described
above or if you are using a NACA airfoil, you may import the geometry directly using XFLR5.
Since the Blue baby has at plates for the elevator and fin, we will approximate this geometry
2
XFLR5 Introduction Tutorial (ME3610 - Design of Mechatronics Systems)
using a relatively thin and symmetrical airfoil the NACA 0009. Defining a at plate in XFLR5
causes discontinuities in the airfoil analysis, therefore, it recommended that you select an airfoil
that approximates this geometry. You may use other thin symmetrical airfoils if you like.
To import the NACA 0009 using XFLR5, in the Direct Foil Design window, at the top of the
screen click Foil then Naca Foils, enter the digits 0009 and set the number of panels to 100,
click OK. You should now see both airfoils on the screen, if they are not visible, click the
"Show" box next to each of their names in the list at the bottom of the screen.
3
XFLR5 Introduction Tutorial (ME3610 - Design of Mechatronics Systems)
4
FIGURE 4. Graphs generated after running the batch analysis.
XFLR5 Introduction Tutorial (ME3610 - Design of Mechatronics Systems)
Since the Blue baby wings are not tapered, we will set the chord for each of the wing sections
to be the same, approximately 22 cm and the offset to be 0 cm for both. (Note: The dimensions
used in this tutorial are approximate and will vary from plane to plane. It is recommended that
you measure the dimensions and weights/mass locations of your own Blue baby build when
doing this analysis.) Set the dihedrals to 0 degrees and 5.3 degrees for sections 1 and 2,
respectively. Set the y value for section 2 to be 41.4 cm. Click “Save” and close.
5
XFLR5 Introduction Tutorial (ME3610 - Design of Mechatronics Systems)
6
XFLR5 Introduction Tutorial (ME3610 - Design of Mechatronics Systems)
In the Plane Inertia menu, define a set of point masses as shown in the table below. These
numbers are approximate, and students should measure the masses and locations on their own
plane.
TABLE 1. Component weights of the Blue baby
Mass(g) x(cm) y(cm) z(cm) Component
100 -13.8 0 -4 Motor
158 -12 0 -8 Battery
42 0 0 -5.5 Electronics
50 30 0 -5.5 Tail Servos
150 11.5 0 -5.5 Fuselage
Once all masses are defined, click Ok to exit the Plane Inertia menu and click Ok to exit the
Plane Editor. You should now see the wing and tail sections in the main window of XFLR5.
The body of the airplane is not included in the simulation because it not recommended by the
developers since it causes stability issues with the analysis.
7
XFLR5 Introduction Tutorial (ME3610 - Design of Mechatronics Systems)
Make sure you tick the box in front of Masses to get the point masses visible.
8
XFLR5 Introduction Tutorial (ME3610 - Design of Mechatronics Systems)
Once the analysis is complete, you can click check boxes in the "Results" section of the Plane
Analysis side menu to graphically display performance characteristics for each angle of attack.
You can also click "Animate" to watch the graphical characteristics change as the angle of
attack is varied. In the "Display" section of the Plane Analysis side menu you can configure
the 3D view of your airplane. Click the "Masses" check box to see the point masses that we
have defined. It is recommended that the centre of gravity of the airplane is located
approximately a third of the wing chord back from the leading edge of the wing. At the top of
the screen, there is a small airplane icon, to the left of this icon is a drag polar shaped icon
called "Polar View". Click this button to view the results of the airplane analysis. To change
the plotted variables of any graph just hover your mouse over the graph and double left click
to open the options menu. The results are shown for the Blue baby model built by the
instructors. Note: You will not get the exact same plots but somewhat close to it. The plots
above show the results for a fixed lift simulation with the angle of attack ranging from -6 to 15
9
XFLR5 Introduction Tutorial (ME3610 - Design of Mechatronics Systems)
degrees at an increment of 0.5 degrees. The Polar View window can provide important
information that can facilitate the design process of your own airplane.
10