User Tools

Site Tools


xfoiltutorial

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
xfoiltutorial [2014/08/14 07:25]
blitherland
xfoiltutorial [2014/09/30 07:06]
blitherland
Line 1: Line 1:
 ====== XFOIL Tutorial ====== ====== XFOIL Tutorial ======
 +[[start|Back to Landing Page]]
  
 XFOIL is an interactive program for the design and analysis of subsonic isolated airfoils. ​ XFOIL is an interactive program for the design and analysis of subsonic isolated airfoils. ​
Line 24: Line 25:
   * Plotting of geometry, pressure distributions,​ and multiple polars   * Plotting of geometry, pressure distributions,​ and multiple polars
  - From [[http://​web.mit.edu/​drela/​Public/​web/​xfoil/​|MIT XFOIL Webpage]] -  - From [[http://​web.mit.edu/​drela/​Public/​web/​xfoil/​|MIT XFOIL Webpage]] -
 +
 +{{ xfoil_071614_1633.png }}
  
 XFOIL is primarily used in the drag buildup process to collect profile drag information for a specified airfoil under various flight conditions (Cdp column in the airfoil polar) as well as to model the stall condition for a wing section. ​ Additionally,​ XFOIL can be used to define an optimal airfoil profile for a given set of initial conditions. ​ This is extremely useful in developing experimental aircraft in the early stages of design. XFOIL is primarily used in the drag buildup process to collect profile drag information for a specified airfoil under various flight conditions (Cdp column in the airfoil polar) as well as to model the stall condition for a wing section. ​ Additionally,​ XFOIL can be used to define an optimal airfoil profile for a given set of initial conditions. ​ This is extremely useful in developing experimental aircraft in the early stages of design.
  
 A PDF version of this guide may be found {{using_xfoil_to_obtain_airfoil_polars.pdf|here}}. A PDF version of this guide may be found {{using_xfoil_to_obtain_airfoil_polars.pdf|here}}.
 +
 +
 +===== Using XFOIL to obtain Airfoil Polars =====
 +
 +This is only a guide to obtain values for a specified airfoil and not a total user manual for XFOIL. ​ For complete instructions go to [[http://​web.mit.edu/​drela/​Public/​web/​xfoil/​xfoil_doc.txt|the MIT XFOIL user manual]]. ​ For the purposes of this guide, it is assumed that you are using Windows.
 +
 +An extensive database of known aircraft airfoils can be found at the University of Illinois (UIUC) [[http://​aerospace.illinois.edu/​m-selig/​ads/​aircraft.html|Incomplete Guide to Airfoil Usage]].
 +
 +A database of .dat and .gif files for airfoil profiles is at the [[http://​aerospace.illinois.edu/​m-selig/​ads/​coord_database.html|UIUC Airfoil Coordinates Database]].
 +
 +Type ''?''​ at any command line to see a list of available commands and their descriptions.
 +  - Open CMD.
 +  - Change the directory to the folder location of xfoilp4.exe
 +  - Execute ''​XFOILP4''​
 +    - You may also preload your .dat airfoil coordinates by adding the argument after the command. ​ For example: ''​XFOILP4 NACA0015''​ or ''​XFOILP4 NACA652415.DAT''​
 +  - The number of nodes should be at LEAST 100.  You may get a warning that the number of nodes is too small. ​ This is a warning that the resolution of your coordinate file is too low.  This is fixed using the ''​PANE''​ or ''​PPAR''​ commands.
 +    - ''​PANE''​ will set the number of panels to be sufficient for XFOIL. ​ You may not see a change in the profile.
 +    - ''​PPAR''​ will show the new paneling if you changed the number with PANE.  If not, you may begin with PPAR.
 +      - Type ''​N''​ to change the number of nodes. ​ Use the PANE number shown as a guide. ​ More nodes have a higher resolution but run slower.
 +      - When finished, the profile should be smooth. ​ ''​Enter''​ key until XFOIL is displayed.
 +  - You may choose to save the new, smooth profile to the folder using the ''​SAVE''​ command.
 +  - Enter operating point mode by entering ''​OPER''​.
 +  - OPERi indicates that you are operating in inviscid mode.  For the purposes of finding reasonable data, you will generally want to operate in viscous mode.  Enter ''​Visc''​ to toggle modes. ​ OPERv should be displayed.
 +  - If you have not already done so, a Reynold’s number will be requested. ​ Enter the value at this line.
 +  - Initially, the iteration number is very low.  Change this to at least 200 using ''​ITER''​.
 +  - You must now specify the operating conditions using commands.
 +    - Change the Mach number with ''​Mach''​. ​ Similar to other commands this may be followed by an argument if you like.  Enter the Mach number.
 +    - If only a single angle of attack value is needed, use ''​Alfa''​. ​ This will show the results in the display. ​ If a sequence of attack angle is needed, proceed to the next step.
 +  - In order to write the polar to a file to read, you MUST designate that you want the data points to be saved. ​ This is done using the ''​Pacc''​ command.
 +    - Specify the polar save file name and file extension.
 +    - Specify the dump file name and file extension if needed. ​ Otherwise, hit Enter to skip.
 +    - OPERva should be displayed.
 +  - Specify the attack angle range using ''​Aseq''​. ​ If you are performing a range of speeds, proceed to step 14.
 +    - Enter the minimum alpha.  ​
 +    - Enter the maximum alpha.
 +    - Enter the angle step size.
 +  - The program should run through many iterations and display that the information was saved to your polar file.  The display should also reflect the new information and you can see the distribution of CD there.
 +  - If you are performing a range of speeds for cruise conditions:
 +    - Enter the Reynolds number using ''​Re''​
 +    - Enter the Mach number using ''​Mach''​
 +    - Enter the CL required for steady flight using ''​CL''​
 +  - The program will run through several iterations. ​ If the program returns a “not converged” error, the speeds may be too slow for flight (i.e. stall). ​ Slightly change the CL to see if this is simply a case of computation error or if the wing is actually stalled (stall will result in non-convergence repeatedly).
 +  - The polar file is now ready for import or view.
 +    - If using MS Excel, use File->​Load->​All Files->​Polar File Name
 +    - Click ''​Finish''​ to open the data as a spreadsheet.
 +    - Check that each data entry is in the proper cell then copy the data into the Drag Buildup Workbook Profile Drag section.
 +
 +[[start|Back to Landing Page]]
xfoiltutorial.txt · Last modified: 2018/04/01 14:41 (external edit)