modelForceAndTorque

Obsolete model. Use instead Modelica.Mechanics.MultiBody.Forces.ForceAndTorque

Extends from Modelica.Mechanics.MultiBody.Interfaces.PartialTwoFrames (Base model for components providing two frame connectors + outer world + assert to guarantee that the component is connected), ObsoleteModelica3.Icons.ObsoleteModel (Icon for an obsolete model (use only for this case)).

Information

The 6 signals of the load connector are interpreted as the x-, y- and z-coordinates of a force and as the x-, y-, and z-coordinates of a torque acting at the frame connector to which frame_b of this component is attached. If connector frame_resolve is not connected, the force and torque coordinates are with respect to frame_b. If connector frame_resolve is connected, the force and torque coordinates are with respect to frame_resolve. In this case the force and torque in connector frame_resolve are set to zero, i.e., this connector is solely used to provide the information of the coordinate system, in which the force/torque coordinates are defined. The input signals are mapped to the force and torque in the following way:

   force  = load[1:3]
   torque = load[4:6]

Additionally, a force and torque acts on frame_a in such a way that the force and torque balance between frame_a and frame_b is fulfilled.

An example how to use this model is given in the following figure:

This leads to the following animation (the yellow cylinder characterizes the line between frame_a and frame_b of the ForceAndTorque component, i.e., the force and torque acts with negative sign also on the opposite side of this cylinder, but for clarity this is not shown in the animation):

Parameters

TypeNameDefaultDescription
Booleananimationtrue= true, if animation shall be enabled
if animation = true
RealN_to_mworld.defaultN_to_m Force arrow scaling (length = force/N_to_m)
RealNm_to_mworld.defaultNm_to_m Torque arrow scaling (length = torque/Nm_to_m)

Connectors

TypeNameDefaultDescription
Interfaces.Frame_aframe_a (from PartialTwoFrames)Coordinate system a fixed to the component with one cut-force and cut-torque
Interfaces.Frame_bframe_b (from PartialTwoFrames)Coordinate system b fixed to the component with one cut-force and cut-torque
Modelica.Mechanics.MultiBody.Interfaces.Frame_resolveframe_resolveIf connected, the input signals are resolved in this frame
Modelica.Blocks.Interfaces.RealInput[6]load[1:6] = x-, y-, z-coordinates of force and x-, y-, z-coordiantes of torque resolved in frame_b or frame_resolved (if connected)

Components

TypeNameDefaultDescription
SI.DiameterforceDiameterworld.defaultArrowDiameter Diameter of force arrow
SI.DiametertorqueDiameterforceDiameter Diameter of torque arrow
SI.DiameterconnectionLineDiameterforceDiameter Diameter of line connecting frame_a and frame_b
Types.ColorforceColorModelica.Mechanics.MultiBody.Types.Defaults.ForceColor Color of force arrow
Types.ColortorqueColorModelica.Mechanics.MultiBody.Types.Defaults.TorqueColor Color of torque arrow
Types.ColorconnectionLineColorModelica.Mechanics.MultiBody.Types.Defaults.SensorColor Color of line connecting frame_a and frame_b
Types.SpecularCoefficientspecularCoefficientworld.defaultSpecularCoefficientReflection of ambient light (= 0: light is completely absorbed)
SI.Position[3]r_0Position vector from origin of frame_a to origin of frame_b resolved in world frame
SI.Force[3]f_b_0frame_b.f resolved in world frame
SI.Torque[3]t_b_0frame_b.t resolved in world frame