buffalo_wings.airfoil.Naca5DigitCamberReflexedParams

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

Bases: Naca5DigitCamberReflexedClassic

Camber for the regular NACA 5-digit reflexed airfoils.

The valid range of the relative chord location of maximum camber term is [1, 6). The valid range for the ideal lift coefficient term is [1, 4).

Parameters:
  • lci (float)

  • mci (float)

__init__(lci, mci)[source]

Initialize a continuous-index reflexed NACA 5-digit camber line.

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

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

Return type:

None

Methods

__init__(lci, mci)

Initialize a continuous-index reflexed 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.

k2

Return the secondary 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.

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

joints()

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

Returns:

Xi-coordinates of any discontinuities.

Return type:

List[float]

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

property k1: float

Return the primary camber scale factor.

Returns:

First scale factor applied to the reflexed camber relation.

Return type:

float

property k2: float

Return the secondary camber scale factor.

Returns:

Second scale factor applied to the reflexed camber relation.

Return type:

float

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

property lift_coefficient_index: float

Return the ideal-lift-coefficient index.

Returns:

Ideal lift coefficient expressed 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 max_camber_index: float

Return the maximum-camber-location index.

Returns:

Chordwise location of maximum camber as a designation index.

Return type:

float

max_camber_parameter()

Return parameter where the camber is maximum.

Returns:

Parameter where camber is maximum.

Return type:

float

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]]]