Originally Posted by
nikolhs
hello azredwing,
First of all: yes i 'm using windows.
Secondly, i would be very interested in the scripts you told so when you finish them let us know...
Finally what you said before isn't clear to me...How can i supply input arguments to the function ? and one more...
what is the file " coeffs.txt " in the end of the .m file? is automatically created or should i create it ?if i have to create it what should i write in ?
The code should be run like:
Code:
[CL, CD] = get_coeffs(alfa, Re, Ma, [NACA])
so say I want to analyze a NACA 0021 airfoil at 3.5 degrees AoA, with a Mach number of 0.05 and a Reynolds number of 500,000:
Code:
[CL, CD] = get_coeffs(3.5, 500000, 0.05, '0021')
(Note that you can figure this out if you read the comments in the m-file code!)
As for coeffs.txt: don't create it. The Perl script generates this file, but for some reason the interpreter that ships with MATLAB doesn't clean it up. I end up doing it in MATLAB instead of Perl (which isn't the nicest way to do it - and I'll be cleaning this up in my next version of the code.)
Bookmarks