bladex.profilebase.ProfileBase.compute_camber_line

ProfileBase.compute_camber_line(n_interpolated_points=None)[source]

Compute the 2D coordinates of the camber line. Also updates the camber_line class member.

The camber line is defined by the curve passing through all the mid points between the upper surface and the lower surface of the airfoil.

Parameters: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

We note that a uniform interpolation becomes necessary for the cases when the X-coordinates of the upper and lower surfaces do not correspond to the same vertical sections, since this would imply inaccurate measurements for obtaining the camber line.