Wingflexer: Difference between revisions

Jump to navigation Jump to search
398 bytes added ,  28 February 2016
+ Related content, +-Minor fixes
m (wording)
(+ Related content, +-Minor fixes)
Line 47: Line 47:


== Obtaining plausible parameters ==
== Obtaining plausible parameters ==
To make our model produce a convinving dynamic behaviour, you will need to obtain estimates and fine-tune the parameters.
To make our model produce a convincing dynamic behaviour, you will need to obtain estimates and fine-tune the parameters.


These include the wing mass m_w, the wing stiffness K, the damping D, and a scaling factor z_fac.
These include the wing mass m_w, the wing stiffness K, the damping D, and a scaling factor z_fac.
Line 76: Line 76:


Here are some relations:
Here are some relations:
* a lower wing mass increases the natural frequency, and weakens the touchdown bounce
* A lower wing mass increases the natural frequency, and weakens the touchdown bounce
* a higher stiffness K reduces the deflection and increases the natural frequency
* A higher stiffness K reduces the deflection and increases the natural frequency


== Enable developer options ==
== Enable developer options ==
Line 176: Line 176:


== Implementation details ==
== Implementation details ==
=== Autopilot/Property rules implementation ===
The autopilot/Property rules implementation lives in Aircraft/Generic/wingflexer.xml
Code lives in Aircraft/Generic/wingflexer.xml


The ODE x" + ax' + bx + c = 0 is integrated by DampedOsciFilterImplementation in FG/src/autopilot/digitalfilter.cxx.
The ODE x" + ax' + bx + c = 0 is integrated by DampedOsciFilterImplementation in FG/src/autopilot/digitalfilter.cxx.
=== Nasal implementation ===
Code lives in Aircraft/Generic/wingflexer.nas, see comment therein.


== TODO ==
== TODO ==
Line 188: Line 184:
* input for fuselage acceleration should rather be acceleration at CG instead of the pilot's location -- is there a property?
* input for fuselage acceleration should rather be acceleration at CG instead of the pilot's location -- is there a property?
* add wingflexer.py (to where?)
* add wingflexer.py (to where?)
== Related content ==
=== Wiki articles ===
* [[Howto:Implement wing flex]] – An older way to add wing flex
=== Forum topics ===
* [http://forum.flightgear.org/viewtopic.php?f=30&t=24699 Wing flex -- spring/damper Nasal module] – Development topic
=== Source code ===
* {{fgdata file|Aircraft/Generic/wingflexer.xml}} – [[Autopilot configuration reference|Autopilot/property rule]] part of the implementation
* {{fgdata file|Aircraft/Generic/wingflexer.nas}} – Nasal part of the implementation


[[Category:FlightGear feature]]
[[Category:FlightGear feature]]

Navigation menu