WOLFRAM SYSTEMMODELER

WorldForce

External force and torque acting at frame_b, defined by 3 input signals and resolved in world frame

Wolfram Language

In[1]:=
SystemModel["PlanarMechanics.Sources.WorldForce"]
Out[1]:=

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 at the frame connector to which frame_b of this component is attached. Note that torque is a scalar quantity, which is exerted perpendicular to the x-y plane.

An example of this model is given in the following figure:

Modelica diagram

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

Parameters (5)

resolveInFrame

Value: Modelica.Mechanics.MultiBody.Types.ResolveInFrameB.frame_b

Type: ResolveInFrameB

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

animation

Value: true

Type: Boolean

Description: = true, if animation shall be enabled

N_to_m

Value: planarWorld.defaultN_to_m

Type: Real (N/m)

Description: Force arrow scaling (length = force/N_to_m)

Nm_to_m

Value: planarWorld.defaultNm_to_m

Type: Real (N·m/m)

Description: Torque arrow scaling (length = torque/Nm_to_m)

zPosition

Value: planarWorld.defaultZPosition

Type: Length (m)

Description: Position z of cylinder representing the fixed translation

Inputs (3)

diameter

Default Value: planarWorld.defaultArrowDiameter

Type: Diameter (m)

Description: Diameter of force arrow

color

Default Value: PlanarMechanics.Types.Defaults.ForceColor

Type: Color

Description: Color of arrow

specularCoefficient

Default Value: planarWorld.defaultSpecularCoefficient

Type: SpecularCoefficient

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

Connectors (3)

frame_b

Type: Frame_b

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

force

Type: RealInput[3]

Description: x-, y-coordinates of force and torque resolved in world frame

frame_resolve

Type: Frame_resolve

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

Components (3)

planarWorld

Type: PlanarWorld

Description: Planar world model

arrow

Type: Arrow

doubleArrow

Type: DoubleArrow

Used in Examples (1)

PendulumExcited

PlanarMechanics.Examples

A swinging pendulum excited by a world force

Used in Components (1)

QuadraticSpeedDependentForce

PlanarMechanics.Sources

External force and torque acting at frame_b, defined by 3 input signals and resolved in world frame