Please share your thoughts on the new main page and portal's look in the village pump!

Talk:JSBSim Aerodynamics

From FlightGear wiki
Jump to: navigation, search

Drag is, by definition, a force in the direction of the relative wind. As such, it is always positive.

Lift is, by definition, a force at a right angle to the relative wind. It may be either positive or negative.

The Lift force and Drag force are components of the Total Aerodynamic Force.

Because the Lift and Drag forces are always at a right angle to each other by definition, the magnitude of the Total Aerodynamic Force is given by the Pythagorean theorem:

(Drag^2 + Lift^2)^.5
Note: Because this formula yields a magnitude only the positive root is used.

The direction of the Total Aerodynamic Force is derived by taking the inverse tangent of Lift/Drag. The resultant angle is referenced to the relative wind.

When deriving lift and drag numbers for your model you should look at (l^2+d^2)^.5 and atan(l/d). (l^2+d^2)^.5 should resemble abs(sin(alpha)) and atan(l/d) should move near 90 degrees when the wing is producing lift. It will move towards zero degrees at very low values of alpha, and at and after stall.


Or put another way:

  • When air moves past a body, like a wing, an aerodynamic force is generated. We will call this force-vector "R."
  • Lift is the component of force-vector "R" perpendicular to the relative wind.
  • Drag is the component of force-vector "R" parallel to the relative wind.
  • The direction of force-vector "R" in relation to the relative wind is arctan(Lift/Drag).

For most wings, the magnitude of force-vector "R" resembles abs(sin(alpha)) and arctan(Lift/Drag) is near 90 degrees when the wing is producing lift.

  • Faking lift polars - If we assume a symmetrical airfoil that stalls at +/- 15 degrees (0.26 radians) AoA and assume the lift is linear between the two we can create a table like:
 <table >
  <independentVar lookup="row">aero/alpha-rad</independentVar>
  <tableData> 
    0.26  0.26
   -0.26 -0.26 
  </tableData>
 </table>

Beyond +/- 22.5 degrees AoA we'll use 0.26 * sin(2*AoA) to approximate lift, and linear interpolate between 15 and 22.5 degrees AoA. (These numbers are rather arbitrary.) The resultant table returns the same value as alpha-rad for the "stable" flight regime so the function will accept the aeromatic coefficient. Outside of the "stable" flight regime a better number will be used allowing more realistic flight behavior at high alpha or beta angles.

 <table >
  <independentVar lookup="row">aero/alpha-rad</independentVar>
  <tableData> 
   -3.14   0.0
   -2.62   0.2252
   -2.36   0.26
   -2.09   0.2252
   -1.57   0.0
   -1.05  -0.2252
   -0.79  -0.26
   -0.52  -0.2252
   -0.39  -0.1838
   -0.26  -0.2588
    0.0    0.0
    0.26   0.2588
    0.39   0.1838
    0.52   0.2252
    0.79   0.26
    1.05   0.2252
    1.57   0.0
    2.09  -0.2252
    2.36  -0.26
    2.62  -0.2252
    3.14   0.0
  </tableData>
 </table>

Fakelifttable.png

This table can drop directly into an aeromatic FDM to replace an instance of aero/alpha-rad or aero/beta-rad (changing the independent var of course).

  • Calculating Stall Speed - For an aircraft in straight and level flight, lift is equal to the weight of the aircraft. If we plug some numbers into the equation
 lift = QBar * Sw-sqft * Cl

Using the Fi-156 Storch as an example

 Weight = 2688 lb
 Wing Area = 280 sq-ft
 Stall Speed = 32 mph
 Air Density = 0.00238 slugs/ft^3
 QBar = 2.62871(lbf / ft^2) or psf

We get

 2688 lb = 2.62871 (lbf / ft^2) * 280 ft^2 *Cl
 Cl = 2688 lb / (2.62871 (lbf / ft^2) * 280 ft^2) = 3.65
Personal tools
Namespaces
Variants
Actions
Navigation
Portals
FlightGear
Toolbox