modelBasicForce
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).
Information
The 3 signals of the force connector are interpreted as the x-, y- and z-coordinates of a force acting at the frame connector to which frame_b of this component is attached. Via parameter resolveInFrame it is defined, in which frame these coordinates 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 coordinates are with respect to the frame, that is connected to frame_resolve.
If resolveInFrame is not ResolveInFrameAB.frame_resolve, then the position vector and the orientation object of frame_resolve must be set to constant values from the outside in order that the model remains balanced (these constant values are ignored).
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB | resolveInFrame | Modelica.Mechanics.MultiBody.Types.ResolveInFrameAB.frame_b | Frame in which force is resolved (1: world, 2: frame_a, 3: frame_b, 4: frame_resolve) |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Interfaces.Frame_a | frame_a (from PartialTwoFrames) | Coordinate system a fixed to the component with one cut-force and cut-torque | |
| Interfaces.Frame_b | frame_b (from PartialTwoFrames) | Coordinate system b fixed to the component with one cut-force and cut-torque | |
| Interfaces.Frame_resolve | frame_resolve | The input signals are optionally resolved in this frame | |
| Modelica.Blocks.Interfaces.RealInput[3] | force | x-, y-, z-coordinates of force resolved in frame defined by resolveInFrame |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| SI.Position[3] | r_0 | Position vector from origin of frame_a to origin of frame_b resolved in world frame | |
| SI.Force[3] | f_b_0 | frame_b.f resolved in world frame |