BasicForce
Force acting between two frames, defined by 3 input signals
![]()
Library
Modelica/Mechanics/MultiBody/Forces/Internal
Description
The 3 signals of the force connector are interpretedas the x-, y- and z-coordinates of a force acting at the frameconnector to which frame_b of this component is attached.Via parameter resolveInFrame it is defined, in which frame thesecoordinates shall be resolved:
| Types.ResolveInFrameAB. | Meaning |
|---|---|
| world | Resolve input force in world frame |
| frame_a | Resolve input force in frame_a |
| frame_b | Resolve input force in frame_b (= default) |
| frame_resolve | Resolve input force in frame_resolve (frame_resolve must be connected) |
If resolveInFrame = ResolveInFrameAB.frame_resolve, the force coordinatesare with respect to the frame, that is connected to frame_resolve.
If resolveInFrame is not ResolveInFrameAB.frame_resolve, then the positionvector and the orientation object of frame_resolve must be set to constantvalues from the outside in order that the model remains balanced(these constant values are ignored).
Parameters

| Name | Label | Description | Data Type | Valid Values |
|---|---|---|---|---|
mo_resolveInFrame | resolveInFrame | Frame in which force is resolved (1: world, 2: frame_a, 3: frame_b, 4: frame_resolve) | Structure | |
mo_resolveInFrame/choice1 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.world | Number | 0 | |
mo_resolveInFrame/choice2 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_a | Number | 0 | |
mo_resolveInFrame/choice3 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_b | Number | 0 | |
mo_resolveInFrame/choice4 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_resolve | Number | 0 |

| Name | Label | Description | Data Type | Valid 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_0' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
| Name | Type | Description | IO Type | Number |
|---|---|---|---|---|
frame_a | implicit | Coordinate system a fixed to the component with one cut-force and cut-torque | input | 1 |
frame_b | implicit | Coordinate system b fixed to the component with one cut-force and cut-torque | output | 1 |
frame_resolve | implicit | The input signals are optionally resolved in this frame | output | 2 |
force | implicit | x-, y-, z-coordinates of force resolved in frame defined by resolveInFrame | input | 2 |