ads.fe

Classes

ads.fe.AbsCoordSys

class ads.fe.AbsCoordSys

Bases: ads.fe.Element

COORDSYS Summary of this class goes here Detailed explanation goes here

Property Summary
A

rotation Matrix

ID
InputCoordSys
Origin
isBase
Method Summary
eq(obj2)

ads.fe.AeroSettings

class ads.fe.AeroSettings

Bases: ads.fe.Element

BEAM Summary of this class goes here Detailed explanation goes here

Constructor Summary
AeroSettings(RefC, RefRho, RefB, RefS, opts)
Property Summary
ACSID
RCSID
RefB
RefC
RefRho
RefS
SymXY
SymXZ
Velocity
Method Summary
Export(fid)
UpdateID(ids)

ads.fe.AeroSurface

class ads.fe.AeroSurface

Bases: ads.fe.Element

MASS Summary of this class goes here Detailed explanation goes here

Constructor Summary
AeroSurface(Points, ChordwisePos, Chords, opts)
Property Summary
AeroCoordSys
Area
CentroidsGlobal
ChordVecs
Chords
ChordwisePos
ControlSurface
CoordSys
CrossEta
DisplacementPoints
EtaChord
EtaSpan
HingeEta

if not nan specifies the eta value of the hinge for a TE control surface

ID
IsWall

if true the surface is a wall and will have zero downwash applied to it regardless of angle

LiftCurveSlope
MomentCurveSlope
PID
Points
SID
SplineMeth
SplineType
StructuralPoints
Twists
nChord
nPanels
nSpan
Method Summary
Export(fid)
HingeIdx()
SetPanelNumbers(N, AspectRatio, Dependent)
UpdateID(ids)
drawElement()
getHingeCoordSys()
get_centroids()

get total number of panels

get_correction_factor()
get_normal()
get_panelIDs()
get_panel_coords()
get_twists()

ads.fe.BaseCoordSys

class ads.fe.BaseCoordSys

Bases: ads.fe.AbsCoordSys

COORDSYS Summary of this class goes here Detailed explanation goes here

Constructor Summary
BaseCoordSys()
Property Summary
A

rotation Matrix

ID
InputCoordSys
Origin
isBase
Method Summary
Export(fid)
UpdateID(ids)
static get()
getAglobal()
getPointGlobal(p)

ads.fe.Beam

class ads.fe.Beam

Bases: ads.fe.Element

BEAM Summary of this class goes here Detailed explanation goes here

Constructor Summary
Beam(stations, opts)
Property Summary
ExportLongFormat
ExportType
G0
ID
K
PID
Stations
yDir
Method Summary
static Bar(PointA, PointB, height, width, Material)
EIDfromEta(eta)

function to return the Element ID(s) (EIDs) of the beam element(s) containing the baff beam station(S) eta. EIDs is a 2xN array where N is the length of eta. For a given column of EIDs, the two rows are identical UNLESS eta lies exactly on a GRID (i.e. an element boundary). In this case, the first row contains the INBD element, and the second row the OUTBD one. Returns NaN if beam.Stations were not both created using ads.fe.BeamStation.FromBaffStation, or if eta is outside the range covered by obj.Beams. The function should also be robust to the beams not being sorted in order of eta… I think….

Export(fid)
ExportToCBAR(fid)
ExportToCBEAM(fid)
static FromBaffStations(sts, ps, Mat)
GetMass()
UpdateID(ids)
drawElement()
getEtaOrder()

order is an array the same length as obj. order(i) gives the index of the ith beam element in order of ascending eta from the wing root. So if order(4) = j then obj(j) is the 4th beam element from the root. The starting eta of each element is used to conduct the sorting operation. you can use this output to get anything you like from fe.beams in eta order, e.g. EIDs = [fe.beams(order).ID]

ads.fe.BeamStation

class ads.fe.BeamStation

BEAMSTATION Summary of this class goes here Detailed explanation goes here

Constructor Summary
BeamStation(Point, opts)
Property Summary
A
C

Added properties to carry around stress recovery points. As you would expect, these are the [1,2] coordinates of the C, D E and F recovery points as per the NASTRAN PBEAM docs. The arc length information comes from the rest of the station definition.

D
E
F
I
J
Mat
Point
eta

Add this so we can easily keep track of where an ads element was in a BAFF wing.

Method Summary
static Bar(Point, height, width, opts)
static FromBaffStation(st, p, Mat, opts)
ToMatranSection(startPoint, endPoint)

ads.fe.Component

class ads.fe.Component

Bases: handle

Property Summary
AeroSettings
AeroSurfaces
Beams
Components
Constraints
ControlSurfaces
CoordSys
Forces
Hinges
Inertias
Masses
Materials
Moments
Name
Points
RigidBars
RigidBodyElements
Shells
Method Summary
Export(filename)
Flatten()
GetMass()
UpdateIDs()
UpdateTag(tag)
draw(fig_handle)
drawElement()
plus(obj1, obj2)

ads.fe.Constraint

class ads.fe.Constraint

Bases: ads.fe.Element

Constructor Summary
Constraint(Point, ComponentNumbers)
Property Summary
ComponentNumbers
ID
Point
SupportNumbers
Method Summary
Export(fid)
UpdateID(ids)
drawElement()

ads.fe.ControlSurface

class ads.fe.ControlSurface

Bases: ads.fe.Element

MASS Summary of this class goes here Detailed explanation goes here

Constructor Summary
ControlSurface(Name, opts)
Property Summary
AeroSurfaces
CID
ControllerID
Deflection

nan sets the surface to free, any other value will lock it

DeflectionLimit
LinkedCoefficent
LinkedSurface

name of linked surface

SID
SID_struct
StructuralPoints
Method Summary
Export(fid)
RefArea()
RefChord()
UpdateID(ids)

ads.fe.CoordSys

class ads.fe.CoordSys

Bases: ads.fe.AbsCoordSys

COORDSYS Summary of this class goes here Detailed explanation goes here

Constructor Summary
CoordSys(opts)
Property Summary
A

rotation Matrix

ID
InputCoordSys
Origin
isBase
Method Summary
static Base()
Export(fid)
UpdateID(ids)
eq(obj2)
getAglobal()
getOriginGlobal()
getPointGlobal(p)
getPointGlobal2Local(p)

ads.fe.Element

class ads.fe.Element

Bases: matlab.mixin.Heterogeneous, handle

COMPONENT Summary of this class goes here Detailed explanation goes here

Constructor Summary
Element(opts)
Property Summary
Name
Tag
Method Summary
Export(fid)
GetMass()
ToFE()
UpdateID(ids)
drawElement()

ads.fe.Force

class ads.fe.Force

Bases: ads.fe.Element

MASS Summary of this class goes here Detailed explanation goes here

Constructor Summary
Force(F, Point)
Property Summary
F
ID
Point
Method Summary
Export(fid)
UpdateID(ids)

ads.fe.Hinge

class ads.fe.Hinge

Bases: ads.fe.Element

Constructor Summary
Hinge(Points, CoordSys, K, C, opts)
Property Summary
C
CoordSys
ID
K
PID
Points
isLocked
Method Summary
Export(fid)
UpdateID(ids)
drawElement()

ads.fe.IDs

class ads.fe.IDs

IDS Summary of this class goes here Detailed explanation goes here

Property Summary
CID
ControllerID
EID
ExtremeID
GID
MID
PID
SID
TID

ads.fe.Inertia

class ads.fe.Inertia

Bases: ads.fe.Element

MASS Summary of this class goes here Detailed explanation goes here

Constructor Summary
Inertia(InertiaTensor, Point)
Property Summary
ID
InertiaTensor
Point
Method Summary
Export(fid)
UpdateID(ids)
drawElement()

ads.fe.JointType

class ads.fe.JointType

JOINTS Summary of this class goes here Detailed explanation goes here

Property Summary
Radius

TODO Interp should be an rbe3 for all points within this radius

ads.fe.Mass

class ads.fe.Mass

Bases: ads.fe.Element

MASS Summary of this class goes here Detailed explanation goes here

Constructor Summary
Mass(mass, Point, opts)
Property Summary
ID
InertiaTensor
Point
mass
Method Summary
Export(fid)
GetMass()
UpdateID(ids)
drawElement()

ads.fe.Material

class ads.fe.Material

Bases: ads.fe.Element

MATERIAL Summary of this class goes here Detailed explanation goes here

Constructor Summary
Material(E, nu, rho, opts)
Property Summary
E
G
ID
nu
rho
yield
Method Summary
static Aluminium()
Export(fid)
static FromBaffMat(mat)
static Stainless304()
static Stiff()
UpdateID(ids)

ads.fe.Moment

class ads.fe.Moment

Bases: ads.fe.Element

MASS Summary of this class goes here Detailed explanation goes here

Constructor Summary
Moment(M, Point)
Property Summary
ID
M
Point
Method Summary
Export(fid)
UpdateID(ids)

ads.fe.Point

class ads.fe.Point

Bases: matlab.mixin.SetGet, ads.fe.Element

Constructor Summary
Point(X, opts)
Property Summary
ExportinGlobal

when true the point is exported in the global coordinate system (when written to a bdf file)

GlobalPos
ID
InputCoordSys
OutputCoordSys
X
isAnchorPoint

can parents attach to this point

isAttachmentPoint

can children attach to this point

Method Summary
Export(fid)
GRIDfromEta(baffStation, eta)

Return the ads.fe point ID closest to eta.

UpdateID(ids)
drawElement()

ads.fe.RigidBar

class ads.fe.RigidBar

Bases: ads.fe.Element

BEAM Summary of this class goes here Detailed explanation goes here

Constructor Summary
RigidBar(point1, point2)
Property Summary
ID
Point1
Point2
Method Summary
Export(fid)
UpdateID(ids)
drawElement()

ads.fe.RigidBodyElement

class ads.fe.RigidBodyElement

Bases: ads.fe.Element

BEAM Summary of this class goes here Detailed explanation goes here

Constructor Summary
RigidBodyElement(REFGRID, REFC, WTi, Ci, Gi)
Property Summary
Ci
EID

Point1 ads.fe.Point Point2 ads.fe.Point

ExportLongFormat
Gi
REFC
REFGRID
WTi
Method Summary
Export(fid)
UpdateID(ids)

ads.fe.Shell

class ads.fe.Shell

Bases: ads.fe.Element

BEAM Summary of this class goes here Detailed explanation goes here

Constructor Summary
Shell(G1, Mat, Thickness)
Property Summary
EID
ExportLongFormat
G1
Mat
PID
Thickness
Method Summary
Export(fid)
GetMass()
UpdateID(ids)

ads.fe.Shellstart

class ads.fe.Shellstart

Bases: ads.fe.Element

BEAM Summary of this class goes here Detailed explanation goes here

Property Summary
ExportLongFormat
ExportType
G0
ID
K
PID
Stations
yDir
Method Summary
static Bar(PointA, PointB, height, width, Material)
Export(fid)
ExportToCBAR(fid)
ExportToCBEAM(fid)
static FromBaffStations(sts, ps, Mat)
GetMass()
Shell(stations, opts)
UpdateID(ids)
drawElement()