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.

Components
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.World | world | ||
| Modelica.Mechanics.MultiBody.Forces.Spring | spring | ||
| Modelica.Mechanics.MultiBody.Parts.Body | body |