Esempio n. 1
0
#==============================================================================#
# AIRCRAFT MODEL
#==============================================================================#
# Create the Aircraft from the ACTailAircraft class imported above from Aerothon
Aircraft = ACTailAircraft()
#Aircraft = ACTLenAircraft()
Aircraft.name = 'Regular 2019: The Fellowship of the Wing'

# Assign parts we imported above (generated outside of this script) to aircraft
Aircraft.SetWing(Wing)
Aircraft.SetFuselage(Fuselage)
Aircraft.SetPropulsion(Propulsion)

# Wing alignment
Aircraft.WingFuseFrac = 0  # 0.0 @ bottom of fuselage; 1.0 @ top of fuselage
Aircraft.Wing.i = 0 * ARCDEG  # induced angle of attack, wing incidence

#Aircraft.Wing.X[0] = 20*IN
# Engine alignment (height)
Aircraft.EngineAlign = 0.72  #this doesnt seem to be doing anything

# Aircraft Properties
EmptyWeight = 17 * LBF  # dechellis: estimated airframe weight
TennisBalls = 60.0  # dechellis: number of tennis balls flying
BallWeight = 0.131333 * LBF  # dechellis: weight of 1 tennis ball
PayloadWeight = (0.50 * LBF +
                 BallWeight) * TennisBalls  # dechellis: "passenger luggage"
Fuselage.PayBay.TennisBalls.Weight = BallWeight * TennisBalls  # Reassign tennis ball weight distribution based off desired loading
Aircraft.TotalWeight = PayloadWeight + EmptyWeight  # needed for calculations
Aircraft.TippingAngle = 10 * ARCDEG  # Black line on AC plot, set to Lift Off AoA
Esempio n. 2
0
from Adv2020Aircraft.Aircraft_Core_Design.Propulsion import Propulsion
from Adv2020Aircraft.Aircraft_Core_Design.Wing import Wing
import pylab as pyl

#
# Create the Aircraft from the ACTailAircraft class
Aircraft = ACTailAircraft()
Aircraft.name = 'AdvAeroCats_2020'
#
# Assign the already generated parts
Aircraft.SetFuselage(Fuselage)
Aircraft.SetPropulsion(Propulsion)
Aircraft.SetWing(Wing)
#
# Position the wing on the top of the fuselage
Aircraft.WingFuseFrac = 0.3
Aircraft.Wing.i = 0 * ARCDEG
#
# Aircraft Properties
# Total weight is going to change
Aircraft.TotalWeight = 54 * LBF
# Engine align
Aircraft.EngineAlign = 0

Aircraft.TippingAngle = 15 * ARCDEG  # Black line on AC plot
Aircraft.RotationAngle = 12 * ARCDEG  # Red line on AC plot
Aircraft.Alpha_Groundroll = 0 * ARCDEG

Aircraft.CMSlopeAt = (0 * ARCDEG, 10 * ARCDEG)
Aircraft.CLSlopeAt = (0 * ARCDEG, 15 * ARCDEG)
Aircraft.CLHTSlopeAt = (0 * ARCDEG, 15 * ARCDEG)
# Create the Aircraft from the ACTailAircraft class
#``
Aircraft = ACTailAircraft()
Aircraft.name = 'AdvAeroCats_2014'

#
# Assign the already generated parts
#
Aircraft.SetFuselage(Fuselage)
Aircraft.SetPropulsion(Propulsion)
Aircraft.SetWing(Wing)

#
# Position the wing on the top of the fuselage
#
Aircraft.WingFuseFrac = 1.05
Aircraft.Wing.i = 0 * ARCDEG
#
# Aircraft Properties
# Total weight is going to change
Aircraft.TotalWeight = 27 * LBF
# Engine align
Aircraft.EngineAlign = 1.0

Aircraft.TippingAngle = 8.5 * ARCDEG  # Black line on AC plot, set to Lift Off AoA
Aircraft.RotationAngle = 15 * ARCDEG  # Red line on AC plot, set 15 deg
Aircraft.Alpha_Groundroll = 0 * ARCDEG

Aircraft.CMSlopeAt = (2 * ARCDEG, 10 * ARCDEG)
Aircraft.CLSlopeAt = (3 * ARCDEG, 14 * ARCDEG)
Aircraft.CLHTSlopeAt = (-5 * ARCDEG, 10 * ARCDEG)