Definition#

class pynumad.objects.definition.Definition#

Bases: object

Definition Class

A Definition object is designed to contain the basic defining features of a blade, which can be populated manually or by reading a blade file.

components#

Dictionary of components indexed by component name

Type:

dict

shearweb#

List of shearwebs. len(shearweb) == number of shearwebs. shearweb[i] gives an array defining the ith shearweb.

Type:

list

materials#

Dictionary of material objects indexed by material name.

Type:

dict

stacks#
Type:

ndarray

swstacks#
Type:

array

ispan#

Spanwise locations of interpolated output

Type:

ndarray

aerocenter#

Aerodynamic center of airfoil (used only by NuMAD->FAST)

Type:

ndarray

chord#

Chord distribution [m]

Type:

ndarray

chordoffset#

Chordwise offset (in addition to natural offset)

Type:

ndarray

degreestwist#

Twist distribution [degrees]

Type:

ndarray

percentthick#

Percent thickness of airfoil [%]

Type:

ndarray

prebend#

Blade prebend, reference axis location along x2 [m]

Type:

ndarray

span#

Spanwise location of distributed properties [m]

Type:

ndarray

sparcapoffset#
Type:

ndarray

sparcapwidth#

Locations of keypoints b & c, defines distance between keypoints b & c [mm]. First entry is the HP spar cap. Second entry is the LP spar cap

Type:

ndarray

stations#

List of station objects

Type:

list

sweep#

Blade sweep, reference axis location along x1 [m]

Type:

ndarray

teband#

Location of keypoint e

Type:

float

leband#

Location of keypoint a

Type:

float

te_type#
Type:

list

property natural_offset#

1 = offset by max thickness location, 0 = do not offset to max thickness

property rotorspin#

Rotor Spin, 1 = CW rotation looking downwind, -1 = CCW rotation

property swtwisted#

Shear Web, 0 = planar shear webs, 1 = shear webs twisted by blade twist

add_station(af: Airfoil, spanlocation: float)#

This method adds a station

Specifically, a station object is created and appended to self.stations.

Parameters:
  • af (airfoil)

  • spanlocation (float)

Returns:

None

Example

blade.add_station(af,spanlocation) where af = airfoil filename or Airfoil object