Rochester Institute of Technology
RIT Scholar Works
Theses
Thesis/Dissertation Collections
2000
Mechanical supported adaptable wing
Cory Pike
Follow this and additional works at:
http://scholarworks.rit.edu/theses
This Thesis is brought to you for free and open access by the Thesis/Dissertation Collections at RIT Scholar Works. It has been accepted for inclusion
in Theses by an authorized administrator of RIT Scholar Works. For more information, please contact
Recommended Citation
MECHANICALLY SUPPORTED ADAPTABLE WING
by
Cory
J.
Pike
A Thesis Submitted in
Partial Fulfillment of the
Requirement for the
MASTER OF SCIENCE
IN
MECHANICAL ENGINEERING
Approved by:
Dr. Mark H. Kempski
Department of Mechanical Engineering
Dr. P. Venkataraman
Department of Mechanical Engineering
Dr. Hany Ghoneim
Department of Mechanical Engineering
Dr. Satish Kandlikar
Head, Department of Mechanical Engineering
(Thesis advisor)
DEPARTMENT OF MECHANICAL ENGINEERING
ROCHESTER INSTITUTE OF TECHNOLOGY
Permission granted
MECHANICALLY SUPPORTED ADAPTABLE WING
I, Cory J. Pike, hereby grant permission to the Wallace Library of the Rochester Institute of
Technology to reproduce my thesis
in whole or in part. Any reproduction will not be for
commercial use or profit.
Dedication
This
thesisis
dedicated
tomy
loving
parents,Wes
andCheryl,
andtomy
ABSTRACT
There
are several advantages to theincorporation
ofan adaptablewing
on an aircraft.Among
these areincreased
fuel
efficiency, greater maneuverability, and animproved ability
tonegotiate adverse conditions.
This
thesis explorestheconcept of amechanically
supportedadaptablewing, wherethe supports are
in
theform
ofvirtual sparsrunning lengthwise along
a
wing
of uniform cross-section.With
no cross-sectional support to the wing, the skinspanning
theareabetween
thevirtual spars experiences a certain amount ofdeflection
due
tothe various aerodynamic
forces acting
on the wing.This
thesisdevelops
a processfor
optimizing
(minimizing)
the number of virtual spars required to support thewing
whileTABLE OF CONTENTS
ABSTRACT i
TABLE OFCONTENTS ii
LIST OFTABLES iv
LIST OFFIGURES v
CHAPTER1 - INTRODUCTION 1
1.1BACKGROUND 1
1.2BRIEFOVERVIEW 2
CHAPTER 2- CHOOSINGTHEAIRFOILS
5
2.1DETERMINING AIRFOIL SHAPES 5
2.2AERODYNAMIC PROPERTIESAND APPROXIMATIONS 7
2.2.1 Physical CharacteristicsandSpecifications 7
2.2.2 Aerodynamic PropertiesandValues 7
2.2.3
Wing
Skin Properties 12CHAPTER 3- DATA SETUPUSING
MICROSOFT
EXCEL 97 AND VBA 14
3.1THE NEED FOR MACROS 14
3.2PREPARING THE DATA FORANALYSIS 14
CHAPTER 4- XFOIL 16
4.1GENERAL DESCRIPTIONOFTHE PROGRAM 16
4.2USINGXFOILTO OBTAIN THE PRESSURE COEFFICIENT DISTRIBUTION 17
CHAPTER 5
-MICROSOFT
EXCEL97 AND VBA REVISITED 22
5.1 GROUPCPXMACRO 22
5.2EXPLANATIONOF GROUPCPX MACRO 23
CHAPTER6
-MATLAB
ANALYSIS 24
6.1BRIEF INTRODUCTIONTO
MATLAB
24
6.2OVERVIEWOFTHE ANALYSIS PROCESS
(MASTER.M)
256.3DESCRIPTION OF INDIVIDUAL FUNCTIONS 27
6.3.1
Setting
theRelevant Parameters (Parameters.m) 276.3.2
Approximating
theAirfoilPerimeter(ArcApprox.m)
286.3.3
Dividing
theAirfoil Perimeter(MapToP.m)
396.3.4
Determining
Element Orientation(GetAlpha.m)
456.3.5
Establishing
Pressure ValuesatNodes(Loading.m)
476.3.6Finite Element Analysis
(FEA.m)
536.3.7
Optimizing
Each Nodal SupportSpacing
(Opt.m)
686.3.8
Controlling
theOverall FEAandOptimizationProcess(FEAJDpt.m)
71CHAPTER 7- RESULTS 74
CHAPTER8- DISCUSSIONOF RESULTS AND CONCLUSION 80
APPENDIX A- C5 AIRFOIL COORDINATES DATA
83
APPENDIXB
-MICROSOFT
B.l CONVMACRO 86
B.l.l Conv Variables 86
B.1.2ConvCode 86
B.2CONVALL MACRO 87
B.2.1 ConvAll Variables 87
B.2.2 ConvAll Code 87
B.3GROUPCPX MACRO 89
B.3.1 GroupCpx Variables 89
B.3.2GroupCpxCode 89
APPENDIXC
-XFOIL ADDITIONAL INFORMATION 91
C.l THEORY REFERENCES 91
C.2PRIMARY PROBLEM FORMULATIONS 92
C.3CPXS SUBROUTINE(FORTRAN
77)
94C.4PRESSURECOEFFICIENT VSX DATA 95
C.5PRESSURE COEFFICIENTSVS.XPLOTS 100
APPENDIX D
-MATLAB
M-FILES- VARIABLESAND CODE
103
D.lMASTER.M 103
D.l.l Master.m Variables 103
D.1.2Master.m Code 105
D.2 Parameters.m 108
D.2.1 Parameters.m Variables 108
D.2.2 Parameters.m Code 709
D.3 Arcapprox.m 110
D.3.1ArcApprox.m Variables 110
D.3.2 ArcApprox.m Code Ill
D.4MAPTOP.M 112
D.4.1 MapToP.m Variables 112
D.4.2 MapToP.mCode 113
D.5 GetAlpha.m 114
D.5.1 GetAlpha.mVariables 114
D.5.2 GetAlpha.mCode 115
D.6LOADING.M 116
D.6.1 Loading.m Variables 116
D.6.2 Loading.m Code 117
D.7FEA_OPT.M 119
D.7.1 FEAjOpt.m Variables 119
D.7.2FEAJDpt.mCode 120
D.8 0PT.M 122
D.8.1 Opt.m Variables 122
D.8.2Opt.m Code 123
D.9FEA.M 124
D.9.1FEA.m Variables 724
D.9.2 FEA.m Code 725
APPENDIX E- MAPLEVFINITE ELEMENT ANALYSIS 127
LIST OF TABLES
Table
1.1 List
of softwarepackagesutilized in this thesis4
Table 2.1 Some
generalcharacteristicsof theLockheed-Georgia C5B
7
Table 2.2
Properties
of the standard atmosphere for an altitude of40,000
ft(12,192 m)
10
Table 2.3
Initial
properties ofAL 7075-T6
skin onC5
wing12
Table
6.1-Sample
results of optimal nodal support spacings for oneiterationonall
5
airfoils71
Table 6.2
-Uniform
assignment of kout value for all5
airfoilsfromTable 6.1
based on a minimum kout value (c5d,kout=
1022)
72
Table B.l
-List
of variables used in
Conv
macro86
Table B.2
-List
of variables used m
ConvAll
macro87
Table B.3
-List
of variables used in
GroupCpx
macro89
Table D.l
List
of variables used inMaster.m
103
Table D.2
-Listof variables used inParameters.m
108
Table D.3
List
of variables used inArcApprox.m
110
Table
D.4-List
of variables used inMapToP.m
112
Table D.5
List
of variables used inGetAlpha.m
114
Table
D.6-List
of variables used inLoading.m
116
Table D.7
List
of variables used inFEA_Opt.m
119
Table
D.8-List
of variables usedinOpt.m
122
LIST OF
FIGURES
Figure 1.1
Example
of a nodal support spacing around an airfoil3
Figure
1.2-Example
of deflected skin material between supports(tradling
edge ofairfoil in
Figure
1.1)
3
Figure 2.1
Plot
of allLockheed-Georgia
C5A
airfoil cross-sections6
Figure 2.2
-Vertically
re-scaledC5A
airfoils(for
varianceemphasis)
6
Figure 2.3
-Example
of a pressure coefficient distribution
8
Figure 2.4
-Example
of a pressure distribution at high altitude
9
Figure 2.5
-Division
of a wing into sections and individualelements
13
Figure 3.1
-Flowchart for theConvAll
macro15
Figure 4.1
-PlotofPressure Coefficient
vs.X
xc5a.ps20
Figure
5.1
-Flow
chart for theGroupCpx
macro22
Figure 5.2
-Sampleof an optimal nodal support distribution23
Figure 6.1
-Flow
chart fortheoverall analysis process
(Master.m)
25
Figure
6.2
-Flowchart forParameters.m
27
Figure 6.3
-Plot
of c5a airfoil coordinates
28
Figure 6.4
-Arcs
defined by3
points(left)
and a center and2
points(right)
3 1
Figure
6.5
-Determining
thecenter of an arc defined by
3
poestts on the arc3 1
Figure 6.6
-Initial
arc approximation using the first
3
datapoints33
Figure
6.7
-Addition
of a second arc approximation35
Figure
6.8
-Closer
view of thefirsttwo arc approximations36
Figure
6.9
-Occurence
of concave arcs(A &
D)
on the c5a airfoil37
Figure 6.10
-Plot
of all arcs used toapproximate the c5a airfoil37
Figure 6.1 1
Flow
chart for arcapproximation function(ArcApprox.m)
38
Figure
6.12
-Mapping
apoe^jt alongan arc into global coordfnates39
Figure 6. 13
-Howtodeterminewhichgoverning arc to follow41
Figure
6. 14
-ResultsofMapToPfunctionforthec5a airfoil42
Figure 6.15
-Close-up
view of c5a airfoilofFigure
6. 14
showing the leading nodeindicated by the open square
43
Figure 6. 16
-Flowchart forMapToX
function44
Figure
6.17
Variable
and sign convention for theGetAlpha
function45
Figure 6.18
-FlowchartforGetAlpha
function46
Figure
6. 19
-Plotofpressurecoefficientdata fromXFOIL (c5a)
47
Figure
6.20
-Four
pointsto be fit usestg a cubic polynomial48
Figure
6.21
Cubic
polynomialfit to original four points ...49Figure
6.22-Pressure
coefficientresults of theLoading
function51
Figure
6.23
-Flow
chartfor theLoading
function52
Figure 6.24
-Generalized
displacementsand forces for theEuler-Bernoulli
frame element(width
=1)
54
Figure
6.25
-Various
loadingconfigurationsfor anEuler-Bernoulli
frameelement
56
Figure
6.26
-Applying
pressures(from Loading
Figure 6.27
Two-element
global assembly of applied distributedloadingon abeam
59
Figure
6.28
-Distinguishing
between local and global degrees offreedom
64
Figure 6.29
-Flowchart forFEA
function67
Figure
6.30
-Example
of the nodal support spacing optevuzationprocess
69
Figure 6.31
Flow
chart forOpt
function!
70
Figure 6.32
-Flowchart forFEAJDpt
function73
Figure
7.1-Trial #1
[THICKNESS
=0.00079375
M(1/32 IN),
ALLOWABLE DEFLECTION=0.001
M]
74
Figure 7.2
-Trial#2
[THICKNESS
=0.00079375
M(1/32 IN),
ALLOWABLE DEFLECTION=0.005 M]
75
Figure 7.3
-Trial#3
[thickness
=0.003175
m(1/8 in),
allowable deflection=0.001 m]
76
Figure 7.4
-Trial#4
[thickness
=0.003175
m(1/8 in),
allowable deflection=0.005 m]
77
Figure 7.5
-Magnified
view of the trailing edge of the results from
Trial #2
(Figure
7.2)
78
Figure 7.6
-Magnified
vmw of the leadentg edge of the results fromTrial
#2
(Figure
7.2)
79
Figure
C.l
Plot
ofPressure Coefficient
vs.X
xc5a.ps100
Figure C.2
-Plot
ofPressure Coefficient
vs.X
xc5b.ps100
Figure
C.3-Plot
ofPressure Coefficient
vs.X
xc5d.ps101
Figure
C.
4-Plot
ofPressure Coefficient
vs.X
xc5c.ps101
CHAPTER
1
-INTRODUCTION
1.1 BACKGROUND
Since
thedawn
of civilization, manhas looked
upward to thesky
and observed nature's airborne creatures;from
the smooth, effortlesssoaring
of the majestic eagle, to thehighly
energeticflights
ofthehummingbird.
Early
civilizations mostlikely
looked
on thesecreatures with awe, and
in many
cases even reveredthem.These
animals seemedtodefy
theconstraints of
gravity
and were able toenjoy
suchfreedom
of movement, as toleave
mansimply
envious.From
thetime that mankindfirst
tookhold
ofthe "airfoil" concept, to thehigh-speed
computer airfoil
design
and analysis programs oftoday,
aircraftinvention
has
been
traditionally
based
on a singleframe
of mind... aconstant,rigid
airfoildesign.
In
all ofthe advancesin
speed, altitude, etc.,oftoday's aircraft, andin
theability
tofly
faster
andhigher
thanany
otheranimal, therestill exists onemajorskillthatmostflying
animalshave
thatour aircraftsimply
cannot compare with... maneuverability.Man-made
designs
ofrigid
wings providethenecessary
lift,
andtheadditional control surfaces(rudders, flaps,
stabilizers, etc.) provide somebasic
maneuverability,but
none can provide the aircraft with theagility
of a creature that can change the actual shape ofits wing
atany
time.Airfoil
adaptability
is
acapability
that almost allflying
animals possess, and use to their advantage.Yet
noknown
aircraft at this time canduplicate
thisfeature.
Flaps
provide a certain amount of change of shape, and some aircraft, such as theLockheed-Georgia
C-5
Galaxy
(mentioned later in
thispaper)
usedifferent length
sections of afew different
airfoilsfrom
theroot ofthewing
to thetip.
However,
none canactively physically
change the shape ofthe airfoil cross-section ofthe
wing in flight. Even today,
thisremainstobe
onetraitof nature'sflying
animalsthatmanhas
notbeen
abletomimic.The
goal of an adaptable airfoil cross-section need not achieve adrastic
changein
mind: payload, speed, weight, altitude, purpose, etc.
The
airfoilis
optimizedfor
theseparameters,
andthewing
is
designed.
However,
oncethatwing
is
constructed, inefficienciesinherently
arise.Fuel
optimization atcruising
speed and altitudeis lost
the entire time theaircraft
is
climbing
ordescending.
Maneuverability
atlower
speeds and altitudesis lost
athigher
speeds and altitudes.Even
to stretch theimagination
andlook into
thefuture,
anoptimal
design in Earth's
atmosphere,may
not work as wellin
the atmosphere of anotherplanet.
Hence
valid reasons existfor exploring
the realm ofactively
controlled airfoilshapes.
The issue
of active shape control of wingsfor
moreefficientflight has been discussed
for
several years(see References [1-5]). The
studieshave been
centeredaboutusing
variablecamber, twist or surface shape control to adapt the
geometry
ofthewing
tochanging flight
conditions.
1.2
BRIEF
OVERVIEW
This
thesis explores theattainability
of severalwing
cross-section shapes through themanipulation of anumberof
"nodal
supports"
firmly
clamped to theskin at"optimal" points
around the airfoil.
Due
to thelarge
number of variables that enterinto
thedesign
of such acomplicatedsystem, several simplifications
have been
employedin
orderto obtain aninitial
approximation ofthenumber and
location
ofthenodal control points aroundthe airfoil.The
goal of this thesis
is
toinvestigate
thefeasibility
ofusing
a"nodal
support"airfoil/wing
design (See Figure 1.1).
Each
nodal supportin Figure 1.1 is defined
as a virtual sparrunning
along
thelength
of the wing, which completely clamps the
wing
skinin
place.In
thisthesis,
these nodalsupports are the
only
means of support and manipulation of the wing.By
allowing only
spanwise
wing
skin support, the skinis
expected todeflect in
the gapsbetween
nodal?> 0'
OriginalMapped Airfoil Deflected Airfoil
o Supports
e e e~-Q o o -e
44Supports Required A\rageSpacing=0.39105m
2 3 4 5 6
ActualChord,m.a.c. =8.4818m
Figure 1.1- Example
ofa nodal supportspacingaround an airfoil
0.2
-0.1
-0.15
Original MappedAirfoil
Deflected Airfoil
O Supports
(.05 8.1 8.15 8.2 8.25 8.3 8.35 8.4 8.45
ActualChord,m.a.c.=8.4818m
This deflection
resultsin
adeviation
from
thedesired
airfoil shape.The
goal ofthis thesisis
to
define
and maintain various airfoil shapes within a specifieddeflection
tolerance whileminimizing
the number of nodal supports required.This
support minimization objectiveis
accomplishedaccording
tothefollowing
analysis process:Step
1.
Select five different
airfoils.Step
2.
Determine
theaerodynamicloading
on thefive
airfoilsbased
on specifiedparameters.Step
3.
Divide
each airfoilinto
a specified number offinite
elements.Step
4.
Apply
theloading
found in
Step
2
to thefinite
elementsestablishedin
Step
3.
Step
5. Calculate
optimal supportlocations based
on skindeflections due
toloading
appliedin
Step
4,
wherethedeflections
aredetermined
throughfinite
elementanalysis.The
scopeofthis thesisinvolves
abasic understanding
ofaerodynamics, aslightly
more
involved
knowledge
offinite
element analysis, and abasic understanding
ofdesign
optimization.
The
thesis alsoinvolves
the use of severaldifferent
software packages andassociated
programming
syntaxes/languageslisted in Table 1.1.
Software
Language/Syntax Usedfor
AcknowledgementsMicrosoft
Excel 97
Visual Basicfor
Applications
Preparing
datafiles
for import into
MATLAB
Copyright 1985-1996
Microsoft Corporation.
Allrightsreserved.
XFOIL 6.8 FORTRAN
Obtaining
pressurecoefficient
distributionforeach airfoil
Created
by
MarkDrela, Ph.D,
Professor,
MIT Departmentof AeronauticalandAstronauticalEngineering
MATLAB5.2
Built-in (similarto
C)
Bulkof
programming
(mapping,
FEA,
optimization,
plotting)
Copyright
1984-1998The
MathWorks,
Inc. Allrights reserved.MAPLE V
Release4.00
Built-in Symbolic
Computations
Copyright 1981-1996 Waterloo
Maple Inc.
Allrights reserved.
Table 1.1 Listof software packages utilizedinthis thesis.
Due
to thefact
that a gooddeal
of this thesisis in
theform
of computer code, thevarious
functions
andsubroutineswillbe
representedmainly
by
conceptualflow
charts so as to avoidthedetails
ofthesyntaxitself.
The
actual algorithms employed areincluded in
theirentirety
andpresentedin
several appendices.Each
respective algorithmis
accompaniedby
aCHAPTER 2
-CHOOSING
THE AIRFOILS
2.1
DETERMINING
AIRFOIL
SHAPES
Once
designers
makethedecision
togo with an adaptablewing,they
would nolonger
be
designing
a single airfoil to meet alldesign
constraints.Instead,
thewing design
wouldinvolve
severaldifferent
airfoil shapes to allowfor
optimal performance under avariety
ofcircumstances.
Design for
speed,lift,
maneuverability, and overallefficiency
would nolonger be limited
to one solid airfoil.Instead,
the goal wouldbe
such that a pilot of anaircraft could
ideally
just dial in
an airfoil shape onacomputer, andthen gettheperformancerequired
from
thatparticular airfoil shape.An
even moreideal
situation wouldbe
one where the shape ofthewing is
controlleddynamically by
a computer thatconstantly
monitors thecurrent
flying
conditions.Concerning
the shape of the airfoil, shape coordinates canbe
obtained throughpublished
books,
through the aircraftmanufacturers, or evendownloaded from
theInternet.
Since
the goal ofthisthesislay
in
the analysis of several airfoils,any five
woulddo.
Upon
exploration of the
UIUC Airfoil Coordinates
Database1 on theInternet,
agroup
offive
airfoils seemedto stand out as
far
ascatering
to thegoals ofthis thesis.These
airfoil shapesbelong
to the Lockheed-GeorgiaC5A Galaxy.
These
airfoil shapes weredesigned
as"boxed"
sets that were connected
from
the root ofthewing
to the tip.This design
wasfirst
implemented
as a redesign to theC5A
model's wingsin
1981,
and thenit
was carried overand used onthecurrent
C5B
model aswell.2
The
C5A
airfoilgeometry files
chosenfor
thisthesis were c5a.dat, c5b.dat, c5c.dat, c5d.dat, and c5e.dat, and these
five
geometries are1http://www.uiuc.edu/ph/www/m-selip/ads/coord database.html- A
web site maintained
by
MichaelSelig,
DepartmentofAeronauticalandAstronautical
Engineering,
University
ofIllinoisatUrbana-Champaign,
Urbana, Illinois,
61801. Informationisavailableforuse undertheGNU General PublicLicense: http://amber.aae.uiuc.edu/~m-selig/pd/gpl.html.2
displayed
graphically in Figure 2.1
andFigure
2.2. A
printoutofthedownloaded data files is
given
in Appendix A.
0.2
-0.2
-0.3
X c5a o c5b -f c5c ? c5d 0 c5e
0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 x-cfim,(%chord)
Figure 2.1- Plot
of allLockheed-GeorgiaC5Aairfoil cross-sections
0.08
-0.06
"'
X c5a 0 c5b
+ c5c n c5d 0 c5e
O 6 0
8&&88i*.
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 x-dim,(%chord)
Figure2.2
These
airfoils werechosenbased
onthe assumption that anadaptablegeometry wing
would utilize each shape while subject to similar performance requirements.
The
adaptablecross sections would then
be
varied enough to alter the aerodynamic capabilities of aprototype
wing
as neededin
flight.
So,
instead
ofusing
allfive
airfoilssimultaneously
atspecified positions
along
the wing, this thesis explores theability
to change the entirewing
from
one airfoil shapetoany
oftheotherfive
shapes.2.2
AERODYNAMIC
PROPERTIES AND APPROXIMATIONS
2.2.1 Physical Characteristics
andSpecifications
The
most current version of theLockheed-Georgia C5 is
theC5B,
hence
theaerodynamic
data
usedherein
was collectedbased
on thedesign
specifications.3Again,
thesame airfoil cross sections were utilizedonthe
C5B
asin
theC5A,
sothe application ofC5B
data
to theC5A
airfoilsis
appropriate.The design
parameters relevant to this thesis aregiven
in Table 2.1.
General
Characteristics
Value (English
Units)
Value (SI
Units)
Wing
span(b)
222.8 ft
67.91
mWing
area(S)
6,200
ft2
576.0
m2Long
range cruise speed(M)
0.77 Mach
0.77 Mach
Maximum
gross weight(W)
840,000
lb
381,018
kg
Table2.1 Somegeneral characteristics oftheLockheed-GeorgiaC5B.
2.2.2
Aerodynamic
Properties
andValues
Note
that thevaluesfor
speed andweight characteristics notedin Table 2.1
arefairly
high,
nearmaximumvalues.This
wasdone
as a means oftesting
theXFOIL
programtosee3
Generalcharacteristicsfor theLockheed-GeorgiaC5
Galaxy
obtainedfromtheLockheed-Martin web site at:if it
would convergefor
arelatively high Mach
number.However,
a reasonable test ofthefinite
element analysis routine was alsodesired;
onein
which at some point on the airfoilthere would exist a negative
local
pressure(pL)
that would cause the skin of thewing
todeflect
outwards.In
order to establish the pressuredistribution
on the airfoil/wing, thepressure coefficient
(Cp)
distribution
mustbe
determined first.
An
example of aCp
distribution
is
shownin
Figure
2.3.
-0.2 2
1 ~ ^~
^^-^~~*i "
i 1 1 1 1
\
Lower SurfaceCL ^-"*w *"*
o o-
^\
^
"V^ ^~
^
^^
<D
'o
^
it CD -1 _
O ?" '
O
3
J
UpperSurface05 S
0) o
-
J
i. CL
-3
V
-4
i i i i i
0.2 0.4 0.6
x-dim,
(%chord)
0.8 1.2
Figure 2.3- Exampleof a pressurecoefficientdistribution
This
pressure coefficientdistribution is
convertedtolocal
pressure valuesusing
Pl
=In
Equation
(2.1
)
, the pressure coefficient(Cp)
is usually
notless
than -4(see
Figure 2.3).
Hence
thebest way
to achieve a negativelocal
pressure(pL)
with ahigh
freestream
velocity
(V0)
as notedin
Table
2.1,
is
tohave
alow
freestream
pressure(p0). This
can
be easily
achievedby
selecting
freestream
values at ahigh
altitude.The resulting
pressure
distribution
wouldbe
similarto thepressuredistribution depicted
in Figure 2.4.
x 10
2.5
7a 1.5 a.
3 05 01
0.5
-0.5
-0.2
UpperSurface
0.2 0.4 0.6
x-dim,
(%chord)
0.8 1.2
Figure 2.4-Exampleof a pressuredistribution
athighaltitude
In Figure
2.4,
note that even though thepressure valuesfor
theupper surface arelower
thanthepressure values
for
thelower
surface(creating
lift),
theupper surface pressure values areprimarily
positive(pushing
in
on the airfoil).However,
Figure 2.4
shows a small area of negative pressure(pulling
outwards on the airfoil)near theleading
edge ofthe airfoil ontheupper surface.
This
negativelocal
pressure(p)
areais desired
as a means oftesting
thefinite
element analysis.4
So,
for
the purpose of thisthesis,
an altitude of40,000 ft (12,192
m) was used todetermine
theatmospheric propertieslisted
in Table 2.2.
Atmospheric
Property
Value (SI
Units)
Pressure
(po)
1.882748 E4
N/m2Density (p)
0.3027496
kg/maKinematic
Viscosity
(v)
4.698136 E-5m2/s
Speed
ofSound
(a)
295.07
m/sTable2.2 Propertiesofthestandard atmosphereforanaltitude of40,000 ft (12,192m).5
XFOIL has
thecapability
ofperforming
either aninviscid flow
analysis ora viscousflow
analysis.For
theinviscid
analysis,XFOIL
requires specific valuesfor
angle of attack(ALFA),
Mach
number(MACH),
andReynolds
number(RE).
However,
in
ordertoperformthe more realistic viscous
flow
analysis,XFOIL
also requires a valuefor
thelift
coefficient(CL).
Each
ofthese parameters requiredby
XFOrL
canbe determined from
the valuesin
Table 2.1
andTable 2.2.
The Reynolds
numbercanbe
calculated as6RE
= general(/
=length)
(
2.2
)
v
Vc
i \RE
= airfoils(c
=chord)
(
2.3
)
v
RE
= taperedwings(c
=mean aerodynamicchord)
(
2.4
)
v5
Dataobtainedfrom: Aerodynamicsfor Engineers.
3rd
Ed.,
JohnJ. Bertin &MichaelL.Smith,
1998 PrenticeHall, Inc.,
pp.650-651 Table 1.2b.6
depending
on the application.Of
theseequations,
the one thatbest
applies to this thesisis
Equation
(
2.4 ).
However,
it
is based
upon two yet undetermined values, thefree
streamvelocity
(V)
andthe mean aerodynamic chord(m.a.c.)
.The
free
streamvelocity
(V)
canbe
determined
easily
asV
=Ma
=0.77(295.07 m/s)
V
=227.20
m/s(508.24
mi/hr)
(2'5)
However,
determination
of the mean aerodynamic chord(m.a.c.)
of the airfoilsis slightly
more complicated.
The
m.a.c,by
definition,
is
the chord of animaginary
wing, withconstantchord,
having
thesame aerodynamic characteristics as theactualwing.7
The
m.a.c.is
givenby
2
m.a.c.=3
(
CrCt
^
V -R'^T
j
c
+c.root chc
CT
=tip
chordCR
=exposed root chord at side offuselage
In
other words,it is
away
ofaccounting for
thetapering
of awing from
root to tip.Since
exact valuesfor
thelength
of the chord at the root andtip
were unavailable, anapproximation of the m.a.c. was made
by dividing
thewing
area(S)
by
thewing
span(b),
which
is
calculatedtobe
__S__
576.0
m2b
67.91m
(2.7)
c=
8.4818
m(27.83
ft)
From this,
theReynoldsnumber canbe
calculatedasVc
(227.20
m/s)(8.4818m)
~~v~4.698136-5m2/s
(2.8)
RE
=41. 0E6
'
Definition from: FundamentalsofFlight.
2nd
The lift
coefficient canbe
determined
from
Equations
(
2.9
)
&
(
2.10
)
based
on thefact
that,
undercruising
conditions,
the totallift
(L)
oftheplane equalstheweight
(W).
CL
=-pV2S
(
2.9
y
cL
=w
3723161.5
N
l-pV2S
^(0.3027496
kg/m3)(227.20
m/s)2(576m2)
2'
2
CL
=0.8274
(2.10)
2.2.3
Wing
Skin Properties
The only
remaining
parameters requiredfor
succeeding
analyses arethosepertaining
to theactual skinthatmakesup
theairfoil shape.Due
tothefact
that theactual material composition oftheC5
skin wasunavailable,AL
7075-T6,
a common aluminumalloy
usedin
aircraftapplications, was usedherein. The
modulus ofelasticity
andinitial
thickness(it
willbe
alteredlater)
are givenin Table 2.3.
Property
Value (English
Units)
Value (SI
Units)
Modulus
ofElasticity
(E)
10.4 E6
lb/in2 71.7E9N/m2Thickness
(r)
1/32 in
7.9375 E-4
mTable2.3 Initialproperties ofAL 7075-T6skinonC5wing.
This
thesis assumes aconstant airfoil sizealong
thewing
with a chord equal to the m.a.c.Hence,
the pressuredistribution
remains constantalong
the wing.The
pressure coefficient(Cp)
distribution
calculatedby
XFOIL
is
based
on awing
of unit width, and an analysis ofa one-unit width section willbe
usedto representtheresultsalong
therest ofthewing.
This
unity-width sectionis broken up into many
smaller sections(elements),
which8
Equationobtainedfrom: FundamentalsofFlight,
2nd
Ed,
Richard S.Shevell,
1989Prentice-Hall,
Inc.,
pp.57,
Equation(3.9)
9
AL7075-T6properties obtainedfrom: MechanicsofMaterials.2nd
Ed.. Ferdinand Beer &E.Russel
are utilized
later
in
thefinite
element analysis.Figure 2.5
depicts
thedivision
of thewing
ndividuol
Element
Analyzed Section
into
sections as well asthedivision
ofthesesectionsinto individual
elements.Figure2.5
-Divisionof awing intosections andindividualelements
An underlying
assumptionin
thisthesisis
that thewing
section willbe divided into
alarge
number of elements.Hence,
each skin elementdepicted
in Figure 2.5
canbe
approximatedasflat.
Using
theflat
approximation and awidth(vv)
equal toone unit allowsfor
thecalculationofthearea moment ofinertia
(I)
/
= =(l
m)(7.9375-4
12
12
V A(2.11)
Z=4.16745-llm4
andthecross-sectional area
(A)
A
=wt =(l
m)(7.9375-4m)
A
=(7.9375-4m2)
(2.12)
for
each skinelement.Now
that theairfoilshave been
chosen, the coordinatedata
obtained, and all relevantparameters,
design
specifications, and approximationsdefined,
the nextstep is
tobegin
theCHAPTER
3
-DATA
SETUP
USING
MICROSOFTEXCEL 97 AND
VBA
3.1 THE NEED FOR MA CROS
Unfortunately,
a smallhurdle is
encountered evenbefore
beginning
analysis.This
arises
from
thefact
thatthedownloaded
airfoil coordinatedata files (see Appendix
A)
arenotin
aformat
thatis readily
usableby
XFOIL (coordinates from
trailing
edge toleading
edgealong
the upper surface andfrom
leading
edge totrailing
edgealong
thelower
surface).Thinking
ahead tofuture
applications, notknowing
if different
airfoilsmay be
neededinstead,
and theinherent
tediousness ofrearranging
thedata
spurred thewriting
of afew
short
VBA
macrosin Excel
thatwouldimport
thedata,
sortthroughit,
and preparefiles for
use
in XFOIL
andMATLAB.
The
macros are storedin
afile appropriately
namedworkhorse.xls, andthe
first
macrobegins
withtheclicking
ofthisbutton
ImportandConvert
AllC5 Airfoils
3.2 PREPARING THE DATA FOR
ANALYSIS
The
macro thatis
runis
calledConvAll,
andit
makes a call to another subroutinesimply
calledConv.
This
smaller subroutine sorts through the two columns ofdata for
each airfoil andreorganizesit into
thetrailing
edge-leading
edge-trailing
edgeformat.
The
processfollowed
by
theConvAll
macrois
presentedin
Figure 3.1.
The
codefor Conv
Ask for Total Numberof
Airfoils
Save Compilation File
as"allfoils.txt"
Ask for Airfoil -"-j Coordinates File Name
Open File
Rearrange Coordinate Data
(ConvMacro)
Add Data toa
Separate Compilation File
Save Individual Data File for
XFOIL
Next Airfoil
Figure 3.1- Flow
chartfortheConvAllmacro
Upon
exitfrom ConvAll
the airfoil coordinatedata is found
reorganizedinto
5
separate
files
(xc5a.dat,
xc5b.dat,xc5c.dat, xc5d.dat, xc5e.dat) that areeasily imported into
XFOIL,
and1 large
coordinatefile
(allfoils.txt)
thatis easily loaded
by
MATLAB.
At
thistime,
it
shouldbe
notedthatthiscompilationis only
usefulif
thesamenumberof coordinatesdescribes
all of the airfoils.This is due
toMATLAB's
inability
toimport
matrices withdifferent length
columns.Files
withdifferent length
columns couldbe incorporated into
theMATLAB
functions in
this thesis with some alterationsin
the codeitself.
However,
thevariable number of airfoil coordinates
between files
wouldnotimpact
thebasis
ofthisthesis,
because
each airfoilis
re-dividedinto
an equal number of equallength
skin elements, atwhich pointtheoriginal airfoil coordinates areno
longer
needed.The
nextstep is
todig
into
XFOIL
to obtain the pressure coefficientdistribution based
on the parametersdefined
CHAPTER
4
-XFOIL
4.1
GENERAL DESCRIPTION
OF THE PROGRAM
Given below
is
abrief
overview of theXFOIL
program as wasincluded in
theXFOIL 6.8 User Primer
writtenby
the program's creatorMark
Drela,
Professor,
MIT
Department
ofAeronautical
andAstronautical
Engineering.
The
theory
references andprimary
problemformulations
are givenin Appendices C.l
andC.2.
General Description
XFOIL is an interactive program for the design and analysis of subsonic
isolated airfoils. It consists of a collection of menu-driven routines
which perform various useful functions such as:
-Viscous (or
inviscid)
analysis of an existing airfoil, allowing* forced
or free transition
*
transitional separation bubble(s)
* limited
trailing edge separation
* lift
and
drag
predictions just beyond CLmax*
Karman-Tsien compressibility correction
- Airfoil design and redesign
by
interactive specification ofa surface speed distribution via screen cursor or mouse. Two
such facilities are implemented.
*
Full-Inverse, based on a complex-mapping formulation
* Mixed-Inverse, an extension of XFOIL 's basic panel method Full-inverse allows multi-point design, while Mixed-inverse allows
relatively strict geometry control over parts of the airfoil.
-Airfoil redesign
by
interactive specification ofnew geometric parameters such as *
new max thickness and/or camber
* new LE radius *
new TE thickness
*
new camber line via geometry specification *
new camber line via
loading
change specification*
flap
deflection*
explicit contour geometry (via screen cursor)
-Drag polar calculation with fixed or varying Reynolds and/or Mach numbers.
-Writing and reading of airfoil geometry and polar save files
(Versaplot-derivative plot package used)
XFOIL is best suited for use on a good workstation. A high-end PC is also
effective, but must run Unix to support the X-Windows graphics.The source
code of XFOIL is
Fortran,
77. The plotlibrary
also uses a few C routines for the X-Windows interface.4.2
USING XFOIL TO OBTAIN
THE PRESSURE COEFFICIENT
DISTRIBUTION
As
mentionedin
thelast
paragraph oftheprogramdescription,
XFOIL
is designed for
a
Unix-based
workstation.The
files
wereeasily
copied andcompiledon such asystem, andupon
running
the program,theuser seesthefollowing
startup
menu:XFOIL Version 6.8
QUIT Exit program
.OPER Direct operating point(s)
.MDES Complex mapping design routine
.QDES Surface speed design routine
.GDES Geometry design routine
SAVE f Write airfoil to labeled coordinate file
PSAV f Write airfoil to plain coordinate file
ISAV f Write airfoil to ISES coordinate file MSAV f Write airfoil to MSES coordinate file
REVE Reverse written-airfoil node ordering
LOAD f Read buffer airfoil from coordinate file
NORM Buffer airfoil normalization toggle
NACA i Set NACA 4,5-digit airfoil and buffer airfoil
PANE Regenerate paneled airfoil from buffer airfoil .PPAR Show/change paneling
.PLOP Plotting options
WDEF Write xfoil.def file with current settings
RDEF Read xfoil.def file
NAME s Change airfoil name
For
each airfoil, thefirst
thing
that needs tobe done is
toload
thatdata file into
XFOIL.
Once
theLOAD
commandis
given and thefilename
specified,XFOIL
reads thedata
and performs severalinitial
calculationsbased
onthosecoordinates as seenbelow.
XFOIL c> load xc5a.dat
Labeled airfoil file. Name: c5a
Number of input coordinate points: 61 Counterclockwise ordering
LE x,y = -0.00012 -0.00166
|
Chord = 1.00012 TE x,y = 1.00000 0.00000j
Blunt trailing edge. Gap = 0.00258
Paneling parameters used. . . Number of panel nodes 140 Panel
bunching
parameter 1.000 TE/LE paneldensity
ratio 0.150Refined-area/LE panel
density
ratio 0.200 Top side refined area x/c limits 1.000 1.000 Bottom side refined area x/c limits 1.000 1.000XFOIL c>
Now
that the airfoildata has been
loaded,
the nextstep is
to switch to theoperating
menu
for
analysis.XFOIL C> OPER
<cr> Return to TOP LEVEL
! Redo last ALFA,CLI,CL, ASEQ, CSEQ,VELS
PACC Auto polar accumulation enable/disable toggle PADD Add point to polar save file and/or
dump
file PFIL f Specify new polar save and/ordump
filenamesVISC r Viscous/Inviscid toggle
.VPAR Change BL parameter(s) RE r Change Reynolds number MACH r Change Mach number
TYPE i Change type of Mach,Re variation with CL INIT BL initialization
flag
toggleITER Change viscous-solution iteration limit
ALFA r Prescribe alpha
CLI r Prescribe inviscid CL
CL r Prescribe CL
CSEQ rrr Prescribe a sequence of CLs
GRID
Cp
vs x grid overlay togglePREF Reference
Cp
overlay enable/disable toggleFREF Reference CL,CD..
display
enable/disable toggleCPX Plot
Cp
vs xCPXS Save Cp vs x to a file
CPV Plot airfoil with pressure vectors (gee wiz)
-VPLO BL variable plots
.ANNO Annotate plot
HARD Hardcopy current plot
SIZE r Change plot-object size
CPMI r Change minimum
Cp
axis annotationFMOM Calculate
flap
hinge moment and forcesFNEW rr Set new
flap
hinge pointVELS rr Calculate velocity components at a point
DUMP f Output Ue,Dstar,Theta,Cf vs s,x,y to file
CPMN
CAVI
.OPERi c>
Report minimum Cp
Auto cavitation accumulation enable/disable
Once
withinthismenu, thesequenceof commandsis
asfollows:
r)
. OPERi2:
) .OPERi3;
)
. OPERi4;
)
. OPERi5;
) .OPERi6]
I .OPERiz
1 . OPERi8:
) .OPERic> alfa
(Give
aninitial
angle ofattack; a= 2 waschosen)
c> re
(Enter Reynolds Number from Chapter
2)
c> mach
(Enter
Mach Number from Chapter
2)
o vise
(Switch
from inviscid
toviscousanalysis)
c> cl
(Enter lift
coefficientfrom Chapter
2)
o cpx
(Plot
Cp
vs.x)0 hard
(Create
ahardcopy
PostScript
file
oftheCp
vs.xplot)c> cpxs
(Save
theactualCp
vs. xdata
toafile)
-2.D
-1.5
P
-1.0
-0.5
0.0
0. 5
1. D
XFOIL
V6.B c5b
Ma 0.7700
Re - 41.
00-10
a 3.8291 c, = 0.8274
CM
--D.098
Cn O.DD790 L/O= 1 10.33 Nrr- 9. DO
Figure 4.1- PlotofPressureCoefficientvs.X- xc5a.ps
The final
command was notincluded
in
the original software.However
it
wasnecessary in
ordertoobtain aworking data
setthatcouldbe easily imported into MATLAB.
By
collecting bits
and pieces ofother subroutinesin
severallocations in
thesource code, thisadditional
CPXS
subroutine was createdby
the author ofthis thesis to write the appropriateCp
vs. xdata
to afile.
The
actual codefor
this subroutineis
givenin Appendix C.3.
This
additionalcommand would
be
enteredasfollows
.OPERi c> CPXS xc5a.cpx
where xc5a.cpx
is
thefilename
where thedata
is
stored.Once
all ofthe airfoilshave
been
analyzed, the end result should
be five data files
(xc5a.cpx,
xcSb.cpx, xc5c.cpx, xc5d.cpx,xc5e.cpx),
displayed in Appendix
C.4,
andfive PostScript files
(xc5a.ps,
xc5b.ps, xc5c.ps,Note
that throughout the entireXFOIL
analysis, noscaling has been
done
to theoriginal airfoil
data. All
calculationshave been
done using
an airfoil ofthecorrectshape,but
with a unit chord.
In
terms of the pressure coefficientdistribution though,
the results arebased entirely
on the shape ofthe airfoil, not the size. Therefore theseCp
valuesapply
toany scaling
ofthechord(x-values).
Once
theXFOIL
analysisis
complete, another quick macroin
Excel will prepare theCHAPTER
5
-MICROSOFT
EXCEL 97 AND
VBA
REVISITED
5.1
GROUPCPX MACRO
At
this point of the variablewing geometry
analysis, there exists onelarge
file,
allfoils.txt, which contains the airfoil coordinate
information
for
all the airfoils, andfive
separate
files
that contain pressure coefficientdistributions.
Combining
thesefive files into
one
large file
(allcpx.txt)
proves much more efficientfor
file
management purposes.Again,
this
is providing
allfiles
arethesamelength,
whichthey
arein
this casebecause XFOIL
useda
default 140
panels around each airfoil.The
bulk
of theVBA
codenecessary for
the currentdata
consolidation taskhad
already been
createdin
theConvAll
macro mentioned earlier(see Chapter 3).
After
suitableperturbation, the new
GroupCpx
macrois
createdin
the workhorse.xlsfile.
GroupCpx is
invoked
with a clickofthebutton
Importand
Group
AllPressure
Distributions
The Visual Basic
codefor
this macro and the variables usedin
that code canbe found in
Appendix
B. The basic
processthismacro worksthroughis
givenin Figure 5.1.
Define
Variables
AskforTotal Numberof
Airfoils
AskforCp
*-| DistributionFile 1
Name
OpenFile
Add Data toa Separate CompilationFile
Next Airfoil -"
Save
CompilationFile as"allcpx.txt"
5.2
EXPLANATION
OF GROUPCPX MACRO
The
structure andfunction
ofthismacrois
practically identical
to that oftheConvAll
macro
from Chapter
3. The only
majordifferences
are:Instead
ofimporting
airfoilcoordinates, thismacroimports
Cp
distributions
There is
no callto thesmallerConv
macroThe
singlefile
generatedfrom
thisis
calledallcpx.txtUpon
exitfrom
theGroupCpx
macro, allinformation regarding
the pressurecoefficient
(Cp)
distribution is found
condensedin
to the allcpx.txtfile.
This
allcpx.txtfile,
andthe allfoils.txt airfoil coordinates
file
are nextimported into
MATLAB,
wherethey
are usedin
a sequence ofMATLAB
R routines which work towards the end goal ofdetermining
an optimal nodal support
distribution
around the airfoils.A
sample of such a supportdistribution is depicted in Figure 2.1.
w
-1
-3-Original Mapped Airfoil
Displacements
O Supports
e o- o e o o
44 Supports Required
Avsrage
Spacing
=0.39105mooo e
6-2 3 4 5 6
Actual
Chord,
m.a.c. =8.4818mCHAPTER
6
-MATLAB
ANALYSIS
6.1 BRIEF
INTRODUCTION
TO
MATLABAs
mentionedbriefly
in Chapter
1,
thebulk
of theprogramming
for
this thesisis
accomplished
here.
MATLABallowsthreebasic
means ofentering information:
Command
line
Script
m-fileFunction
m-fileThe
commandline is
the mostdirect way
ofworking in MATLAB.
However,
if
along
series of commands ormany iterations
are required, thenworking solely
at thecommand
line
will not suffice.This
thesis makes use ofthe commandline only
briefly
tostarttheanalysis process andtomonitor
its
progress.The
script m-fileis,
by
far,
a moreefficientway
ofmanaging information. An
m-fileis simply
atextfile
writtenin
aformat
thatis
understood andrunby
MATLAB.
A
scriptm-file
is
basically
theequivalent oftyping
allthecommandsthatwouldbe
enteredin
orderatthecommand
line.
This
caters to therapiddetermination
ofresults, and a greatdeal
ofeasein making
alterations.Also,
the script m-file providesfor
the use of certain commonprogramming
tools:for
loops,
whileloops,
if
statements, etc.,which when usedproperly,canbe
quite powerful.The
current analysis utilizes one main script m-file(Master.m)
to controltheoverall process.
The
function
m-fileis very
similarto thescript m-file exceptfor
thefact
thatfunction
m-files are
typically
genericin
design,
andusually
require specifictypes ofinput
toproducespecific outputs.
Another
majordifference between
the script m-file andthefunction
m-fileis
thehandling
of variables.A
variable assignedin
ascriptm-fileis
automatically
assigned ablock
ofmemory
andis
placedin
the active workspace, whereas the variables usedin
function
m-files are clearedas soon asthefunction
is
complete.This
thesis employs severalfunction
m-files(Parameters.m,
ArcApprox.m,
MapToP.m,
GetAlpha.m,
Loading.m,
6.2
OVERVIEW
OF THE
ANALYSIS
PROCESS
(MASTER.M)
The
entire analysis processis
governedby
thescript m-fileMaster.m. This is
themaincontroller of all the
input
and output to andfrom
theindividual functions.
Master.m it
requires no
input
and produces no official "output".However,
sinceit is
a scriptfile,
thevariables that are assigned
here
are storedin
the active workspace, which aidsin debugging.
Master.m
also serves as a goodlocation
to placeplotting
commands tographically
representthe results
from
each operation.For
the sake ofsimplicity, theonly plotting
commands thatare
included in
thecode arethose atthevery
endthatdisplay
thefinal
nodal supportspacing
aroundtheairfoil.
The
actual codefor
Master.m,
andthevariablesutilizedherein
are givenin Appendix
D.l. In its
mostsimpleform,
theanalysis processtakes theform displayed in Figure 6.1.
Clear Previous
Results
Set Global Variables
SetParameters (Parameters.m)
Load Airfoil Coordinates (allfoils.txt)
Calculate Perimeter (ArcApprox.m)
Determine Perimeter Scale
Factor
LoadCp Distribution
(allcpx.txt)
Scale Coordinates andCpDistribution Accordingly
Re-determine Perimeter (ArcApprox.m)
Calculate ElementLength
MapAirfoil into Elements (MapToP.m)
DetermineLeading EdgeNode
Determine Global ElementOrientation
(GetAlpha.m)
EvaluateNodal Loading (Loading.m)
LowerSurface
Store Nodal Coordinateand
LoadingData
The
flow
chart givenin
Figure 6.1 is
synonymous with thefollowing
process, whichis
explained
in detail in
Section 6.3:
1)
Type
"Master"at the command
line.
This
immediately
callsup
andbegins
to run theMaster.m
scriptfile.
2)
The
Parameters
function,
and allthepertinent variables are assigned values.3)
The
allfoils.txtfile
is
loaded,
andthetotalnumber of airfoilsis determined.
4)
A
quickdetermination
of the perimeter of the airfoilis determined
by
the ArcApproxfunction. From
thisfunction,
a scalefactor
is
calculatedfor
each airfoil so that allhave
thesame perimeter.
5)
The
allcpx.fileis
loaded,
and each pressure coefficientdistribution
and each airfoil arescaled.
6)
Another
pass around the airfoils with theArcApprox
function
creates several variablesused
in mapping
(meshing)
theairfoil.7)
Each
airfoilis
mappedinto
a set number of equallength
elements around theperimeterusing
theMapToP
function.
8)
The
orientation ofeach ofthese elements with respect to a global coordinate systemis
determined using
theGetAlpha
function.
9)
The
pressure coefficientdistribution is
fit
with a series of cubic polynomialsin
theLoading
function
as ameansofdetermining
apressure valueateachelement node.10)
The
airfoils are scaledtoactual sizefor finite
elementanalysis.11)
The
finite
element analysisis
performedusing
theFEAJDpt, Opt,
andFEA
functions
starting from
theleading
edge ofthe airfoil andtraveling
toward thetrailing
edge,first
along
thelower
surface, then theupper.The FEAJDpt function
controls the optimization of supportspacing
across allfive
airfoils,suchthatall airfoilsaretaken
into
accountin
theanalysis.The Opt function
employs a zero-order optimization method to maximize eachsupport
spacing
whilestaying
withinaspecified allowableskindeflection.
The FEA function does
theactualfinite
element analysisfor
eachiteration.
12)
The
results of the optimization are saved tofiles
anddisplayed
on a plot ofthe original6.3
DESCRIPTION
OF
INDIVIDUAL
FUNCTIONS
The
following
sections are structured such that eachfunction
m-fileis discussed
separately,
and each sectionexplains thetheory
behind
thatparticularfunction.
6.3.1
Setting
the
Relevant Parameters
(Parameters.m)
This
algorithmis designed
tobe
the singlefile
that contains all oftheparameters thatwere subject to change
during
subsequent optimizationiterations.
This
algorithmis
wherethe total number of
finite
elementsdesired
canbe
entered.It is
also where the aircraftspecific
data,
both
physical and aerodynamicis
entered.
A few preliminary
calculations are performed within this algorithmin
terms oflift
coefficient,Reynolds
number, and areamoment of
inertia
to name afew.
Although many
parameters canbe
entered ordetermined
within this algorithm thereare
only
ahandful
required to performthe current analysis.The
Parameters.m function
requires noinput,
but it does
produce several outputitems including:
Total
numberofelementsin
eachairfoil
(Nelm)
Total
number of nodesin
eachairfoil
(K)
Dynamic
pressure(q)
Static
(freestream)
pressure(po)
Modulus
ofElasticity
(E)
Area
moment ofinertia
(II)
Cross-sectional
area(A)
Allowable deflection
(deflall)
Mean
aerodynamic chord(mac)
Lift
coefficient(CI)
Reynolds
number(Re)
The
codefor
theParameters.m
file,
including
atableof all the variablesused,canbe
found
in Appendix D.2. The
orderof variable assignmentis
givenin
Figure 6.2.
6.3.2
Approximating
the
Airfoil Perimeter
(ArcApprox.m)
The
approximation of the airfoil perimeteris probably
one of the mostimportant
steps
in
the entire multiple airfoil analysis process.However,
it
poses quite a challenge aswell.
The
challengelies
in
the transformation offairly
random sets of airfoil shapesin
theform
of x,z-coordinate pairsinto something
that canbe defined
mathematically, and storedfor further
analysis.The
ultimate goal ofthisfunction is
totake thefairly
segmenteddata,
whichdefines
airfoil shape, as shown
in Figure
6.3,
and somehowdescribe it mathematically
such thatit is
reasonably
continuous all theway
aroundtheperimeter oftheairfoil.0.3
i 1 1 1 1 1
-0.2
-0.1
</> ID
c j^
x*x* xxxxx X
X X X X X X X X X X
X X X
X O
E 0
t
x*xx
XXxxx X X X X X X X X X X
X X
X X X
A
D -0.1
-0.2
-0.3
1 ' 1
-0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1
x-dim,(%chord)
Figure 6.3- Plotof c5a airfoil coordinates
Perhaps
thefirst
thing
thatcomes to mind whenattempting
torepresentdiscrete data
data
thatis
supposed to adhere to someanalytically determined
solution.In
this casehowever,
thereare endless possibilitiesfor
airfoil shapes,andtherefore,
no setanalyticalway
to representthe
data.
This
doesn't completely
rule out thecurvefit
concept.It just
presentsthe
necessity
to use several curvefits
to represent the airfoil perimeter, where the curvefitting
parameters are storedfor
eachfit.
Now,
whenit
comes tofitting
afew
points at atime,
thefirst
method thatusually
comes to mind
is
a cubic polynomial curvefit.
The basic
premise of thisis
to takefour
known
points andfit
a cubic polynomial through them.Using
each consecutive set offour
data
points, one couldconceivably
make a somewhat continuoustrip
from
trailing
edge toleading
edge totrailing
edge;storing
coefficients with eachfit.
However,
every fourth data
point would
potentially have
a slopediscontinuity
due
totwounrelated polynomials meeting.A
possibleremedy may be
to useoverlapping
curvefits
andonly
store coefficientsto thosepoints
in
the middle ofthepolynomial,but
thatincreases
the number of curvefits
required,and
in turn,
the number of coefficients to store and manage.Polynomial
coefficients alsohave
theinherent
tendency
of notlending
themselves well tointuitively
envisioning
thecurve
itself.
In
addition, this process wouldhave
tobe broken up between
the upper andlower
surface,as thecubic curvefit
couldn'twrap
aroundtheleading
edge wherethe slopeis
infinite.
The
aforementioned are allfairly
strong
arguments against the cubic polynomialcurve
fitting
of the airfoil coordinates,but probably
the strongest argumentlies in
theforethought
of what the next analysisstep is
once the airfoilhas
been
successfully
approximatedas a continuous shape.
That
nextstep hinges
onone majordecision
thatmustbe
made atthestart of analysis.If
thewing
under analysisis
to achieve each ofthedifferent
airfoil shapes accurately,one ofthe
following
three thingsmusthappen:
Chord
remainsthe same,perimeterchangesPerimeterremains the same,chord changes
Both
thechordandperimeter changeAlthough it
providesfor
a greatdeal
offlexibility,
allowing
both
the chord andperimeter to change
introduces
an unnecessarycomplexity in
problemformulation
andnarrows the choiceto whetherperimeter or chord should
be
held
constant aswing geometry
adapts
from
one airfoil shape to the next.At
first,
the obvious choicemay be
tohold
thechordconstant, since all theairfoils
already
have unity
chordlength.
However,
allowing
theperimeter to
vary
presents the obvious problem ofrequiring
the addition or elimination of surface skin material to achieve thedifferent
airfoil shapes.Also,
dividing
each airfoil perimeterinto
an equal number of elementsforces
each airfoil tohave different
elementlengths,
which complicates thefinite
element analysis.Given
these arguments, theonly
remaining logical
choiceis
tokeep
the perimeter constant, and allowonly
the chord to change.This doesn't
require the addition ordeletion
of surface skin material,just
its
manipulation.All
of the elementlengths
wouldbe
equal across all airfoil shapes.And,
increasing
ordecreasing
thechordlength from
withinthewing does
seem tobe
a reasonable method ofachieving
thedesired
shape.With
thedecision
tokeep
the perimeter constant, the original problem ofhow
to representtheairfoildata continuously has
anew constraint.In
ordertoestablishthevalue ofthe constant perimeter, a means must
be
devised
to measure the perimeter.This
measurement wouldbe difficult using
a cubic polynomial process.In
order to get a reasonable estimateoftheperimeter, the airfoil would need tobe divided up into
thousands ofdata
points.Then
thedistances between
all thosepoints wouldhave
tobe determined
and added up.Probably
one of the most efficient methods ofapproximating
the perimeter of a rounded or curvedline is
by
establishing
an arc thatbest
fits
that curve, andcalculating its
arclength.
If
the objectis
a circle, the perimeter(circumference)
canbe determined
withonly
one variable, the radius.However,
since an airfoil shapedoes
notclosely
resemble a circle, numerous arcs willbe necessary
todescribe its
shape.The ArcApprox function is
employedtosub-segmentanairfoilinto
numerous circulararcs.X1.Y1
X2.Y2
X1.Y1
Xc.Yc
X2.Y2
Xc.Yc
X3.Y3
Figure6.4- Arcsdefined
by
3points(left)
and a center and2points(right)
The
approximation ofthe shape ofthe airfoilsin
this thesis utilizesboth
methods.First,
in
orderto
define
an arcusing
three points on the surface, the center of the arc(Xc,Yc),
must stillbe
determined.
The geometry
ofan arc requiresthat thecenterlies
at theintersection
ofthe perpendicular
bisectors
oftwolines connecting
thefirst
andthird points to the second,respectively, as
displayed
in Figure 6.5.
X1.Y1