WOLFRAM SYSTEM MODELER
ForceAndTorqueDemonstrate usage of ForceAndTorque element |
SystemModel["Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque"]
This information is part of the Modelica Standard Library maintained by the Modelica Association.
In this example the usage of the general force element "ForceAndTorque" is shown. A "ForceAndTorque" element is connected between a body and a fixed point in the world system. The force and torque is defined by the "Constant" block. The two vectors are resolved in the coordinate system defined by the "fixedRotation" component that is fixed in the world system:
The animation view at time = 0 is shown in the figure below. The yellow line is directed from frame_a to frame_b of the forceAndTorque component. The green arrow characterizes the force acting at the body whereas the green double arrow characterizes the torque acting at the body. The lengths of the two vectors are proportional to the lengths of the force and torque vectors (constant scaling factors are defined as parameters in the forceAndTorque component):
world |
Type: World Description: World coordinate system + gravity field + default animation definition |
|
---|---|---|
body |
Type: BodyCylinder Description: Rigid body with cylinder shape. Mass and animation properties are computed from cylinder data and density (12 potential states) |
|
fixed1 |
Type: Fixed Description: Frame fixed in the world frame at a given position |
|
fixedRotation |
Type: FixedRotation Description: Fixed translation followed by a fixed rotation of frame_b with respect to frame_a |
|
forceAndTorque |
Type: ForceAndTorque Description: Force and torque acting between two frames, defined by 3+3 input signals and resolved in frame world, frame_a, frame_b or frame_resolve |
|
revolute2 |
Type: Revolute Description: Revolute joint (1 rotational degree-of-freedom, 2 potential states, optional axis flange) |
|
torque |
Type: Constant[3] Description: Generate constant signal of type Real |
|
revolute1 |
Type: Revolute Description: Revolute joint (1 rotational degree-of-freedom, 2 potential states, optional axis flange) |
|
fixed2 |
Type: Fixed Description: Frame fixed in the world frame at a given position |
|
force |
Type: Constant[3] Description: Generate constant signal of type Real |