aircraft:tmd:rigidbody
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
aircraft:tmd:rigidbody [2018/09/30 13:14] – [Joint-Torque] jh | aircraft:tmd:rigidbody [2018/09/30 14:43] (current) – [Rigidbody] jh | ||
---|---|---|---|
Line 5: | Line 5: | ||
For this mathematical description Aerofly needs to know a few key parameters of the objects it is simulating. Most important of all is the **mass**, which is represented in Kilograms. The mass defines how fast an object accelerates when a given force acts onto it. For example: If an aircraft is on the ground and the aerodynamic forces are neglitable then the acceleration of the aircraft is directly proportional to the thrust of the engine divided by the mass of the aircraft. Heavier aircraft with the same thrust will therefor accelerate much slower than light aircraft. And only if the total mass of the aircraft is set to a realistic value will the acceleration be realistic. | For this mathematical description Aerofly needs to know a few key parameters of the objects it is simulating. Most important of all is the **mass**, which is represented in Kilograms. The mass defines how fast an object accelerates when a given force acts onto it. For example: If an aircraft is on the ground and the aerodynamic forces are neglitable then the acceleration of the aircraft is directly proportional to the thrust of the engine divided by the mass of the aircraft. Heavier aircraft with the same thrust will therefor accelerate much slower than light aircraft. And only if the total mass of the aircraft is set to a realistic value will the acceleration be realistic. | ||
- | ==== Rigidbody ===== | + | Here is a visualization of how all the rigidbodies of the DR400 aircraft: |
+ | {{ : | ||
+ | |||
+ | ===== Rigidbody | ||
Aerofly uses the mathematical concept of a rigidbody to simulate the aircraft mass. A rigidbody in Aerofly can be thought of as a box with a certain size, a certain mass, position and orientation, | Aerofly uses the mathematical concept of a rigidbody to simulate the aircraft mass. A rigidbody in Aerofly can be thought of as a box with a certain size, a certain mass, position and orientation, | ||
We usually break down the aircraft into several parts, for example the left and right wings, the fuselage, stabilizer, propeller and individual parts of the landing gear (those that move independent of each other). | We usually break down the aircraft into several parts, for example the left and right wings, the fuselage, stabilizer, propeller and individual parts of the landing gear (those that move independent of each other). | ||
- | |||
- | Here is a visualization of how all the rigidbodies of the DR400 aircraft: | ||
- | {{ : | ||
- | |||
In the [[aircraft: | In the [[aircraft: | ||
Line 81: | Line 80: | ||
This is an example of the left wing's root joint. It is allows a rotation around the x-axis, which means the wing can still flap up and down but it can't freely move forward, left/right or up/down (without rotation) relative to the fuselage or rotate around any other axis. The values Kp and Kd are set quite high, since the wing creates a lot of lift and this joint has to transfer that bending torque around the root. It's a stiff connection that doesn' | This is an example of the left wing's root joint. It is allows a rotation around the x-axis, which means the wing can still flap up and down but it can't freely move forward, left/right or up/down (without rotation) relative to the fuselage or rotate around any other axis. The values Kp and Kd are set quite high, since the wing creates a lot of lift and this joint has to transfer that bending torque around the root. It's a stiff connection that doesn' | ||
+ | |||
+ | > **Caution**: | ||
< | < | ||
Line 121: | Line 122: | ||
Allows full 6 degrees of motion: 3 translation components and 3 rotational components. | Allows full 6 degrees of motion: 3 translation components and 3 rotational components. | ||
+ | |||
+ | == Typical short version === | ||
+ | > **Caution**: | ||
< | < | ||
< | < | ||
< | < | ||
- | < | + | |
- | < | + | < |
- | < | + | < |
- | < | + | |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
- | < | + | < |
+ | < | ||
+ | < | ||
+ | < | ||
+ | ></ | ||
+ | |||
+ | == Full version === | ||
+ | |||
+ | > **Caution**: | ||
+ | |||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
< | < | ||
- | < | + | < |
< | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
+ | < | ||
< | < | ||
></ | ></ | ||
+ | |||
+ | === Rigid == | ||
+ | Setting '' | ||
+ | |||
+ | === R0 === | ||
+ | |||
+ | '' | ||
+ | |||
+ | === X0, Y0, Z0 === | ||
+ | |||
+ | X0, Y0 and Z0 define a rotation matrix to rotate the joint' | ||
+ | |||
+ | === Kf, Kt == | ||
+ | All '' | ||
+ | '' | ||
+ | |||
+ | === Df == | ||
+ | All '' | ||
+ | '' | ||
+ | |||
+ | === ForceMax, TorqueMax === | ||
+ | Defines the force and torque at which the connection breaks. From that moment on the two bodies are completely independant and the crash reset timer is started which reloads the aircraft after (default) 3 seconds. | ||
+ | |||
+ | === Rotation Input === | ||
+ | |||
+ | Using Rotation0Control, | ||
+ | |||
+ | === PreLoad, PreTension === | ||
+ | Defines the offset force (in Newtons) or torque (in Newton-Meters). When the deflection or displacement is zero this force or torque is still acting between the two bodies. Normally the landing gear would compress under the weight of the aircraft but the PreLoad parameter could reduce this displacement to zero on the ground. In the air the gear would then extend outward. | ||
==== Joint-Torque ==== | ==== Joint-Torque ==== | ||
Only applies a torque between two bodies and doesn' | Only applies a torque between two bodies and doesn' | ||
+ | |||
+ | > **Caution**: | ||
< | < |
aircraft/tmd/rigidbody.txt · Last modified: 2018/09/30 14:43 by jh