baff.station

Classes

baff.station.Aero

class baff.station.Aero

Bases: baff.station.Base

BEAMSTATION Summary of this class goes here Detailed explanation goes here

Constructor Summary
Aero(eta, chord, beamLoc, opts)

AERO - constructor for an Aero wing Station

Property Summary
Airfoil
BeamLoc
Chord
LiftCurveSlope
LinearDensity

inertial properties

LinearInertia

spanwise moment of inertia matrix

MassLoc

location of mass as percentage of chord

ThicknessRatio
Twist
Method Summary
static Blank(N)

BLANK Create default station Array of N stations

Duplicate(EtaArray)

DUPLICATE make copies of a scaler Station

FromBaff(filepath, loc)

FROMBAFF Summary of this function goes here Detailed explanation goes here

GetIndex(i)
GetMGC(target)

GETMGCS - get wing mean geometric chord MGC is the chord at half wing section area.

GetMGCs()

GETMGCS - get wing mean geometric chord between each station MGC is the chord at half wing section area.

GetMeanChord()

GetMeanChord - Wing mean chord

GetNormArea()

GETNORMAREA - Gets span normalised planfrom area

GetNormAreas()

GETNORMAREAs - Gets span normalised planfrom areas between each station

GetNormVolume(cEtas, Etas)

GETNORMVOLUME get wing normalised volume get wing norm. volume with arguments - cEtas (Default = [0 1]): chordwise pos to integrate between - Etas (Default [nan nan]): spanwise pos to integrate. nan mean take min / max value of stations.

GetNormVolumes(cEtas, Etas)

GETNORMVOLUME get wing normalised volumes get wing norm. volumes with arguments - cEtas (Default = [0 1]): chordwise pos to integrate between - Etas (Default [nan nan]): spanwise pos to integrate. nan mean take min / max value of stations.

GetNormWettedArea()

GetNormWettedArea - gets span normailsed surface area of wing

GetNormWettedAreas()

GetNormWettedAreas - gets span normailsed surface area of wing sections

GetPos(eta, pChord)

GETPOS - gets Norm. X pos of a point and eta and pChord % Chord

HasMass()

HASMASS - returns boolean value dependent on if stations have mass

SetIndex(i, val)
TemplateHdf5(filepath, loc)

create placeholders

ToBaff(filepath, loc)

write mass specific items

eq(obj1, obj2)
getSubNormArea(x)

getSubNormArea - gets span normalised planform area upto an eta of x

horzcat(varargin)
interpolate(N, method, PreserveOld)

INTERPOLATE interpolate stations at different etas INTERPOLATE - interpolates in one of three methods depending on “method”: “eta”: N is an array of etas to interpolate at “linear”: N is a scalar of the number of linear distributed points to interpolate at “cosine”: same as linear but with cosine distribution

the argument PereserveOld will ensure the original Etas are in the output if set to true (default false)

baff.station.Base

class baff.station.Base

Bases: handle, matlab.mixin.Copyable

Constructor Summary
Base(eta)
Property Summary
Eta
EtaDir
N
StationDir
Method Summary
GetLocus()

gets the length of the locus formed by the stations and returns the normalised positon of the stations along the locus

GetPos(eta)

check we have an array of sorted stations

InterpolateEtas(N, method, PreserveOld)

INTERPOLATEETAS get list of etas to interpolate at interpolates in one of three methods depending on “method”: “eta”: N is an array of etas to interpolate at “linear”: N is a scalar of the number of linear distributed points to interpolate at “cosine”: same as linear but with cosine distribution

the argument PereserveOld will ensure the original Etas are in the output if set to true (default false)

Normalise(NormEta)
and(obj1, obj2)
length()

overloads the length operator

minus(val)
mtimes(val)
ne(obj1, obj2)
plus(val)
rdivide(val)
setDebugMode(enable)

Get the path to the @Base folder

baff.station.Beam

class baff.station.Beam

Bases: baff.station.Base

BEAMSTATION Creates a beam station x direction along beam

Constructor Summary
Beam(eta, opts)

BEAM - Constructor for a Beam Station

Property Summary
A

cross sectional area

I

2nd Moment of Area tensor

J

Torsional Constant

Mat
tau

elongation tensor

Method Summary
static Bar(eta, height, width, opts)
static Blank(N)

BLANK Create default station Array of N stations

Duplicate(EtaArray)

DUPLICATE make copies of a scaler Station

FromBaff(filepath, loc)

FROMBAFF Summary of this function goes here Detailed explanation goes here

GetEtaCoM()
GetEtaMass()
GetIndex(i)
SetIndex(i, val)
TemplateHdf5(filepath, loc)

create placeholders

ToBaff(filepath, loc)

write mass specific items

eq(obj1, obj2)
horzcat(varargin)
interpolate(N, method, PreserveOld)

INTERPOLATE interpolate stations at different etas INTERPOLATE - interpolates in one of three methods depending on “method”: “eta”: N is an array of etas to interpolate at “linear”: N is a scalar of the number of linear distributed points to interpolate at

the argument PereserveOld will ensure the original Etas are in the output if set to true (default false)

baff.station.Body

class baff.station.Body

Bases: baff.station.Beam

BEAMSTATION Summary of this class goes here Detailed explanation goes here

Constructor Summary
Body(eta, BodyOpts, opts)
Property Summary
Radius
Method Summary
static Blank(N)

BLANK Create default station Array of N stations

Duplicate(EtaArray)

DUPLICATE make copies of a scaler Station

FromBaff(filepath, loc)

FROMBAFF Summary of this function goes here Detailed explanation goes here

GetIndex(i)
GetNormVolume()
GetNormVolumes()
NormVolume(etaLim)
NormWettedArea()
SetIndex(i, val)
TemplateHdf5(filepath, loc)

create placeholders

ToBaff(filepath, loc)

write mass specific items

eq(obj1, obj2)
horzcat(varargin)
interpolate(N, method, PreserveOld)

INTERPOLATE interpolate stations at different etas INTERPOLATE - interpolates in one of three methods depending on “method”: “eta”: N is an array of etas to interpolate at “linear”: N is a scalar of the number of linear distributed points to interpolate at

the argument PereserveOld will ensure the original Etas are in the output if set to true (default false)