CutForce
Measure cut force vector
Library
PlanarMechanics/Sensors
Description
The cut-force acting between the two frames to which this modelis connected, is determined and provided at the output signalconnector force
(= frame_a.f
).If parameter positiveSign = false
, the negativecut-force is provided (= frame_b.f
).
Via parameter resolveInFrame
it is defined, in which framethe force vector is resolved.
resolveInFrame = … | Output vector resolved in |
---|---|
Types.ResolveInFrameAB.world | world frame |
Types.ResolveInFrameAB.frame_a | frame_a |
Types.ResolveInFrameAB.frame_b | frame_b |
Types.ResolveInFrameAB.frame_resolve | frame_resolve (must be connected) |
If resolveInFrame = Types.ResolveInFrameAB.frame_resolve
,the conditional connector frame_resolve
is enabled andoutput force
is resolved in the frame, to whichframe_resolve
is connected.Note, if this connector is enabled, it must be connected.
In the following figure the modeling and animation of thissensor is shown.


Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_animation | animation | = true, if animation shall be enabled (show arrow) | Scalar | true |
mo_positiveSign | positiveSign | = true, if force with positive sign is returned (= frame_a.f), otherwise with negative sign (= frame_b.f) | Scalar | true |
mo_resolveInFrame | resolveInFrame | Frame in which output vector(s) is/are resolved (1: world, 2: frame_a, 3: frame_resolve) | Structure | |
mo_resolveInFrame/choice1 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.world | Number | 0 | |
mo_resolveInFrame/choice2 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a | Number | 0 | |
mo_resolveInFrame/choice3 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_resolve | Number | 0 | |
mo_N_to_m | N_to_m | Force arrow scaling (length = force/N_to_m) | Scalar | |
mo_forceDiameter | forceDiameter | Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now) | Scalar | |
mo_forceColor | forceColor | Color of force arrow | Vector of size 3 | |
mo_specularCoefficient | specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) | Scalar |
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 | 'f_in_m' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
force | implicit | Cut force resolved in frame defined by resolveInFrame | output | 1 |
frame_a | implicit | Coordinate system a | input | 1 |
frame_b | implicit | Coordinate system b | input | 2 |
Port 4 | implicit | Output vectors are optionally resolved in this frame (cut-force/-torque are set to zero) | output | mo_resolveInFrame.choice3 |