Es/Howto: Implement wing flex: Difference between revisions

From FlightGear wiki
Jump to navigation Jump to search
(Created page with 'thumb|270px|Wing flex as seen on the [[Boeing 747-400.]] '''Wing flex''' is the flexing of wings on aircraft, due to lift and fuselage load. …')
 
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Image:747-400_wing_flex.jpg|thumb|270px|Wing flex as seen on the [[Boeing 747-400]].]]
[[File:747-400_wing_flex.jpg|thumb|270px|Wing flex as seen on the [[Boeing 747-400]].]]


'''Wing flex''' is the flexing of wings on [[aircraft]], due to lift and fuselage load. [[FlightGear]] is able to show realistic wing flex. Currently the [[Boeing 787]] and [[Boeing 747-400|747-400]] are equipped with flexing wings.
'''Wing flex''' es la flexión de las alas de una [[aircraft|aeronave]], debido al empuje hacia arriba y a la carga del fuselaje. [[FlightGear]] es capaz de mostrar realisticamente la flexión de ala. Actualmente el [[Boeing 787]] y el [[Boeing 747-400|747-400]] estan equipados con alas flexibles.


==Model==
== Modelo ==
A few edits have to be made to the aircrafts model. Each wing has to be cut into multiple sections. The more sections, the smoother the wing flex. Be carefull that you do not cut through flaps or engines. Naming our wing sections, from fuselage to wing tip: wing.1, wing.2 and wing.3.  
Unas pocas ediciones tienen que ser hechas en el modelo de aeronave. Cada ala ha de ser cortada en multiples secciones. Cuantas más secciones, maś suave será la flexión de ala. Ten cuidado cortando no atravieses ni las alas ni los motores. Enumerando cada una de nuestras secciones, desde el fuselaje hasta la punta del ala: wing.1, wing.2 and wing.3.  


Measure the coordinates of the start of each new wing section, you will need them to animate the wings.
Mide las coordenadas del comienzo de cada nueva sección de ala, las necesitaras para animar las alas.


==Animation==
== Animación ==
The following lines have to be added to the aircrafts model .xml file. These lines are used with three wing sections, and a [[JSBSim]] [[FDM]].
Se deben añadir las siguientes líneas al archivo .xml del modelo de aeronave. Esas lineas son usadas con tres secciones de ala, y un [[JSBSim]] [[FDM]].


<pre>
<pre>
Line 70: Line 70:
</pre>
</pre>


You probably need to add a lot more objects to each section (like engines, flaps, ailerons etc.).
Probablemente necesites añadir bastantes más objetos a cada sección (como motores, flaps, alerones etc.).


===JSBSim===
=== JSBSim ===
[[JSBSim]] calculates the lift force of the aircraft. The lift reacts on the G-forces, the velocity and turbulences. The respective property is: <tt>fdm/jsbsim/aero/coefficient/CLalpha</tt>
[[JSBSim]] calcula la fuerza de sustentacíon y empuje hacia arriba de la aeronave. La fuerza del empuje influye contra las fuerzas-G, la velocidad y las turbulencias. Su respectiva propiedad es: <tt>fdm/jsbsim/aero/coefficient/CLalpha</tt>


===YASim===
=== YASim ===
[[YASim]] does not calculate wingflex as nice as JSBSim, but a pretty realistic effect can be reached by using the <tt>accelerations/pilot-g[0]</tt> property instead.
[[YASim]] no calcula tan bien como JSBSIm, pero se puude alcanzar un bonito efecto realístico usando en su lugar la propiedad <tt>accelerations/pilot-g[0]</tt>
[[en:Howto: Implement wing flex]]


[[Category:Aircraft enhancement|Implent wing flex]]
[[Category:Aircraft enhancement|Implement wing flex]]
[[Category:Howto|Implent wing flex]]
[[Category:Howto|Implement wing flex]]

Latest revision as of 13:56, 20 April 2012

Wing flex as seen on the Boeing 747-400.

Wing flex es la flexión de las alas de una aeronave, debido al empuje hacia arriba y a la carga del fuselaje. FlightGear es capaz de mostrar realisticamente la flexión de ala. Actualmente el Boeing 787 y el 747-400 estan equipados con alas flexibles.

Modelo

Unas pocas ediciones tienen que ser hechas en el modelo de aeronave. Cada ala ha de ser cortada en multiples secciones. Cuantas más secciones, maś suave será la flexión de ala. Ten cuidado cortando no atravieses ni las alas ni los motores. Enumerando cada una de nuestras secciones, desde el fuselaje hasta la punta del ala: wing.1, wing.2 and wing.3.

Mide las coordenadas del comienzo de cada nueva sección de ala, las necesitaras para animar las alas.

Animación

Se deben añadir las siguientes líneas al archivo .xml del modelo de aeronave. Esas lineas son usadas con tres secciones de ala, y un JSBSim FDM.

 <animation>
  <type>rotate</type>
  <object-name>LeftWing.1</object-name>
  <object-name>LeftWing.2</object-name>
  <object-name>LeftWing.3</object-name>
  <property>fdm/jsbsim/aero/coefficient/CLalpha</property>
  <factor>-0.0000045</factor>
  <offset-deg>0</offset-deg>   
  <center>
   <x-m> 0.00</x-m>
   <y-m>-4.00</y-m>
   <z-m>-1.70</z-m>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 
 <animation>
  <type>rotate</type>
  <object-name>LeftWing.2</object-name>
  <object-name>LeftWing.3</object-name>
  <property>fdm/jsbsim/aero/coefficient/CLalpha</property>
  <factor>-0.0000045</factor>
  <offset-deg>0</offset-deg>   
  <center>
   <x-m> 0.00</x-m>
   <y-m>-8.00</y-m>
   <z-m>-1.50</z-m>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>
 
 <animation>
  <type>rotate</type>
  <object-name>LeftWing.3</object-name>
  <property>fdm/jsbsim/aero/coefficient/CLalpha</property>
  <factor>-0.0000045</factor>
  <offset-deg>0</offset-deg>
  <center>
   <x-m>  0.00</x-m>
   <y-m>-12.25</y-m>
   <z-m> -1.25</m>
  </center>
  <axis>
   <x>1.0</x>
   <y>0.0</y>
   <z>0.0</z>
  </axis>
 </animation>

Probablemente necesites añadir bastantes más objetos a cada sección (como motores, flaps, alerones etc.).

JSBSim

JSBSim calcula la fuerza de sustentacíon y empuje hacia arriba de la aeronave. La fuerza del empuje influye contra las fuerzas-G, la velocidad y las turbulencias. Su respectiva propiedad es: fdm/jsbsim/aero/coefficient/CLalpha

YASim

YASim no calcula tan bien como JSBSIm, pero se puude alcanzar un bonito efecto realístico usando en su lugar la propiedad accelerations/pilot-g[0]