0% found this document useful (0 votes)
155 views2 pages

Airfoil Import

1) Airfoil data points can be obtained from websites like UIUC or Profili2 and saved as a text file with x-y coordinates. 2) The file needs to be formatted in Excel so the points start at the upper trailing edge and end at the lower trailing edge. 3) The reordered file is then saved as a CSV file and imported into AutoCAD using the spline command to generate the airfoil shape.

Uploaded by

irfan_serpunk
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
155 views2 pages

Airfoil Import

1) Airfoil data points can be obtained from websites like UIUC or Profili2 and saved as a text file with x-y coordinates. 2) The file needs to be formatted in Excel so the points start at the upper trailing edge and end at the lower trailing edge. 3) The reordered file is then saved as a CSV file and imported into AutoCAD using the spline command to generate the airfoil shape.

Uploaded by

irfan_serpunk
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

Importing Airfoils into AutoCAD

Airfoil data points may be obtained from a number of websites. The University of Illinois UrbanaChampaign has a large airfoil database (well over 1000) located at http://www.ae.uiuc.edu/m-selig/ads/coord_database.html The airfoil software Profili2 also has a large collection of airfoils in addition to an airfoil recognition feature that will compare the image or *.dat points file to its database and find the closest match. This program may be downloaded at http://www.profili2.com From either location, the airfoil is saved in a simple text file that lists the airfoil name, upper x-y coordinates, and lower x-y coordinates. For example, the N63212 airfoil *.dat file taken from the UIUC website looks like Figure 1 when opened with Notepad. Ultimately, these data points need to be arranged such that the points describe a spline that starts at the upper trailing edge (typically 1,0 or 100,0), then wraps around the leading edge (typically 0,0), and then ends at the lower trailing edge (typically 1,0 or 100,0). The reason for this is once the spline is formed the leading edge will be rounded and the trailing edge will be sharp. Additionally, the coordinates must be separated by a comma (e.g. 1.0000,0.0000 for the first point) to be imported into AutoCAD. Fortunately, both of these tasks are easy accomplished using Excel.

Figure 1: n63212.dat file

With Excel open, go to File>Open and then direct the prompt to your *.dat file, or in this case n63212.dat. Then click Next to get to the screen shown in Figure 2. There are several options that will separate the points into columns. These options are Tab, Semicolon, Comma, Space, or Other. Check whichever one is necessary so that the x and y coordinates are separated into columns (as shown in Figure 2). Click Finish. Delete any of the header rows (or columns) that contain the airfoil name or any other superfluous information so that the first coordinate pair is in the first row and occupies columns A and B. As you scroll down Figure 2: Importing into Excel to about half way down the coordinates list, you might notice a break. If header information exists here also delete those rows. If the coordinates are already listed from upper trailing edge to leading edge to lower trailing edge, then skip the next paragraph.

The coordinates above the midline describe the upper surface from leading edge to trailing edge and the coordinates below the midline describe the lower surface from leading edge to trailing edge. As stated previously, it is desired to have the upper surface points listed from trailing edge to leading edgeso the upper
Figure 3: Sorting Upper Coordinates surface coordinates must be reversed. To do this, Excels Sort feature is used. Select the upper coordinate and open the Sort window, located at Data>Sort. Then from the drop down menus, select to sort by Column A, sort on Values, and order from Largest to Smallest, as shown in Figure 3. Click OK to finish and verify that the upper surface coordinates now go from the trailing edge to leading edge. Finally, delete the middle empty rows and extra set of zeros so that the coordinates are in the form,

1.0000 0.0000 0.0000 0.0000 1.0000 0.0000 Once the points are in the correct format, go to File>Save As>Other Formats, then save the file as a CSV (Comma Delimited) file (click Yes for any warnings that pop up). Open this CSV file with a text editor, such as Notepad. The file should look like the file shown in Figure 4. Importing these points into AutoCAD is now very simple. First select and copy all the coordinates in the CSV file. Then, with AutoCAD open, type in spl or spline, press Enter, then copy the coordinates into the command line (near the bottom of AutoCAD window), press Enter 3 more times, and then youre done! The last 3 Enter commands are (1) to tell AutoCAD you are done inputting points, (2) let the first point have a natural slope, and (3) let the last point have a natural slope.

Figure 4: Formatted Airfoil Coordinates

You might also like