modelCutForce

Measure cut force vector

Extends from Modelica.Mechanics.MultiBody.Sensors.Internal.PartialCutForceSensor (Base class to measure cut force and/or torque between two frames, defined by components).

Information

The cut-force acting between the two frames to which this model is connected, is determined and provided at the output signal connector force (= frame_a.f). If parameter positiveSign = false, the negative cut-force is provided (= frame_b.f).

Via parameter resolveInFrame it is defined, in which frame the force vector is resolved:

resolveInFrame =
Types.ResolveInFrameA.
Meaning
world Resolve vector in world frame
frame_a Resolve vector in frame_a
frame_resolve Resolve vector in frame_resolve

If resolveInFrame = Types.ResolveInFrameAB.frame_resolve, the conditional connector "frame_resolve" is enabled and output force is resolved in the frame, to which frame_resolve is connected. Note, if this connector is enabled, it must be connected.

In the following figure the animation of a CutForce sensor is shown. The dark blue coordinate system is frame_b, and the green arrow is the cut force acting at frame_b and with negative sign at frame_a.

Parameters

TypeNameDefaultDescription
Booleananimationtrue= true, if animation shall be enabled (show arrow)
BooleanpositiveSigntrue= true, if force with positive sign is returned (= frame_a.f), otherwise with negative sign (= frame_b.f)
Modelica.Mechanics.MultiBody.Types.ResolveInFrameAresolveInFrame (from PartialCutForceSensor)Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_aFrame in which output vector(s) is/are resolved (world, frame_a, or frame_resolve)

Connectors

TypeNameDefaultDescription
Modelica.Blocks.Interfaces.RealOutput[3]forceCut force resolved in frame defined by resolveInFrame
Modelica.Mechanics.MultiBody.Interfaces.Frame_aframe_a (from PartialCutForceSensor)Coordinate system a
Modelica.Mechanics.MultiBody.Interfaces.Frame_bframe_b (from PartialCutForceSensor)Coordinate system b
Modelica.Mechanics.MultiBody.Interfaces.Frame_resolveframe_resolve (from PartialCutForceSensor)Output vectors are optionally resolved in this frame (cut-force/-torque are set to zero)

Components

TypeNameDefaultDescription
Types.ColorforceColorModelica.Mechanics.MultiBody.Types.Defaults.ForceColorColor of force arrow
Types.SpecularCoefficientspecularCoefficientworld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)