WOLFRAM SYSTEMMODELER

ForceAndTorque

Demonstrate usage of ForceAndTorque element

Diagram

Wolfram Language

In[1]:=
Click for copyable input
SystemModel["Modelica.Mechanics.MultiBody.Examples.Elementary.ForceAndTorque"]
Out[1]:=

Information

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):

Components (10)

world

Type: World

Description:

body

Type: BodyCylinder

Description:

fixed1

Type: Fixed

Description:

fixedRotation

Type: FixedRotation

Description:

forceAndTorque

Type: ForceAndTorque

Description:

revolute2

Type: Revolute

Description:

torque

Type: Constant[3]

Description:

revolute1

Type: Revolute

Description:

fixed2

Type: Fixed

Description:

force

Type: Constant[3]

Description: