modelSpringWithMass

Point mass hanging on a spring

Extends from Modelica.Icons.Example (Icon for runnable examples).

Information

This example shows that a force component may have a mass. The 3-dimensional spring as used in this example, has an optional point mass between the two points where the spring is attached. In the animation, this point mass is represented by a small, light blue, sphere.

model Examples.Elementary.SpringWithMass

Components

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Worldworld
Modelica.Mechanics.MultiBody.Forces.Springspring
Modelica.Mechanics.MultiBody.Parts.Bodybody