I created this to return the coefficent of lift of an airfoil based on the angle of attack. This represents a general airfoil. As you can see when you run the code, the coef starts dropping off after 15 aoa and drops off incredibly after 20 aoa (stalling). I'm not sure who's interested in stuff like this but I'm trying to be a bit more public with my code. Yes, I have a tendency to be too secretive with techniques...
I'm not sure if there's a plane out there that can fly above 25 aoa. But I'm sure someone will find a plane that does and post it! :p
I'm not sure if there's a plane out there that can fly above 25 aoa. But I'm sure someone will find a plane that does and post it! :p
Global FoilData:Float[] = [0.0, -1.0, -1.5, -1.0, -0.5, 0.0, 0.5, 1.0, 1.5, 1.0, 0.0] For Local a:Int = 0 To 50 Print "AOA="+(a-25)+" Cl="+GetCoefLift(a-25) Next End Function GetCoefLift:Float(degAOA:Float) If degAOA > 25 Then degAOA = 25 If degAOA < -25 Then degAOA = -25 Local fbase:Float = (degAOA + 25.0) * 0.2 Local ibase:Int = fbase Return FoilData[ibase] + (FoilData[ibase+1] - FoilData[ibase]) * (fbase - ibase) End Function