LineForceWithMass
General line force component with an optional point mass on the connection line
Library
Modelica/Mechanics/MultiBody/Forces
Description
This component is used to exert a line forcebetween the origin of frame_a and the origin of frame_bby attaching components of the 1-dimensional translationalmechanical library of Modelica (Modelica.Mechanics.Translational)between the two flange connectors flange_a andflange_b. Optionally, there is a point mass on the lineconnecting the origin of frame_a and the origin of frame_b.This point mass approximates the mass of the force element.The distance of the point mass from frame_a as a fraction of thedistance between frame_a and frame_b is defined viaparameter lengthFraction (default is 0.5, i.e., the pointmass is in the middle of the line).
In the translational library there is the implicit assumption thatforces of components that have only one flange connector act withopposite sign on the bearings of the component. This assumptionis also used in the LineForceWithMass component: If a connectionis present to only one of the flange connectors, then the forcein this flange connector acts implicitly with opposite sign alsoin the other flange connector.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_animateLine | animateLine | = true, if a line shape between frame_a and frame_b shall be visualized | Scalar | true |
mo_animateMass | animateMass | = true, if point mass shall be visualized as sphere provided m > 0 | Scalar | true |
mo_m | m | Mass of point mass on the connection line between the origin of frame_a and the origin of frame_b | Scalar | |
mo_lengthFraction | lengthFraction | Location of point mass with respect to frame_a as a fraction of the distance from frame_a to frame_b | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_s_small | s_small | Prevent zero-division if distance between frame_a and frame_b is zero | Scalar | |
mo_fixedRotationAtFrame_a | fixedRotationAtFrame_a | = true, if rotation frame_a.R is fixed (to directly connect line forces) | Scalar | true |
mo_fixedRotationAtFrame_b | fixedRotationAtFrame_b | = true, if rotation frame_b.R is fixed (to directly connect line forces) | Scalar | true |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_specularCoefficient | specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) | Scalar | |
mo_lineShapeType | lineShapeType | Type of shape visualizing the line from frame_a to frame_b | String | |
mo_lineShapeWidth | lineShapeWidth | Width of shape | Scalar | |
mo_lineShapeHeight | lineShapeHeight | Height of shape | Scalar | |
mo_lineShapeExtra | lineShapeExtra | Extra parameter for shape | Scalar | |
mo_lineShapeColor | lineShapeColor | Color of line shape | Vector of size 3 | |
mo_massDiameter | massDiameter | Diameter of point mass sphere | Scalar | |
mo_massColor | massColor | Color of point mass | Vector of size 3 |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo__nmodifiers | Number of Modifiers | Specifies the number of modifiers | Number | |
mo__modifiers | Modifiers | Add new modifier | Structure | |
mo__modifiers/varname | Variable name | Cell of strings | 'length' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
frame_a | implicit | Coordinate system a fixed to the component with one cut-force and cut-torque | input | 1 |
frame_b | implicit | Coordinate system b fixed to the component with one cut-force and cut-torque | output | 1 |
flange_b | implicit | 1-dim. translational flange (connect force of Translational library between flange_a and flange_b) | input | 2 |
flange_a | implicit | 1-dim. translational flange (connect force of Translational library between flange_a and flange_b) | output | 2 |