RelativeForce

Input signal acting as force and torque on two frames

    RelativeForce

Library

PlanarMechanics/Sources

Description

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

Parameter resolveInFrame defines in which frame the inputforce shall be resolved.

Types.ResolveInFrameB.Meaning
worldResolve input force in world frame (= default)
frame_aResolve input force in frame_a
frame_bResolve input force in frame_b
frame_resolveResolve 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 isconnected to frame_resolve.

Parameters

RelativeForce_0

NameLabelDescriptionData TypeValid Values

mo_resolveInFrame

resolveInFrame

Frame in which output vector r_rel shall be resolved (1: world, 2: frame_a, 3: frame_b, 4: frame_resolve)

Structure

mo_resolveInFrame/choice1

Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.world

Number

0
1

mo_resolveInFrame/choice2

Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_a

Number

0
1

mo_resolveInFrame/choice3

Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_b

Number

0
1

mo_resolveInFrame/choice4

Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_resolve

Number

0
1

mo_animation

animation

= true, if animation shall be enabled

Scalar

true
false

RelativeForce_1

NameLabelDescriptionData TypeValid Values

mo_N_to_m

N_to_m

Force arrow scaling (length = force/N_to_m)

Scalar

mo_Nm_to_m

Nm_to_m

Torque arrow scaling (length = torque/Nm_to_m)

Scalar

mo_diameter

diameter

Has no longer an effect and is only kept for backwards compatibility (arrow visualization by Vector now)

Scalar

mo_zPosition

zPosition

Position z of cylinder representing the fixed translation

Scalar

mo_color

color

Color of arrow

Vector of size 3

mo_specularCoefficient

specularCoefficient

Reflection of ambient light (= 0: light is completely absorbed)

Scalar

RelativeForce_2

NameLabelDescriptionData TypeValid 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

'R'
'phi'
'f_in_m'
't_in_m'
'R_0'
'rvisobj'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

frame_a

implicit

Coordinate system fixed to the component with one cut-force and cut-torque

input

1

frame_b

implicit

Coordinate system fixed to the component with one cut-force and cut-torque

input

2

force

implicit

input

3

Port 4

implicit

Coordinate system in which vector is optionally resolved, if useExtraFrame is true

output

mo_resolveInFrame.choice4

See Also