WOLFRAM SYSTEMMODELER

PointGravityWithPointMasses

Two point masses in a point gravity field (rotation of bodies is neglected)

Diagram

Wolfram Language

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

Information

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

This model demonstrates the usage of model Parts.PointMass in a point gravity field. The PointMass model has the feature that that rotation is not taken into account and can therefore also not be calculated. This example demonstrates two cases where this does not matter: If a PointMass is not connected (body1, body2), the orientation object in these point masses is set to a unit rotation. If a PointMass is connected by a line force element, such as the used Forces.LineForceWithMass component, then the orientation object is set to a unit rotation within the line force element. These are the two cases where the rotation is automatically set to a default value, when the physical system does not provide the equations.

Components (6)

world

Type: World

Description:

body1

Type: PointMass

Description:

body2

Type: PointMass

Description:

body3

Type: PointMass

Description:

body4

Type: PointMass

Description:

spring

Type: Spring

Description: