buffalo_wings.airfoil.Naca5DigitCamberClassic

class buffalo_wings.airfoil.Naca5DigitCamberClassic(lci, mci)[source]

Bases: Camber

Class for the classic NACA 5-digit airfoil camber.

Notes

The only valid values for the relative chord location of maximum camber term are 1, 2, 3, 4, and 5. The only valid value for the ideal lift coefficient term is 2.

Parameters:
  • lci (float)

  • mci (float)

__init__(lci, mci)[source]

Initialize a classic NACA 5-digit camber line.

Parameters:
  • lci (float) – Ideal-lift-coefficient index from the designation.

  • mci (float) – Maximum-camber-location index from the designation.

Raises:

ValueError – If either designation index is unsupported.

Return type:

None

Methods

__init__(lci, mci)

Initialize a classic NACA 5-digit camber line.

arc_length(t_s, t_e)

Calculate the arc-length distance between two points on surface.

joints()

Return the locations of any joints/discontinuities in the camber line.

k(t)

Calculate the curvature at parameter location.

k_t(t)

Calculate the rate of change of curvature at parameter location.

max_camber_parameter()

Return parameter where the camber is maximum.

normal(t)

Calculate the unit normal at parameter location.

tangent(t)

Calculate the unit tangent at parameter location.

xy(t)

Calculate the coordinates of geometry at parameter location.

xy_t(t)

Calculate rates of change of the coordinates at parameter location.

xy_tt(t)

Calculate second derivative of the coordinates at parameter location.

xy_ttt(t)

Calculate third derivative of the coordinates at parameter location.

Attributes

k1

Return the primary camber scale factor.

lift_coefficient_index

Return the ideal-lift-coefficient index.

m

Return the camber transition location.

max_camber_index

Return the maximum-camber-location index.

property lift_coefficient_index: float

Return the ideal-lift-coefficient index.

Returns:

Ideal lift coefficient expressed as a designation index.

Return type:

float

property max_camber_index: float

Return the maximum-camber-location index.

Returns:

Chordwise location of maximum camber as a designation index.

Return type:

float

property m: float

Return the camber transition location.

Returns:

Relative chord location of the camber transition point.

Return type:

float

property k1: float

Return the primary camber scale factor.

Returns:

Scale factor applied to the camber relation.

Return type:

float

joints()[source]

Return the locations of any joints/discontinuities in the camber line.

Returns:

Xi-coordinates of any discontinuities.

Return type:

List[float]

max_camber_parameter()[source]

Return parameter where the camber is maximum.

Returns:

Parameter where camber is maximum.

Return type:

float

arc_length(t_s, t_e)

Calculate the arc-length distance between two points on surface.

Parameters:
  • t_s (float) – Start point of distance calculation.

  • t_e (numpy.ndarray) – End point of distance calculation.

Returns:

Distance from start point to end point.

Return type:

numpy.ndarray

k(t)

Calculate the curvature at parameter location.

Parameters:

t (numpy.ndarray) – Parameter for desired locations.

Returns:

Curvature of surface at point.

Return type:

numpy.ndarray

k_t(t)

Calculate the rate of change of curvature at parameter location.

Parameters:

t (numpy.ndarray) – Parameter for desired locations.

Returns:

Rate of change of curvature of surface at point.

Return type:

numpy.ndarray

normal(t)

Calculate the unit normal at parameter location.

Parameters:

t (numpy.ndarray) – Parameter for desired locations.

Returns:

Unit normal at point.

Return type:

numpy.ndarray, numpy.ndarray

tangent(t)

Calculate the unit tangent at parameter location.

Parameters:

t (numpy.ndarray) – Parameter for desired locations.

Returns:

Unit tangent at point.

Return type:

numpy.ndarray, numpy.ndarray

xy(t)

Calculate the coordinates of geometry at parameter location.

Parameters:

t (numpy.ndarray) – Parameter for desired locations.

Returns:

  • numpy.ndarray – X-coordinate of point.

  • numpy.ndarray – Y-coordinate of point.

Return type:

tuple[ndarray[tuple[int, …], dtype[float64]], ndarray[tuple[int, …], dtype[float64]]]

xy_t(t)

Calculate rates of change of the coordinates at parameter location.

Parameters:

t (numpy.ndarray) – Parameter for desired locations.

Returns:

  • numpy.ndarray – Parametric rate of change of the x-coordinate of point.

  • numpy.ndarray – Parametric rate of change of the y-coordinate of point.

Return type:

tuple[ndarray[tuple[int, …], dtype[float64]], ndarray[tuple[int, …], dtype[float64]]]

xy_tt(t)

Calculate second derivative of the coordinates at parameter location.

Parameters:

t (numpy.ndarray) – Parameter for desired locations.

Returns:

  • numpy.ndarray – Parametric second derivative of the x-coordinate of point.

  • numpy.ndarray – Parametric second derivative of the y-coordinate of point.

Return type:

tuple[ndarray[tuple[int, …], dtype[float64]], ndarray[tuple[int, …], dtype[float64]]]

xy_ttt(t)

Calculate third derivative of the coordinates at parameter location.

Parameters:

t (numpy.ndarray) – Parameter for desired locations.

Returns:

  • numpy.ndarray – Parametric third derivative of the x-coordinate of point.

  • numpy.ndarray – Parametric third derivative of the y-coordinate of point.

Return type:

tuple[ndarray[tuple[int, …], dtype[float64]], ndarray[tuple[int, …], dtype[float64]]]