CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Need help with airfoil code (https://www.cfd-online.com/Forums/main/16044-need-help-airfoil-code.html)

DavidKline November 24, 2008 14:21

Need help with airfoil code
 
Hello everybody. I'm a freshman engineering student and I'm trying to simulate the performance of my model airplane for a class project. I've started by using an existing potential flow Matlab code to calculate the lift on the wings. However, the result seems to be the "reverse" direction of what I "should" be getting according to the references I've seen.

The Matlab file is located here at the link below. It looks like somebody else had the same question. If anyone has used this I would appreciate the help. I just don't want to go ahead and present this without knowing why this happens. I haven't had potential flow yet (I understand what it basically is) and I don't really know how they get the potential equation in the code. My professor explained to me the potential v. streamline idea with the imaginary numbers but he didn't know why the wing was reveresed. I realize the are creating a sphere by combining basic shapes and then "transforming" the results into the wing shape. However, I'm fairly new at this so please you might need to bring it down to my level.

http://www.mathworks.com/matlabcentr...eexchange/8870

Again, thanks for any help.

phuong December 4, 2008 03:42

Re: Need help with airfoil code *NM*
 


All times are GMT -4. The time now is 09:31.