Hi Andy, Andy Ross wrote: > Maik Justus wrote: > >> But before testing it with any YASim aircraft: I probably found >> another bug in surface.cpp. For "general lift" and "flap-lift" the >> effect of stall is calculated in stallFunc() resp FlapLift(). >> > > Yup, that looks correct to me. Applied. I'm not sure what the points > was of the extra 1.0 in the return value; maybe a holdover from an > earlier version where this function returned a scalar coefficient, and > not a force? > > >> If the fuselage is large in comparison to the wing, this amount can >> be rather high. >> > > I don't think that's correct. As I read the code, you would get 1N of > force per fuselage surface (of which there are maybe a few dozen > across a large aircraft). The first bug is a whopper. This one is > pretty much noise unless you're modeling an R/C aircraft; I'm not > surprised it stayed hidden for so long. > > Andy > No, it's 1 multiplied with 0.5f*rho*vel*vel*_c0.
Fore some surfaces this is the largest contribution (e.g. for the fuselage of the bo this is larger than the induced drag.) The solver results differ about 1% with/without this "1" (for the a4f 5% in lift and for the spitfirellc 16% in drag). Maik ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel