bladex.profilebase.ProfileBase.deform_camber_line

ProfileBase.deform_camber_line(percent_change, n_interpolated_points=None)[source]

Deform camber line according to a given percentage of change of the maximum camber. Also reconstructs the deformed airfoil’s coordinates.

The percentage of change is defined as follows:

\frac{\text{new magnitude of max camber - old magnitude of maximum             camber}}{\text{old magnitude of maximum camber}} * 100

A positive percentage means the new camber is larger than the max camber value, while a negative percentage indicates the new value is smaller.

We note that the method works only for airfoils in the reference position, i.e. chord line lies on the X-axis and the foil is not rotated, since the measurements are based on the Y-values of the airfoil coordinates, hence any measurements or scalings will be inaccurate for the foils not in their reference position.

Parameters:
  • percent_change (float) – percentage of change of the maximum camber. Default value is None
  • interpolate (bool) – if True, the interpolated coordinates are used to compute the camber line and foil’s thickness, otherwise the original discrete coordinates are used. Default value is False.
  • n_interpolated_points (int) – number of points to be used for the equally-spaced sample computations. If None then there is no interpolation, unless the arrays x_up != x_down elementwise which implies that the corresponding y_up and y_down can not be comparable, hence a uniform interpolation is required. Default value is None