buffalo_wings.airfoil.Naca45DigitModifiedThicknessParams
- class buffalo_wings.airfoil.Naca45DigitModifiedThicknessParams(mti, lei, lmti, closed_te)[source]
Bases:
Naca45DigitModifiedThicknessClassicParametric NACA modified 4-digit and 5-digit thickness relation.
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.
This class extends the standard modified thickness distribution relation by solving for coefficients from the original constraints for non-integer parameter values and by allowing a closed trailing edge.
- Parameters:
mti (float)
lei (float)
lmti (float)
closed_te (bool)
- __init__(mti, lei, lmti, closed_te)[source]
Initialize a continuous-index modified NACA thickness distribution.
- Parameters:
mti (
float) – Maximum-thickness index as a percent of chord.lei (
float) – Leading-edge shape index.lmti (
float) – Maximum-thickness-location index.closed_te (
bool) – Whether the trailing edge closes to zero thickness.
- Return type:
None
Methods
__init__(mti, lei, lmti, closed_te)Initialize a continuous-index modified 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 fore-section coefficients.
Return the trailing-edge closure flag.
Return the aft-section coefficients.
Return the leading-edge index.
Return the maximum-thickness-location index.
Return the maximum-thickness index.
- property a: ndarray[tuple[int, ...], dtype[float64]]
Return the fore-section coefficients.
- Returns:
Coefficients for the fore-section thickness relation.
- Return type:
- property d: ndarray[tuple[int, ...], dtype[float64]]
Return the aft-section coefficients.
- Returns:
Coefficients for the aft-section thickness relation.
- Return type:
- delta(t)
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)
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)
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
- discontinuities()
Return the locations of any discontinuities in the thickness.
- Returns:
Parametric coordinates of any discontinuities.
- Return type:
List[float]
- property leading_edge_index: float
Return the leading-edge index.
- Returns:
Leading-edge shape index for the modified thickness relation.
- Return type:
float
- property loc_max_thickness_index: float
Return the maximum-thickness-location index.
- Returns:
Index locating where the fore and aft relations meet.
- Return type:
float
- property max_thickness_index: float
Return the maximum-thickness index.
- Returns:
Maximum thickness as a percent-chord index.
- Return type:
float
- max_thickness_parameter()
Return parameter coordinate of maximum thickness.
- Returns:
Parameter coordinate of maximum thickness.
- Return type:
float
- property closed_te: bool
Return the trailing-edge closure flag.
- Returns:
Truewhen the trailing edge closes to zero thickness.- Return type:
bool