QuadraticSpeedDependentForce

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

    QuadraticSpeedDependentForce

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

QuadraticSpeedDependentForce_0

NameLabelDescriptionData TypeValid 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
1

mo_resolveInFrame/choice2

Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_a

Number

0
1

mo_resolveInFrame/choice3

Modelica.Mechanics.MultiBody.Types.ResolveInFrameA.frame_resolve

Number

0
1

mo_resolveInFrameB

resolveInFrameB

Conversion from frame A to B

Structure

mo_resolveInFrameB/choice1

Modelica.Mechanics.MultiBody.Types.ResolveInFrameB.world

Number

0
1

mo_resolveInFrameB/choice2

Modelica.Mechanics.MultiBody.Types.ResolveInFrameB.frame_b

Number

0
1

mo_resolveInFrameB/choice3

Modelica.Mechanics.MultiBody.Types.ResolveInFrameB.frame_resolve

Number

0
1

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
false

QuadraticSpeedDependentForce_1

NameLabelDescriptionData TypeValid 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

QuadraticSpeedDependentForce_2

NameLabelDescriptionData TypeValid 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'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

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

See Also