This information is part of the Modelica Standard Library maintained by the Modelica Association.
Spring
Linear translational spring with optional mass
CONNECTORS
| Name | Type | Description | |
|---|---|---|---|
| frame_a | Frame_a | Coordinate system fixed to the component with one cut-force and cut-torque | |
| frame_b | Frame_b | Coordinate system fixed to the component with one cut-force and cut-torque |
PARAMETERS
| Name | Type | Default Value | Description |
|---|---|---|---|
| animation | Boolean | true | = true, if animation shall be enabled |
| showMass | Boolean | true | = true, if point mass shall be visualized as sphere if animation=true and m>0 |
| c | TranslationalSpringConstant | Spring constant | |
| s_unstretched | Length | 0 | Unstretched spring length |
| m | Mass | 0 | Spring mass located on the connetion line between the origin of frame_a and the origin of frame_b |
| lengthFraction | Real | 0.5 | Location of spring mass with respect to frame_a as a fraction of the distance from frame_a to frame_b (=0: at frame_a; =1: at frame_b) |
| numberOfWindings | Integer | 5 | Number of spring windings |
USED IN EXAMPLES
| Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings3-dim. springs in series and parallel connection | |
| Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMassPoint mass hanging on a spring | |
| Modelica.Mechanics.MultiBody.Examples.Elementary.SpringMassSystemMass attached with a spring to the world frame | |
| Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystemSimple spring/damper/mass system | |
| Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMassesTwo point masses in a point gravity field (rotation of bodies is neglected) | |
| Modelica.Mechanics.MultiBody.Examples.Elementary.PendulumWithSpringDamperSimple spring/damper/mass system | |
| Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstantDetermine spring constant such that system is in steady state at given position | |
| Modelica.Mechanics.MultiBody.Examples.Elementary.FreeBodyFree flying body attached by two springs to environment |
