modelLineForceBase

Base model for line force elements

Extends from PartialTwoFrames (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected).

Information

All line force elements should be based on this base model. This model defines frame_a and frame_b and computes the (guarded) relative distance s. An assertion is raised if the relative distance length became smaller as parameter s_small.

Parameters

TypeNameDefaultDescription
Advanced
SI.Distances_small1e-10Prevent zero-division if distance between frame_a and frame_b is zero
Advanced › If enabled, can give wrong results, see MultiBody.UsersGuide.Tutorial.ConnectionOfLineForces
BooleanfixedRotationAtFrame_afalse= true, if rotation frame_a.R is fixed (to directly connect line forces)
BooleanfixedRotationAtFrame_bfalse= true, if rotation frame_b.R is fixed (to directly connect line forces)

Connectors

TypeNameDefaultDescription
Interfaces.Frame_aframe_a (from PartialTwoFrames)Coordinate system a fixed to the component with one cut-force and cut-torque
Interfaces.Frame_bframe_b (from PartialTwoFrames)Coordinate system b fixed to the component with one cut-force and cut-torque

Components

TypeNameDefaultDescription
SI.DistancelengthDistance between the origin of frame_a and the origin of frame_b
SI.Positions(Guarded) distance between the origin of frame_a and the origin of frame_b (>= s_small))
SI.Position[3]r_rel_0Position vector from frame_a to frame_b resolved in world frame
Real[3]e_rel_0Unit vector in direction from frame_a to frame_b, resolved in world frame