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[str, Component]

shearweb#

List of shear webs. shearweb[i] gives an array defining the i-th shear web.

Type:

list

materials#

Dictionary of material objects indexed by material name.

Type:

dict[str, Material]

stacks#
Type:

ndarray

swstacks#
Type:

ndarray

span_data#

Distributed aerodynamic properties at the blade-definition stations. Index: span [m]. Columns: chord, degreestwist, percentthick, chordoffset, aerocenter, prebend, sweep.

Type:

pd.DataFrame

ispan_data#

Distributed structural properties at the analysis (interpolated) stations. Index: ispan [m]. Columns: leband, teband, sparcapwidth_hp, sparcapwidth_lp, sparcapoffset_hp, sparcapoffset_lp.

Type:

pd.DataFrame

stations#

List of Station objects.

Type:

list[Station]

te_type#
Type:

list[str]

sparcapoffset#

Single-array spar cap offset used by the Excel reader; the YAML reader populates ispan_data instead.

Type:

ndarray

sparcapwidth#

Single-array spar cap width used by the Excel reader; the YAML reader populates ispan_data instead.

Type:

ndarray

property span: ndarray#

Spanwise locations of the blade-definition stations [m].

property ispan: ndarray#

Spanwise locations of the analysis (interpolated) stations [m].

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)#

Append a new station to this definition.

Parameters:
  • af (Airfoil or str) – Airfoil object or path to airfoil coordinate file.

  • spanlocation (float) – Spanwise location of the station [m].