tips - want to make minimal changes to the airfoil_examp...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Warning the x input to naca4 is not the same as the x output. On input, x should run from 0 (LE) to 1 (TE). Best to use a cos distribution x = (1-cos(th))/2 where th runs from 0 to pi (it packs points at LE and TE where they are needed) On output, x wraps from TE to LE to TE (clockwise) and is twice the size of x input Also naca4 is set up to return x,y as col vectors. If you
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: want to make minimal changes to the airfoil_examp code then you will want to transpose x & y after the call to naca4 to make them row vectors as in the examp Also the value of N after the call to naca4 should be equal to the number of panels: N=length(x)-1. Take care. It's easy to mess up the geometry. .. GIGO!...
View Full Document

This document was uploaded on 01/22/2012.

Ask a homework question - tutors are online