.DeployStructLib.Parts.Springs.FindLengthSpring

Linear translational spring with optional mass with unstretched length initialization

Information

Attribution Notice

This model is an extension of the Spring block in the Mechanics.MultiBody.Spring package of the Modelica Standard Library
Copyright © 1998-2016, Modelica Association and DLR.

Linear spring acting as line force between frame_a and frame_b. A force f is exerted on the origin of frame_b and with opposite sign on the origin of frame_a along the line from the origin of frame_a to the origin of frame_b according to the equation:

                 f = c*(s - s_unstretched);
              

where "c" and "s_unstretched" are parameters and "s" is the distance between the origin of frame_a and the origin of frame_b.

This spring uses the stretched length and the stiffness to compute the unstretched length, where the force balances to zero. An example of its use is given in Examples.FanFoldArray_offloaded.

Optionally, the mass of the spring is taken into account by a point mass located on the line between frame_a and frame_b (default: middle of the line). If the spring mass is zero, the additional equations to handle the mass are removed.

In the following figure a typical animation of the spring is shown. The blue sphere in the middle of the spring characterizes the location of the point mass.

model Examples.Elementary.SpringWithMass

Copyright © 2018
ATA ENGINEERING, INC.
ALL RIGHTS RESERVED


Generated at 2025-03-08T19:24:39Z by OpenModelicaOpenModelica 1.24.5 using GenerateDoc.mos