Attribution Notice
This model is an extension of the Spring block in the Mechanics.MultiBody.Forces 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 exerts a force until the "release" condition is true. For the remainder of the simulation, it exerts no force.
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.
Copyright © 2018
ATA ENGINEERING, INC.
ALL RIGHTS RESERVED