This component is used to exert a line force
between the origin of frame_a and the origin of frame_b
by attaching components of the 1-dimensional translational
mechanical library of Modelica (Modelica.Mechanics.Translational)
between the two flange connectors flange_a and
flange_b. Optionally, there are two point masses on the line
connecting the origin of frame_a and the origin of frame_b.
These point masses approximate the masses of the force element.
The locations of the two point masses are defined by their
(fixed) distances of L_a relative to frame_a and of L_b relative
to frame_b, respectively.
In example
MultiBody.Examples.Elementary.LineForceWithTwoMasses the usage of this
line force element is shown and is compared with an alternative
implementation using a
MultiBody.Joints.Assemblies.JointUPS component.
The composition diagram of this example
is displayed in the figure below.
The animation view at time = 0 is shown in the next figure.
The system on the left side in the front is the animation with
the LineForceWithTwoMasses component whereas the system on the right
side in the back is the animation with the JointUPS component.
Both implementations yield the same result. However, the implementation
with the LineForceWithTwoMasses component is simpler.
In the translational library there is the implicit assumption that
forces of components that have only one flange connector act with
opposite sign on the bearings of the component. This assumption
is also used in the LineForceWithTwoMasses component: If a connection
is present to only one of the flange connectors, then the force
in this flange connector acts implicitly with opposite sign also
in the other flange connector.