<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3c.org/TR/1999/REC-html401-19991224/loose.dtd">
<HTML xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<TITLE>Aeromatic for the JSBSim Open Source Flight Dynamics Model</TITLE>
<META http-equiv=Content-Type content="text/html; charset=windows-1252">
<META content="Aeromatic, JSBSim, flight simulation, fdm, flight dynamics, equations of motion" name=keywords>
<LINK media=screen href="StyleSheet2.css" type=text/css rel=stylesheet>
<META content="MSHTML 6.00.6000.16674" name=GENERATOR></HEAD>
<body leftMargin=50 topMargin=50 rightMargin=15>
<DIV id=topTitle align=left>
<DIV id=redBlockText>An <EM>open source</EM>,<BR>platform-independent,<BR>flight dynamics model in C++
</DIV>
</DIV>
<UL class=solidblockmenu>
  <LI><A href="index.html">Home</A></LI>
  <LI><A href="about.html">About Us</A></LI>
  <LI><A href="https://sourceforge.net/p/jsbsim/news/">News</A></LI>
  <LI><A href="download.html">Download</A></LI>
  <LI><A href="documentation.html" title="JSBSim reference material">Documentation</A></li>
  <LI><A href="https://sourceforge.net/p/jsbsim/mailman/">Mailing List</A></LI>
  <LI><A href="links.html">Links</A></LI>
  <LI><A href="http://www.sf.net/projects/jsbsim">SF.net/JSBSim</A></LI>
  <LI><A href="https://sourceforge.net/p/jsbsim/bugs/" title="View or file a bug report.">Bugs</A></LI>
  <LI><A href="https://sourceforge.net/p/jsbsim/feature-requests/" title="Make a suggestion to the JSBSim team.">Suggestions</A></LI>
  <LI><A href="https://sourceforge.net/p/jsbsim/wiki/">Wiki</A> </LI>
  <LI><A class="current" href="http://jsbsim.sf.net/aeromatic2.html" title="Generate aircraft configurations files.">Aeromatic</A></LI>
  <LI><A href="http://jsbsim.sf.net/matlab.html" title="Use JSBSim with MATLAB/Simulink">MATLAB</A></LI>
</UL>
<DIV id=main align=center>
<DIV id=mainText>
<DIV align=left>
<P><STRONG>Aeromatic</STRONG></P>
<b>version 0.96</b>

<!-- 03 July 2003, David P. Culp, davidculp2@comcast.net          -->
<!-- update: 26 July 2003, DPC, new aero2.php with flap changes    -->
<!-- update:  5 Sept 2003, DPC, added multi-engine prop transport -->
<!-- update: 29 Sept 2003, DPC, added high-alpha/beta drag        -->
<!-- update: 16  Oct 2003, DPC, better FCS, version 0.7           -->
<!-- update: 13 Dec 2004, DPC, new configuration file format 2.0  -->

<br><hr>

This form can be used to create aircraft configuration files for
use with the <A href="http://jsbsim.sourceforge.net" target="top">JSBSim</A> Flight
Dynamics Model, the default FDM for the
<A href="http://www.flightgear.org">FlightGear</A>, <a href="http://www.outerra.com/">Outerra</a> and <a href="http://www.openeaagles.org">
OpenEaagles</a> (etc.) flight simulators.  The configuration file format 
produced using this utility is version 2.0, and is incompatable with older formats 
because of an extensive overhaul of JSBSim's XML code that occured in December
of 2004.
<br><br>
You will need at least two files for a complete configuration, an <i>aircraft</i> 
file containing information on the aircraft's mass properties, propulsion, flight 
control, aerodynamic properties, etc., an <i>engine</i> file describing the 
engine(s), and in the case of a propeller-driven aircraft you will need a 
<i>prop</i> file.  Aeromatic will generate plausible configuration files for your 
aircraft using some simplifying assumptions.  Note that Aeromatic allows only one 
type of engine to be defined per aircraft.  If you want to mix engine types you'll 
have to make the necessary changes by hand.  Also note that all turbine, turboprop and
rocket engines use the default "direct" thruster. 
<br><br>
<b>
Note: After a configuration file has been generated and is displayed in your browser,
you should select (via the menu) "View Source". This is needed because when viewing
aircraft configuration files (for instance), some formatting is performed for web browser 
viewing, but if the file is saved in that format it will not work. The source for the
page needs to be viewed, and the file saved with a '.xml' extension.
</b>
<br><br>
For more detailed instructions see the <B><A href="readme-aeromatic.html">How-to</A></B>

<br><br><hr><br>
<!-- *************************************************************************** -->
<!-- *  Engine Form                                                            * -->
<!-- *************************************************************************** -->
<form action="engine2.php" method="post">
<font color=red size=5>Step 1: The Engine configuration ...</font>

This step is not necessary if you are using an already existing engine 
configuration file.  In any case you will have to edit the propulsion 
section of the aircraft configuration file to ensure that the engine name 
is the same as the name of the engine configuration file. 
<br><br><br>
<b>Engine Name</b><br>&nbsp;
<input name="ac_enginename" value="my_engine" >

<br><hr align=left width="'%"50"'">
<b>Engine Type</b><br>&nbsp;
<input type="radio" name="ac_enginetype" value="0" checked>piston&nbsp;
<input type="radio" name="ac_enginetype" value="1">turbine&nbsp;
<input type="radio" name="ac_enginetype" value="2">turboprop&nbsp;
<input type="radio" name="ac_enginetype" value="3">rocket&nbsp;

<br><hr align=left width="'%"50"'">
<b>Engine Power or Thrust</b>&nbsp;(per engine, without afterburning)<br>&nbsp;
<input name="ac_enginepower" value="1000.0" ><br>&nbsp;
<input type="radio" name="ac_engineunits" value="0" checked>horsepower&nbsp;
<input type="radio" name="ac_engineunits" value="1">kw&nbsp;
<input type="radio" name="ac_engineunits" value="2">pounds&nbsp;
<input type="radio" name="ac_engineunits" value="3">newtons&nbsp;

<br><hr align=left width="'%"50"'">
<b>Augmentation (afterburning) Installed?</b><br>&nbsp;
<input type="radio" name="ac_augmented" value="1">yes
<input type="radio" name="ac_augmented" value="0" checked>no

<br><hr align=left width="'%"50"'">
<b>Water Injection Installed?</b><br>&nbsp;
<input type="radio" name="ac_injected" value="1">yes
<input type="radio" name="ac_injected" value="0" checked>no

<br><br><br>
You are now ready to have Aeromatic generate your file.  Aeromatic will create a file called
<i>engine2.php</i>, which is your engine configuration file. You will need to save
 this file with a filename of the form <i>engine_name.xml</i>.<br><br>    
<center><input type="submit" name="generate" value="Generate"></center>
<br><br><br><hr><br>
</form>
<!-- *************************************************************************** -->
<!-- *  Propeller Form                                                         * -->
<!-- *************************************************************************** -->
<form action="prop2.php" method="post">
<font color=red size=5>Step 2: The Prop configuration (if applicable)...</font>
<br><br>
<b>Engine Power</b>&nbsp;(per engine)<br>&nbsp;
<input name="ac_enginepower" value="1000.0" ><br>&nbsp;
<input type="radio" name="ac_engineunits" value="0" checked>horsepower&nbsp;
<input type="radio" name="ac_engineunits" value="1">kw&nbsp;
<br><hr align=left width="'%"50"'">
<b>Maximum Engine RPM</b><br>&nbsp;
<input name="ac_maxengrpm" value="2700" >&nbsp;
<br><hr align=left width="'%"50"'">
<b>Pitch</b><br>&nbsp;
<input type="radio" name="ac_prop_pitch" value="0" checked>fixed&nbsp;
<input type="radio" name="ac_prop_pitch" value="1">variable&nbsp;
<br><hr align=left width="'%"50"'">
<b>Propeller Diameter</b><br>&nbsp;
<input name="ac_diameter" value="8" ><br>&nbsp;
<input type="radio" name="ac_diaunits" value="0" checked>feet&nbsp;
<input type="radio" name="ac_diaunits" value="1" >inches&nbsp;
<input type="radio" name="ac_diaunits" value="2" >meters&nbsp;
<br><br><br>
You are now ready to have Aeromatic generate your file.  Aeromatic will create a file called
<i>prop2.php</i>, which is your propeller configuration file. You will need to save
 this file with a filename of the form <i>prop_name.xml</i>.<br><br>    
<center><input type="submit" name="generate" value="Generate"></center>
<br><br><br><hr><br>
</form>
<!-- *************************************************************************** -->
<!-- *  Aero Form                                                              * -->
<!-- *************************************************************************** -->
<form action="aero2.php" method="post">
<font color=red size=5>Step 3: The Aircraft configuration ...</font>
<br><br>
<b>Chose a system of measurement</b><br>&nbsp;
<input type="radio" name="ac_units" value="0" checked>English (feet, pounds)
&nbsp;
<input type="radio" name="ac_units" value="1">Metric (meters, kilograms)

<br><hr align=left width="'%"50"'">
<b>Name of aircraft</b>&nbsp;
<input name="ac_name" value="unnamed" maxlength=100 >

<br><hr align=left width="'%"50"'">
<b>Type of aircraft</b> (Select closest <i>aerodynamic</i> type)<br>&nbsp;
<input type="radio" name="ac_type" value="0">Glider<br>&nbsp;
<input type="radio" name="ac_type" value="1" checked>Light Single<br>&nbsp;
<input type="radio" name="ac_type" value="2">Light Twin<br>&nbsp;
<input type="radio" name="ac_type" value="3">WWII Fighter (or subsonic racer/aerobatic)<br>&nbsp;
<input type="radio" name="ac_type" value="4">Single-engine Transonic or Supersonic Fighter<br>&nbsp;
<input type="radio" name="ac_type" value="5">Two-engine Transonic or Supersonic Fighter<br>&nbsp;
<input type="radio" name="ac_type" value="6">Two-engine Transonic Transport<br>&nbsp;
<input type="radio" name="ac_type" value="7">Three-engine Transonic Transport<br>&nbsp;
<input type="radio" name="ac_type" value="8">Four+-engine Transonic Transport<br>&nbsp;
<input type="radio" name="ac_type" value="9">Multi-engine Prop Transport<br>&nbsp;

<br><hr align=left width="'%"50"'">
<b>Maximum Takeoff Weight</b><br>&nbsp;
<input name="ac_weight" value=10000.0 >

<br><hr align=left width="'%"50"'">
<b>Empty Weight</b>&nbsp;(Enter 0 to use estimated value)<br>&nbsp;
<input name="ac_emptyweight" value=0 >

<br><hr align=left width="'%"50"'">
<b>Length</b><br>&nbsp;
<input name="ac_length" value=40.0 >

<br><hr align=left width="'%"50"'">
<b>Wing span</b><br>&nbsp;
<input name="ac_wingspan" value=40.0 >

<br><hr align=left width="'%"50"'">
<b>Wing chord</b>&nbsp;(Enter 0 to use estimated value)<br>&nbsp;
<input name="ac_wingchord" value=0 >

<br><hr align=left width="'%"50"'">
<b>Wing area</b>&nbsp;(Enter 0 to use estimated value)<br>&nbsp;
<input name="ac_wingarea" value=0 >

<br><hr align=left width="'%"50"'">
<b>Wing incidence</b>&nbsp;(Enter 0 to use estimated value)<br>&nbsp;
<input name="ac_wingincidence" value=0 >

<br><hr align=left width="'%"50"'">
<b>Htail area</b>&nbsp;(Enter 0 to use estimated value)<br>&nbsp;
<input name="ac_htailarea" value=0 >

<br><hr align=left width="'%"50"'">
<b>Htail arm</b>&nbsp;(Enter 0 to use estimated value)<br>&nbsp;
<input name="ac_htailarm" value=0 >

<br><hr align=left width="'%"50"'">
<b>Vtail area</b>&nbsp;(Enter 0 to use estimated value)<br>&nbsp;
<input name="ac_vtailarea" value=0 >

<br><hr align=left width="'%"50"'">
<b>Vtail arm</b>&nbsp;(Enter 0 to use estimated value)<br>&nbsp;
<input name="ac_vtailarm" value=0 >

<br><hr align=left width="'%"50"'">
<b>Inertia (xx, yy, zz)</b>&nbsp;(Enter 0 to use estimated value)<br>&nbsp;
<input name="ac_ixx" value=0 >&nbsp;
<input name="ac_iyy" value=0 >&nbsp;
<input name="ac_izz" value=0 >

<br><hr align=left width="'%"50"'">
<b>Landing Gear Layout</b><br>&nbsp;
<input type="radio" name="ac_geartype" value="0" checked>tricycle&nbsp;
<input type="radio" name="ac_geartype" value="1">taildragger
<br>&nbsp;
<input type="checkbox" name="ac_castering" value="1">castering nose or tail wheel

<br><hr align=left width="'%"50"'">
<b>Is the Landing Gear Retractable?</b><br>&nbsp;
<input type="radio" name="ac_gearretract" value="1" checked>yes&nbsp;
<input type="radio" name="ac_gearretract" value="0">no

<br><hr align=left width="'%"50"'">
<b>Number of Engines</b><br>&nbsp;
<input type="radio" name="ac_numengines" value=0>0&nbsp;
<input type="radio" name="ac_numengines" value=1 checked>1&nbsp;
<input type="radio" name="ac_numengines" value=2>2&nbsp;
<input type="radio" name="ac_numengines" value=3>3&nbsp;
<input type="radio" name="ac_numengines" value=4>4&nbsp;
<input type="radio" name="ac_numengines" value=5>5&nbsp;
<input type="radio" name="ac_numengines" value=6>6&nbsp;
<input type="radio" name="ac_numengines" value=7>7&nbsp;
<input type="radio" name="ac_numengines" value=8>8

<br><hr align=left width="'%"50"'">
<b>Engine Type</b><br>&nbsp;
<input type="radio" name="ac_enginetype" value="0" checked>piston&nbsp;
<input type="radio" name="ac_enginetype" value="1">turbine&nbsp;
<input type="radio" name="ac_enginetype" value="2">turboprop&nbsp;
<input type="radio" name="ac_enginetype" value="3">rocket&nbsp;
<input type="radio" name="ac_enginetype" value="4">electric&nbsp;


<br><hr align=left width="'%"50"'">
<b>Engine Layout</b><br>&nbsp;
<input type="radio" name="ac_enginelayout" value="0" checked>fwd_fuselage&nbsp;
<input type="radio" name="ac_enginelayout" value="1">mid_fuselage&nbsp;
<input type="radio" name="ac_enginelayout" value="2">aft_fuselage&nbsp;
<input type="radio" name="ac_enginelayout" value="3">wings&nbsp;
<input type="radio" name="ac_enginelayout" value="4">wings and tail&nbsp;
<input type="radio" name="ac_enginelayout" value="5">wings and nose&nbsp;

<br><hr align=left width="'%"50"'">
<b>Yaw Damper Installed?</b>&nbsp;(Almost all jets will need one)<br>&nbsp;
<input type="radio" name="ac_yawdamper" value="1">yes&nbsp;
<input type="radio" name="ac_yawdamper" value="0" checked>no

<br><br><br>
You are ready to have Aeromatic generate your file.  Aeromatic will create a file called
 <i>aero2.php</i> which is your configuration file. Save this file with a suitable 
filename, such as <i>spitfireIX.xml</i>.  You will need to edit the 
propulsion section of this file so that the engine name is the same as the 
engine configuration file name, and the propeller name (if applicable) is 
the same as the propeller configuration file name.<br><br>
<center><input type="submit" name="generate" value="Generate"></center>

</form>






<br><br><hr>
31 Dec 2005 <A href="presets.html">[.]</A><br/><br/>
    <!-- Start of StatCounter Code -->
<SCRIPT type=text/javascript>
sc_project=1910964; 
sc_invisible=1; 
sc_partition=17; 
sc_security="60e19068"; 
sc_text=2; 
</SCRIPT>

<SCRIPT src="counter.js" type=text/javascript></SCRIPT>
<NOSCRIPT>
<DIV class=statcounter><A href="http://www.statcounter.com/free_web_stats.html" 
target=_blank><IMG class=statcounter alt="website statistics" 
src="counter.gif"></A></DIV></NOSCRIPT><!-- End of StatCounter Code -->

</DIV>
</DIV>
<BR>
</BODY>
</HTML>
