QuadraticSpeedDependentForce
External force and torque acting at frame_b, defined by 3 input signals and resolved in world frame
Library
PlanarMechanics/Sources
Description
A force applied on frame_b
which is quadratic dependent onthe velocity of this frame. Both the measured velocity and the applied forceare resolved in the same frame which is defined via parameterresolveInFrame
as follows:
Types.ResolveInFrameA. | Meaning |
---|---|
world | Resolve input force in world frame (= default) |
frame_a | Resolve input force in frame_b |
frame_resolve | Resolve input force in frame_resolve (frame_resolve must be connected) |
This model is e.g. suitable to simulate aerodynamic drag forces.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_resolveInFrame | resolveInFrame | Frame in which output vector r_rel shall be resolved (1: world, 2: frame_a, 3: frame_resolve) | Structure | |
mo_resolveInFrame/choice1 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.world | Number | 0 | |
mo_resolveInFrame/choice2 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a | Number | 0 | |
mo_resolveInFrame/choice3 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_resolve | Number | 0 | |
mo_resolveInFrameB | resolveInFrameB | Conversion from frame A to B | Structure | |
mo_resolveInFrameB/choice1 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameB.world | Number | 0 | |
mo_resolveInFrameB/choice2 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameB.frame_b | Number | 0 | |
mo_resolveInFrameB/choice3 | Modelica.Mechanics.MultiBody.Types.ResolveInFrameB.frame_resolve | Number | 0 | |
mo_F_nominal | F_nominal | Nominal force (if negative, torque is acting as load) | Scalar | |
mo_v_nominal | v_nominal | Nominal speed | Scalar | |
mo_tau_nominal | tau_nominal | Nominal torque (if negative, torque is acting as load) | Scalar | |
mo_w_nominal | w_nominal | Nominal speed | Scalar | |
mo_animation | animation | = true, if animation shall be enabled | Scalar | true |
Name | Label | Description | Data Type | Valid 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 |
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 | 'force' | |
mo__modifiers/attribute | Attribute | Cell of strings | 'start' | |
mo__modifiers/value | Value |
Ports
Name | Type | Description | IO Type | Number |
---|---|---|---|---|
frame_b | implicit | Coordinate system fixed to the component with one cut-force and cut-torque | input | 1 |
Port 2 | implicit | Coordinate system in which vector is optionally resolved, if useExtraFrame is true | output | mo_resolveInFrameB.choice3 |