RCAIDE.Library.Methods.Geometry.Airfoil.import_airfoil_geometry

import_airfoil_geometry#

import_airfoil_geometry(airfoil_geometry_file, npoints=201, surface_interpolation='cubic')[source]#

This imports an airfoil geometry from a text file and store the coordinates of upper and lower surfaces as well as the mean camberline

Assumptions: Works for Selig and Lednicer airfoil formats. Automatically detects which format based off first line of data. Assumes it is one of those two. Source: airfoiltools.com/airfoil/index - method for determining format and basic error checking Inputs: airfoil_geometry_files <list of strings> surface_interpolation - type of interpolation used in the SciPy function. Preferable options are linear, quardratic and cubic. Full list of options can be found here : https://docs.scipy.org/doc/scipy/reference/generated/scipy.interpolate.interp1d.html#scipy.interpolate.interp1d Outputs: airfoil_data.

thickness_to_chord x_coordinates y_coordinates x_upper_surface x_lower_surface y_upper_surface y_lower_surface camber_coordinates

Properties Used: N/A