<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://jsbsim.sourceforge.net/JSBSim.xsl"?>
<fdm_config name="dc2" version="2.0" release="ALPHA"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="http://jsbsim.sourceforge.net/JSBSim.xsd">

 <fileheader>
  <author> Gijs de Rooy and Jentron </author>
  <filecreationdate> 2009-09-04 </filecreationdate>
  <version>$Revision$</version>
  <description> Models a dc2. </description>
 </fileheader>

<!--
  File:     dc2.xml
  Inputs:
    name:          dc2
    type:          multi-engine prop transport
    max weight:    18561 lb
    wing span:     85.0 ft
    length:        62.6 ft
    wing area:     939 sq-ft
    gear type:     taildragger
    retractable?:  yes
    # engines:     2
    engine type:   piston
    engine layout: wings
    yaw damper?    no

  Outputs:
    wing loading:  19.75 lb/sq-ft
    CL-alpha:      4.9 per radian
    CL-0:          0.24
    CL-max:        1.4
    CD-0:          0.025
    K:             0.039

-->

 <metrics>
   <wingarea  unit="FT2">  939.00 </wingarea>
   <wingspan  unit="FT" >   85.00 </wingspan>
   <wing_incidence>          2.00 </wing_incidence>
   <chord     unit="FT" >    5.10 </chord>
   <htailarea unit="FT2">  124.30 </htailarea>
   <htailarm  unit="FT" >   25.78 </htailarm>
   <vtailarea unit="FT2">  196.40 </vtailarea>
   <vtailarm  unit="FT" >   16.90 </vtailarm>
   <location name="AERORP" unit="M">
     <x> -2.766 </x>
     <y>  0.000 </y>
     <z> -0.937 </z>
   </location>
   <location name="EYEPOINT" unit="IN">
     <x>  60.10 </x>
     <y> -24.00 </y>
     <z>  65.00 </z>
   </location>
   <location name="VRP" unit="IN">
     <x>0</x>
     <y>0</y>
     <z>0</z>
   </location>
 </metrics>

 <mass_balance>
   <ixx unit="SLUG*FT2">     63970 </ixx>
   <iyy unit="SLUG*FT2">     41507 </iyy>
   <izz unit="SLUG*FT2">    104027 </izz>
   <emptywt unit="LBS" >     15630 </emptywt>
   <location name="CG" unit="M">
     <x> -2.810 </x>
     <y>  0.000 </y>
     <z> -0.069 </z>
   </location>
        <pointmass name="Pilot">
            <weight unit="LBS"> 170 </weight>
            <location name="POINTMASS" unit="M">
                <x> -8.163 </x>
                <y> -0.400 </y>
                <z> 0.127 </z>
            </location>
        </pointmass>
        <pointmass name="Co-Pilot">
            <weight unit="LBS"> 170 </weight>
            <location name="POINTMASS" unit="M">
                <x> -8.163 </x>
                <y> -0.400 </y>
                <z> 0.127 </z>
            </location>
        </pointmass>
        <pointmass name="Fwd. Cargo Area">
            <weight unit="LBS"> 1500 </weight>
            <location name="POINTMASS" unit="M">
                <x> -6.612 </x>
                <y> 0.000 </y>
                <z> -0.381 </z>
            </location>
        </pointmass>
        <pointmass name="Aft. Cargo Area">
            <weight unit="LBS"> 600 </weight>
            <location name="POINTMASS" unit="M">
                <x> 4.591 </x>
                <y> 0.000 </y>
                <z> -0.131 </z>
            </location>
        </pointmass>
        <pointmass name="Left Engine">
            <weight unit="LBS"> 170 </weight>
            <location name="POINTMASS" unit="M">
                <x> -5.000 </x>
                <y> -2.453 </y>
                <z> -1.023 </z>
            </location>
        </pointmass>
        <pointmass name="Right Engine">
            <weight unit="LBS"> 170 </weight>
            <location name="POINTMASS" unit="M">
                <x> -5.000 </x>
                <y>  2.453 </y>
                <z> -1.023 </z>
            </location>
        </pointmass>
 </mass_balance>

 <ground_reactions>

  <contact type="BOGEY" name="LEFT_MAIN">
   <location unit="M">
     <x> -3.907 </x>
     <y> -2.453 </y>
     <z> -3.199 </z>
   </location>
   <static_friction>  0.80 </static_friction>
   <dynamic_friction> 0.50 </dynamic_friction>
   <rolling_friction> 0.02 </rolling_friction>
   <spring_coeff unit="LBS/FT">     13140.00 </spring_coeff>
   <damping_coeff unit="LBS/FT/SEC"> 1970.00 </damping_coeff>
   <max_steer unit="DEG">0</max_steer>
   <brake_group>LEFT</brake_group>
   <retractable>1</retractable>
 </contact>

  <contact type="BOGEY" name="RIGHT_MAIN">
   <location unit="M">
     <x> -3.907 </x>
     <y>  2.453 </y>
     <z> -3.199 </z>
   </location>
   <static_friction>  0.80 </static_friction>
   <dynamic_friction> 0.50 </dynamic_friction>
   <rolling_friction> 0.02 </rolling_friction>
   <spring_coeff unit="LBS/FT">     13140.00 </spring_coeff>
   <damping_coeff unit="LBS/FT/SEC"> 1970.00 </damping_coeff>
   <max_steer unit="DEG">0</max_steer>
   <brake_group>RIGHT</brake_group>
   <retractable>1</retractable>
 </contact>

  <contact type="BOGEY" name="TAIL_WHEEL">
   <location unit="M">
     <x> 6.293 </x>
     <y> 0.000 </y>
     <z>-1.175 </z>
   </location>
   <static_friction>  0.80 </static_friction>
   <dynamic_friction> 0.50 </dynamic_friction>
   <rolling_friction> 0.02 </rolling_friction>
   <spring_coeff unit="LBS/FT">      19191.33 </spring_coeff>
   <damping_coeff unit="LBS/FT/SEC">  3730.44 </damping_coeff>
   <max_steer unit="DEG"> -45.00 </max_steer>
   <brake_group>NONE</brake_group>
   <retractable>0</retractable>
 </contact>

  <contact type="BOGEY" name="LEFT_RETRACTED">
   <location unit="M">
     <x> -4.647 </x>
     <y> -2.453 </y>
     <z> -1.734 </z>
   </location>
   <static_friction>  0.80 </static_friction>
   <dynamic_friction> 0.50 </dynamic_friction>
   <rolling_friction> 0.02 </rolling_friction>
   <spring_coeff unit="LBS/FT">      97304.45 </spring_coeff>
   <damping_coeff unit="LBS/FT/SEC"> 19460.89 </damping_coeff>
   <max_steer unit="DEG">0</max_steer>
   <brake_group>LEFT</brake_group>
   <retractable>0</retractable>
 </contact>

  <contact type="BOGEY" name="RIGHT_RETRACTED">
   <location unit="M">
     <x> -4.647 </x>
     <y>  2.453 </y>
     <z> -1.734 </z>
   </location>
   <static_friction>  0.80 </static_friction>
   <dynamic_friction> 0.50 </dynamic_friction>
   <rolling_friction> 0.02 </rolling_friction>
   <spring_coeff unit="LBS/FT">      97304.45 </spring_coeff>
   <damping_coeff unit="LBS/FT/SEC"> 19460.89 </damping_coeff>
   <max_steer unit="DEG">0</max_steer>
   <brake_group>RIGHT</brake_group>
   <retractable>0</retractable>
 </contact>

  <contact type="STRUCTURE" name="NOSE">
    <location unit="M">
     <x> -9.651 </x>
     <y>  0.000 </y>
     <z> -0.286 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <spring_coeff unit="LBS/FT">      18561.00 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC">  3712.20 </damping_coeff>
 </contact>

  <contact type="STRUCTURE" name="TAIL">
    <location unit="M">
     <x>  9.412 </x>
     <y>  0.000 </y>
     <z>  0.128 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <spring_coeff unit="LBS/FT">      18561.00 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC">  3712.20 </damping_coeff>
 </contact>

  <contact type="STRUCTURE" name="LEFT_WING">
    <location unit="M">
     <x> -1.348 </x>
     <y>-12.405 </y>
     <z> -0.135 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <spring_coeff unit="LBS/FT">      18561.00 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC">  3712.20 </damping_coeff>
 </contact>

  <contact type="STRUCTURE" name="RIGHT_WING">
    <location unit="M">
     <x> -1.348 </x>
     <y> 12.405 </y>
     <z> -0.135 </z>
    </location>
    <static_friction>  0.80 </static_friction>
    <dynamic_friction> 0.50 </dynamic_friction>
    <spring_coeff unit="LBS/FT">      18561.00 </spring_coeff>
    <damping_coeff unit="LBS/FT/SEC">  3712.20 </damping_coeff>
 </contact>

 </ground_reactions>

 <propulsion>

   <engine file="R-1820-R52">
    <location unit="M">
      <x> -6.269 </x>
      <y> -2.453 </y>
      <z> -1.021 </z>
    </location>
    <orient unit="DEG">
      <pitch> 2.00 </pitch>
      <roll>   0.00 </roll>
      <yaw>   0.00 </yaw>
    </orient>
    <feed>0</feed>
    <thruster file="propC10v-m">
    <location unit="M">
      <x> -6.269 </x>
      <y> -2.453 </y>
      <z> -1.021 </z>
     </location>
     <orient unit="DEG">
      <pitch> 2.00 </pitch>
       <roll>   0.00 </roll>
       <yaw>   0.00 </yaw>
     </orient>
    </thruster>
  </engine>

   <engine file="R-1820-R52">
    <location unit="M">
      <x> -6.269 </x>
      <y>  2.453 </y>
      <z> -1.021 </z>
    </location>
    <orient unit="DEG">
      <pitch> 2.00 </pitch>
      <roll>   0.00 </roll>
      <yaw>   0.00 </yaw>
    </orient>
    <feed>1</feed>
    <thruster file="propC10v-m">
    <location unit="M">
      <x> -6.269 </x>
      <y>  2.453 </y>
      <z> -1.021 </z>
     </location>
     <orient unit="DEG">
      <pitch> 2.00 </pitch>
       <roll>   0.00 </roll>
       <yaw>   0.00 </yaw>
     </orient>
    </thruster>
  </engine>

  <tank type="FUEL" number="0">
     <location unit="M">
       <x> -2.678 </x>
       <y> -5.871 </y>
       <z> -0.601 </z>
     </location>
     <capacity unit="LBS"> 561 </capacity>
     <contents unit="LBS"> 561 </contents>
  </tank>

  <tank type="FUEL" number="1">
     <location unit="M">
       <x> -2.678 </x>
       <y>  5.871 </y>
       <z> -0.601 </z>
     </location>
     <capacity unit="LBS"> 561 </capacity>
     <contents unit="LBS"> 561 </contents>
  </tank>

  <tank type="FUEL" number="3">
     <location unit="M">
       <x> -2.678 </x>
       <y> -5.871 </y>
       <z> -0.601 </z>
     </location>
     <capacity unit="LBS"> 234 </capacity>
     <contents unit="LBS"> 234 </contents>
  </tank>

  <tank type="FUEL" number="4">
     <location unit="M">
       <x> -2.678 </x>
       <y>  5.871 </y>
       <z> -0.601 </z>
     </location>
     <capacity unit="LBS"> 234 </capacity>
     <contents unit="LBS"> 234 </contents>
  </tank>

 </propulsion>

 <flight_control name="FCS: dc2">

  <channel name="Pitch">
   <summer name="Pitch Trim Sum">
      <input>fcs/elevator-cmd-norm</input>
      <input>fcs/pitch-trim-cmd-norm</input>
      <clipto>
        <min> -1 </min>
        <max>  1 </max>
      </clipto>
   </summer>

   <aerosurface_scale name="Elevator Control">
      <input>fcs/pitch-trim-sum</input>
      <range>
        <min> -0.58 </min>
        <max>  0.30 </max>
      </range>
      <output>fcs/elevator-pos-rad</output>
   </aerosurface_scale>

   <aerosurface_scale name="elevator normalization">
      <input>fcs/elevator-pos-rad</input>
      <domain>
        <min> -0.58 </min>
        <max>  0.30 </max>
      </domain>
      <range>
        <min> -1 </min>
        <max>  1 </max>
      </range>
      <output>fcs/elevator-pos-norm</output>
   </aerosurface_scale>

  </channel>

  <channel name="Roll">
   <summer name="Roll Trim Sum">
      <input>fcs/aileron-cmd-norm</input>
      <input>fcs/roll-trim-cmd-norm</input>
      <clipto>
        <min> -1 </min>
        <max>  1 </max>
      </clipto>
   </summer>

   <aerosurface_scale name="Left Aileron Control">
      <input>fcs/roll-trim-sum</input>
      <range>
        <min> -0.52 </min>
        <max>  0.24 </max>
      </range>
      <output>fcs/left-aileron-pos-rad</output>
   </aerosurface_scale>

   <aerosurface_scale name="Right Aileron Control">
      <input>fcs/roll-trim-sum</input>
      <range>
        <min> -0.52 </min>
        <max>  0.24 </max>
      </range>
      <output>fcs/right-aileron-pos-rad</output>
   </aerosurface_scale>

   <aerosurface_scale name="left aileron normalization">
      <input>fcs/left-aileron-pos-rad</input>
      <domain>
        <min> -0.52 </min>
        <max>  0.24 </max>
      </domain>
      <range>
        <min> -1 </min>
        <max>  1 </max>
      </range>
      <output>fcs/left-aileron-pos-norm</output>
   </aerosurface_scale>

   <aerosurface_scale name="right aileron normalization">
      <input>fcs/right-aileron-pos-rad</input>
      <domain>
        <min> -0.52 </min>
        <max>  0.24 </max>
      </domain>
      <range>
        <min> -1 </min>
        <max>  1 </max>
      </range>
      <output>fcs/right-aileron-pos-norm</output>
   </aerosurface_scale>

  </channel>

  <channel name="Yaw">
   <summer name="Rudder Command Sum">
      <input>fcs/rudder-cmd-norm</input>
      <input>fcs/yaw-trim-cmd-norm</input>
      <clipto>
        <min> -0.52 </min>
        <max>  0.52 </max>
      </clipto>
   </summer>

   <aerosurface_scale name="Rudder Control">
      <input>fcs/rudder-command-sum</input>
      <range>
        <min> -0.52 </min>
        <max>  0.52 </max>
      </range>
      <output>fcs/rudder-pos-rad</output>
   </aerosurface_scale>

   <aerosurface_scale name="rudder normalization">
      <input>fcs/rudder-pos-rad</input>
      <domain>
        <min> -0.52 </min>
        <max>  0.52 </max>
      </domain>
      <range>
        <min> -1 </min>
        <max>  1 </max>
      </range>
      <output>fcs/rudder-pos-norm</output>
   </aerosurface_scale>

  </channel>

  <channel name="Flaps">
   <kinematic name="Flaps Control">
     <input>fcs/flap-cmd-norm</input>
     <traverse>
       <setting>
          <position>  0 </position>
          <time>      2 </time>
       </setting>
       <setting>
          <position>  5 </position>
          <time>      2 </time>
       </setting>
       <setting>
          <position>  10 </position>
          <time>      2 </time>
       </setting>
       <setting>
          <position>  15 </position>
          <time>      2 </time>
       </setting>
       <setting>
          <position>  20 </position>
          <time>      2 </time>
       </setting>
       <setting>
          <position>  25 </position>
          <time>      2 </time>
       </setting>
       <setting>
          <position>  30 </position>
          <time>      2 </time>
       </setting>
       <setting>
          <position>  35 </position>
          <time>      2 </time>
       </setting>
       <setting>
          <position>  40 </position>
          <time>      2 </time>
       </setting>
       <setting>
          <position>  45 </position>
          <time>      2 </time>
       </setting>
     </traverse>
     <output>fcs/flap-pos-deg</output>
   </kinematic>

   <aerosurface_scale name="flap normalization">
      <input>fcs/flap-pos-deg</input>
      <domain>
        <min>  0 </min>
        <max> 45 </max>
      </domain>
      <range>
        <min> 0 </min>
        <max> 1 </max>
      </range>
      <output>fcs/flap-pos-norm</output>
   </aerosurface_scale>

  </channel>

  <channel name="Landing Gear">
   <kinematic name="Gear Control">
     <input>gear/gear-cmd-norm</input>
     <traverse>
       <setting>
          <position> 0 </position>
          <time>     0 </time>
       </setting>
       <setting>
          <position> 1 </position>
          <time>     7 </time>
       </setting>
     </traverse>
     <output>gear/gear-pos-norm</output>
   </kinematic>

   <fcs_function name="Rear Wheel Steering">
     <function name="fcs/steer-tail-deg">
       <description>Tailwheel lock (on takeoff)</description>
       <product>
         <table>
           <independentVar lookup="row">fcs/steer-pos-deg</independentVar>
           <independentVar lookup="column">/controls/gear/tailwheel-lock</independentVar>
           <tableData>
                0  1
          -20  20  0
            0   0  0
           20 -20  0
            </tableData>
          </table> 
        </product>
     </function>
     <output>fcs/steer-pos-deg</output>
   </fcs_function>

  </channel>

  <channel name="Speedbrake">
   <kinematic name="Speedbrake Control">
     <input>fcs/speedbrake-cmd-norm</input>
     <traverse>
       <setting>
          <position> 0 </position>
          <time>     0 </time>
       </setting>
       <setting>
          <position> 1 </position>
          <time>     1 </time>
       </setting>
     </traverse>
     <output>fcs/speedbrake-pos-norm</output>
   </kinematic>

  </channel>

 </flight_control>

 <aerodynamics>

  <axis name="LIFT">

    <function name="aero/coefficient/CLalpha">
      <description>Lift_due_to_alpha</description>
      <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">aero/alpha-rad</independentVar>
            <tableData>
              -0.20 -0.740
               0.00 0.240
             0.24    1.400
               0.60 0.704
            </tableData>
          </table>
      </product>
    </function>

    <function name="aero/coefficient/dCLflap">
       <description>Delta_Lift_due_to_flaps</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>fcs/flap-pos-deg</property>
           <value> 0.02000 </value>
       </product>
    </function>

    <function name="aero/coefficient/dCLsb">
       <description>Delta_Lift_due_to_speedbrake</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>fcs/speedbrake-pos-norm</property>
           <value>0</value>
       </product>
    </function>

    <function name="aero/coefficient/CLde">
       <description>Lift_due_to_Elevator_Deflection</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>fcs/elevator-pos-rad</property>
           <value>0.2</value>
       </product>
    </function>

  </axis>

  <axis name="DRAG">

    <function name="aero/coefficient/CD0">
       <description>Drag_at_zero_lift</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">aero/alpha-rad</independentVar>
            <tableData>
             -1.57       1.500
             -0.26    0.033
              0.00    0.025
              0.26    0.033
              1.57       1.500
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/coefficient/CDi">
       <description>Induced_drag</description>
         <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/cl-squared</property>
           <value>0.039</value>
         </product>
    </function>

    <function name="aero/coefficient/CDmach">
       <description>Drag_due_to_mach</description>
        <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">velocities/mach</independentVar>
            <tableData>
                0.00      0.000
                0.7      0.000
                1.10      0.023
                1.80      0.015
            </tableData>
          </table>
        </product>
    </function>

    <function name="aero/coefficient/CDflap">
       <description>Drag_due_to_flaps</description>
         <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>fcs/flap-pos-deg</property>
           <value> 0.00117 </value>
         </product>
    </function>

    <function name="aero/coefficient/CDgear">
       <description>Drag_due_to_gear</description>
         <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>gear/gear-pos-norm</property>
           <value>0.023</value>
         </product>
    </function>

    <function name="aero/coefficient/CDsb">
       <description>Drag_due_to_speedbrakes</description>
         <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>fcs/speedbrake-pos-norm</property>
           <value>0.025</value>
         </product>
    </function>

    <function name="aero/coefficient/CDbeta">
       <description>Drag_due_to_sideslip</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <table>
            <independentVar lookup="row">aero/beta-rad</independentVar>
            <tableData>
              -1.57       1.230
              -0.26    0.050
               0.00       0.000
               0.26    0.050
               1.57       1.230
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/coefficient/CDde">
       <description>Drag_due_to_Elevator_Deflection</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <abs><property>fcs/elevator-pos-norm</property></abs>
           <value>0.04</value>
       </product>
    </function>

  </axis>

  <axis name="SIDE">

    <function name="aero/coefficient/CYb">
       <description>Side_force_due_to_beta</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>aero/beta-rad</property>
           <value>-1</value>
       </product>
    </function>

  </axis>

  <axis name="ROLL">

    <function name="aero/coefficient/Clb">
       <description>Roll_moment_due_to_beta</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/beta-rad</property>
           <value>-0.1</value>
       </product>
    </function>

    <function name="aero/coefficient/Clp">
       <description>Roll_moment_due_to_roll_rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/p-aero-rad_sec</property>
           <value>-0.4</value>
       </product>
    </function>

    <function name="aero/coefficient/Clr">
       <description>Roll_moment_due_to_yaw_rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/r-aero-rad_sec</property>
           <value>0.15</value>
       </product>
    </function>

    <function name="aero/coefficient/Clda">
       <description>Roll_moment_due_to_aileron</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <property>metrics/bw-ft</property>
          <property>fcs/left-aileron-pos-rad</property>
          <table>
            <independentVar lookup="row">velocities/mach</independentVar>
            <tableData>
              0.0    0.150
              2.0    0.050
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/coefficient/Cldr">
       <description>Roll_moment_due_to_rudder</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>fcs/rudder-pos-rad</property>
           <value>0.01</value>
       </product>
    </function>

  </axis>

  <axis name="PITCH">

    <function name="aero/coefficient/Cmalpha">
       <description>Pitch_moment_due_to_alpha</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/cbarw-ft</property>
           <property>aero/alpha-rad</property>
           <value>-0.4</value>
       </product>
    </function>

    <function name="aero/coefficient/Cmde">
       <description>Pitch_moment_due_to_elevator</description>
       <product>
          <property>aero/qbar-psf</property>
          <property>metrics/Sw-sqft</property>
          <property>metrics/cbarw-ft</property>
          <property>fcs/elevator-pos-rad</property>
          <table>
            <independentVar lookup="row">velocities/mach</independentVar>
            <tableData>
              0.0     -1.000
              2.0     -0.250
            </tableData>
          </table>
       </product>
    </function>

    <function name="aero/coefficient/Cmq">
       <description>Pitch_moment_due_to_pitch_rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/cbarw-ft</property>
           <property>aero/ci2vel</property>
           <property>velocities/q-aero-rad_sec</property>
           <value>-22</value>
       </product>
    </function>

    <function name="aero/coefficient/Cmadot">
       <description>Pitch_moment_due_to_alpha_rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/cbarw-ft</property>
           <property>aero/ci2vel</property>
           <property>aero/alphadot-rad_sec</property>
           <value>-8</value>
       </product>
    </function>

  </axis>

  <axis name="YAW">

    <function name="aero/coefficient/Cnb">
       <description>Yaw_moment_due_to_beta</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/beta-rad</property>
           <value>0.12</value>
       </product>
    </function>

    <function name="aero/coefficient/Cnr">
       <description>Yaw_moment_due_to_yaw_rate</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>aero/bi2vel</property>
           <property>velocities/r-aero-rad_sec</property>
           <value>-0.15</value>
       </product>
    </function>

    <function name="aero/coefficient/Cndr">
       <description>Yaw_moment_due_to_rudder</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>fcs/rudder-pos-rad</property>
           <value>-0.1</value>
       </product>
    </function>

    <function name="aero/coefficient/Cnda">
       <description>Adverse_yaw</description>
       <product>
           <property>aero/qbar-psf</property>
           <property>metrics/Sw-sqft</property>
           <property>metrics/bw-ft</property>
           <property>fcs/left-aileron-pos-rad</property>
           <value>-0.008</value>
       </product>
    </function>

  </axis>

 </aerodynamics>

</fdm_config>
