buffalo_wings.airfoil.Naca45DigitThicknessClassic
- class buffalo_wings.airfoil.Naca45DigitThicknessClassic(mti)[source]
Bases:
ThicknessClass for the classic NACA 4-digit and 5-digit airfoil thickness.
The thickness is parameterized on the square root of the chord location where the thickness is desired. This is to remove singularities that occur at the leading edge for the typical chord length parameterization.
Notes
To obtain a classic thickness profile the maximum thickness should be set to an integer value, i.e. 12. However, any floating point value can be passed in, i.e. 12.3, if a more accurate maximum thickness is needed to be specified.
- Parameters:
mti (float)
- __init__(mti)[source]
Initialize a classic NACA thickness distribution.
- Parameters:
mti (
float) – Maximum-thickness index as a percent of chord.- Raises:
ValueError – If
mtiis outside the supported classic NACA range.- Return type:
None
Methods
__init__(mti)Initialize a classic NACA thickness distribution.
delta(t)Return the thickness at specified parameter location.
delta_t(t)Return first derivative of thickness at specified parameter location.
delta_tt(t)Return second derivative of thickness at specified parameter location.
Return the locations of any discontinuities in the thickness.
Return parameter coordinate of maximum thickness.
Attributes
Return the polynomial coefficients.
Return the maximum-thickness index.
- property max_thickness_index: float
Return the maximum-thickness index.
- Returns:
Maximum thickness as a percent-chord index.
- Return type:
float
- property a: ndarray[tuple[int, ...], dtype[float64]]
Return the polynomial coefficients.
- Returns:
Coefficients for the classic thickness relation.
- Return type:
- discontinuities()[source]
Return the locations of any discontinuities in the thickness.
- Returns:
Parametric coordinates of any discontinuities.
- Return type:
List[float]
- max_thickness_parameter()[source]
Return parameter coordinate of maximum thickness.
- Returns:
Parameter coordinate of maximum thickness.
- Return type:
float
- delta(t)[source]
Return the thickness at specified parameter location.
- Parameters:
t (
numpy.ndarray) – Parameter location of interest. Equal to the square root of the desired chord location.- Returns:
Thickness at specified parameter.
- Return type:
numpy.ndarray
- delta_t(t)[source]
Return first derivative of thickness at specified parameter location.
- Parameters:
t (
numpy.ndarray) – Parameter location of interest. Equal to the square root of the desired chord location.- Returns:
First derivative of thickness at specified parameter.
- Return type:
numpy.ndarray
- delta_tt(t)[source]
Return second derivative of thickness at specified parameter location.
- Parameters:
t (
numpy.ndarray) – Parameter location of interest. Equal to the square root of the desired chord location.- Returns:
Second derivative of thickness at specified parameter.
- Return type:
numpy.ndarray