modelRelativeForce

Input signal acting as force and torque on two frames

Extends from PlanarMechanics.Interfaces.PartialTwoFrames (Partial model with two frames).

Information

The 3 signals of the force connector contain force and torque. The first and second signal are interpreted as the x- and y-coordinates of a force and the third is torque, acting between two frame connectors to which frame_a and frame_b are attached respectively. Note that torque is a scalar quantity, which is exerted perpendicular to the x-y plane.

Parameter resolveInFrame defines in which frame the input force shall be resolved.

Types.ResolveInFrameB. Meaning
world Resolve input force in world frame (= default)
frame_a Resolve input force in frame_a
frame_b Resolve input force in frame_b
frame_resolve Resolve input force in frame_resolve (frame_resolve must be connected)

If resolveInFrame = Types.ResolveInFrameAB.frame_resolve, the force coordinates shall be resolved in the frame, which is connected to frame_resolve.

Parameters

TypeNameDefaultDescription
Modelica.Mechanics.MultiBody.Types.ResolveInFrameABresolveInFrameModelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_aFrame in which output vector r_rel shall be resolved (1: world, 2: frame_a, 3: frame_b, 4: frame_resolve)
Booleananimationtrue= true, if animation shall be enabled
Animation › If animation = true
RealN_to_mplanarWorld.defaultN_to_mForce arrow scaling (length = force/N_to_m)
RealNm_to_mplanarWorld.defaultNm_to_mTorque arrow scaling (length = torque/Nm_to_m)
SI.LengthzPositionplanarWorld.defaultZPositionPosition z of cylinder representing the fixed translation

Connectors

TypeNameDefaultDescription
Frame_aframe_a (from PartialTwoFrames)Coordinate system fixed to the component with one cut-force and cut-torque
Frame_bframe_b (from PartialTwoFrames)Coordinate system fixed to the component with one cut-force and cut-torque
Modelica.Blocks.Interfaces.RealInput[3]force
Interfaces.Frame_resolveframe_resolveCoordinate system in which vector is optionally resolved, if useExtraFrame is true

Components

TypeNameDefaultDescription
SI.DiameterdiameterplanarWorld.defaultArrowDiameterHas no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)
MB.Types.ColorcolorPlanarMechanics.Types.Defaults.ForceColorColor of arrow
MB.Types.SpecularCoefficientspecularCoefficientplanarWorld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)
Real[2,2]RRotation matrix from world frame to frame_b
SI.AnglephiRotation angle of the additional frame_c

Revisions

DLR logo Developed 2010 at the DLR Institute of System Dynamics and Control