WOLFRAM SYSTEMMODELER

FreeBody

Free flying body attached by two springs to environment

Diagram

Wolfram Language

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

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This example demonstrates:

  • The animation of spring and damper components
  • A body can be freely moving without any connection to a joint. In this case body coordinates are used automatically as states (whenever joints are present, it is first tried to use the generalized coordinates of the joints as states).
  • If a body is freely moving, the initial position and velocity of the body can be defined with the "Initialization" menu as shown with the body "body1" in the left part (click on "Initialization").
model Examples.Elementary.FreeBody

Parameters (1)

animation

Value: true

Type: Boolean

Description: = true, if animation shall be enabled

Components (5)

world

Type: World

Description:

bar2

Type: FixedTranslation

Description:

spring1

Type: Spring

Description:

body

Type: BodyShape

Description:

spring2

Type: Spring

Description: