Damper

Linear (velocity dependent) damper

    Damper

Library

PlanarMechanics/Parts

Description

This component is a linear damper, which acts as a line force betweenframe_a and frame_b (i.e. point-to-point). A force f isexerted on the origin of frame_b and with opposite sign on the originof frame_a along the line from the origin of frame_a tothe origin of frame_b according to the equation:

f = d*der(s);

where d is the damping constant, s is the distance betweenthe origin of frame_a and origin of frame_b, andder(s) is the time derivative of s.

In the following figure a typical animation is shown where a mass is hangingon a damper.

Damper animation

Parameters

Damper_0

NameLabelDescriptionData TypeValid Values

mo_animate

animate

Enable animation

Scalar

true
false

mo_useHeatPort

useHeatPort

= true, if heatPort is enabled

Number

0
1

mo_T

T

Fixed device temperature if useHeatPort = false

Scalar

mo_d

d

Damping constant

Scalar

mo_TheatPort

TheatPort

TheatPort

Structure

mo_TheatPort/fixed

fixed

Cell of scalars

true
false

mo_TheatPort/start

start

Cell of scalars

mo_r0

r0

r0

Structure

mo_r0/fixed

fixed

Cell of vectors of size 2

true
false

mo_r0/start

start

Cell of vectors of size 2

mo_vx

vx

vx

Structure

mo_vx/fixed

fixed

Cell of scalars

true
false

mo_vx/start

start

Cell of scalars

mo_vy

vy

vy

Structure

mo_vy/fixed

fixed

Cell of scalars

true
false

mo_vy/start

start

Cell of scalars

Damper_1

NameLabelDescriptionData TypeValid Values

mo_zPosition

zPosition

Position z of cylinder representing the fixed translation

Scalar

mo_specularCoefficient

specularCoefficient

Reflection of ambient light (= 0: light is completely absorbed)

Scalar

mo_animateConnectors

animateConnectors

=true, if connectors a and b should be animated as cylinders

Scalar

true
false

mo_diameterConnector_a

diameterConnector_a

Diameter of connector at frame_a

Scalar

mo_diameterConnector_b

diameterConnector_b

Diameter of connector at frame_b

Scalar

mo_colorConnector_a

colorConnector_a

Color of connector at frame_a

Vector of size 3

mo_colorConnector_b

colorConnector_b

Color of connector at frame_a

Vector of size 3

mo_length_a

length_a

Length of cylinder at frame_a side

Scalar

mo_diameter_a

diameter_a

Diameter of cylinder at frame_a side

Scalar

mo_diameter_b

diameter_b

Diameter of cylinder at frame_b side

Scalar

mo_color_a

color_a

Color of cylinder at frame_a side

Vector of size 3

mo_color_b

color_b

Color of cylinder at frame_b side

Vector of size 3

Damper_2

NameLabelDescriptionData TypeValid Values

mo_stateSelect

stateSelect

Priority to use phi and w as states

Structure

mo_stateSelect/choice1

StateSelect.never

Number

0
1

mo_stateSelect/choice2

StateSelect.avoid

Number

0
1

mo_stateSelect/choice3

StateSelect.default

Number

0
1

mo_stateSelect/choice4

StateSelect.prefer

Number

0
1

mo_stateSelect/choice5

StateSelect.always

Number

0
1

mo_s_small

s_small

Prevent zero-division by regularization if distance between frame_a and frame_b is zero

Scalar

mo_enableAssert

enableAssert

Cause an assert when the distance between frame_a and frame_b < s_small

Scalar

true
false

Damper_3

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

'lossPower'
'd0'
'v'
'f'
'length'
'r0_b'

mo__modifiers/attribute

Attribute

Cell of strings

'start'
'fixed'

mo__modifiers/value

Value

Ports

NameTypeDescriptionIO TypeNumber

frame_a

implicit

Coordinate system fixed to the component with one cut-force and cut-torque

input

1

frame_b

implicit

Coordinate system fixed to the component with one cut-force and cut-torque

input

2

Port 3

implicit

Optional port to which dissipated losses are transported in form of heat

input

mo_useHeatPort

See Also