Tentative to fix JSBSim bug SF #115 : don't compute cl-squared when qbar is too low otherwise its value will go through the roof and so will the induced drag.
This commit is contained in:
parent
b9c2ddb94f
commit
f25304ace5
1 changed files with 1 additions and 1 deletions
|
@ -149,7 +149,7 @@ bool FGAerodynamics::Run(bool Holding)
|
|||
|
||||
// Calculate lift coefficient squared
|
||||
// Make sure that aero/cl-squared is computed with the current qbar
|
||||
if ( in.Qbar > 0) {
|
||||
if ( in.Qbar > 1.0) {
|
||||
clsq = (vFw(eLift) + vFwAtCG(eLift))/ (in.Wingarea*in.Qbar);
|
||||
clsq *= clsq;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue