SpringDamperParallel
Linear spring and linear damper in parallel
Library
Modelica/Mechanics/MultiBody/Forces
Description
Linear spring and linear damper in parallel acting as line force between frame_a and frame_b. A force f is exerted on the origin of frame_b and with opposite sign on the origin of frame_a along the line from the origin of frame_a to the origin of frame_b according to the equation:
f = c*(s - s_unstretched) + d*der(s);
where "c", "s_unstretched" and "d" are parameters, "s" is the distance between the origin of frame_a and the origin of frame_b and der(s) is the time derivative of s.
Parameters
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_animation | animation | = true, if animation shall be enabled | Scalar | true |
mo_c | c | Spring constant | Scalar | |
mo_s_unstretched | s_unstretched | Unstretched spring length | Scalar | |
mo_d | d | Damping constant | Scalar | |
mo_useHeatPort | useHeatPort | =true, if heatPort is enabled | Number | 0 |
mo_T | T | Fixed device temperature if useHeatPort = false | Scalar |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_length_a | length_a | Length of damper cylinder at frame_a side | Scalar | |
mo_diameter_a | diameter_a | Diameter of damper cylinder at frame_a side | Scalar | |
mo_diameter_b | diameter_b | Diameter of damper cylinder at frame_b side | Scalar | |
mo_color_a | color_a | Color of damper cylinder at frame_a | Vector of size 3 | |
mo_color_b | color_b | Color of damper cylinder at frame_b | Vector of size 3 | |
mo_specularCoefficient | specularCoefficient | Reflection of ambient light (= 0: light is completely absorbed) | Scalar | |
mo_width | width | Width of spring | Scalar | |
mo_coilWidth | coilWidth | Width of spring coil | Scalar | |
mo_numberOfWindings | numberOfWindings | Number of spring windings | Scalar | |
mo_color | color | Color of spring | Vector of size 3 |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_s_small | s_small | Prevent zero-division if distance between frame_a and frame_b is zero | Scalar | |
mo_fixedRotationAtFrame_a | fixedRotationAtFrame_a | =true, if rotation frame_a.R is fixed (to directly connect line forces) | Scalar | true |
mo_fixedRotationAtFrame_b | fixedRotationAtFrame_b | =true, if rotation frame_b.R is fixed (to directly connect line forces) | Scalar | true |
Name | Label | Description | Data Type | Valid Values |
---|---|---|---|---|
mo_length | length | length | Structure | |
mo_length/fixed | fixed | Cell of scalars | true | |
mo_length/start | start | Cell of scalars | ||
mo_s | s | s | Structure | |
mo_s/fixed | fixed | Cell of scalars | true | |
mo_s/start | start | Cell of scalars | ||
mo_r_rel_0 | r_rel_0 | r_rel_0 | Structure | |
mo_r_rel_0/fixed | fixed | Cell of vectors of size 3 | true | |
mo_r_rel_0/start | start | Cell of vectors of size 3 | ||
mo_e_rel_0 | e_rel_0 | e_rel_0 | Structure | |
mo_e_rel_0/fixed | fixed | Cell of vectors of size 3 | true | |
mo_e_rel_0/start | start | Cell of vectors of size 3 | ||
mo_r_rel_a | r_rel_a | r_rel_a | Structure | |
mo_r_rel_a/fixed | fixed | Cell of vectors of size 3 | true | |
mo_r_rel_a/start | start | Cell of vectors of size 3 | ||
mo_e_a | e_a | e_a | Structure | |
mo_e_a/fixed | fixed | Cell of vectors of size 3 | true | |
mo_e_a/start | start | Cell of vectors of size 3 | ||
mo_f | f | f | Structure | |
mo_f/fixed | fixed | Cell of scalars | true | |
mo_f/start | start | Cell of scalars | ||
mo_lossPower | lossPower | lossPower | Structure | |
mo_lossPower/fixed | fixed | Cell of scalars | true | |
mo_lossPower/start | start | Cell of scalars | ||
mo_TheatPort | TheatPort | TheatPort | Structure | |
mo_TheatPort/fixed | fixed | Cell of scalars | true | |
mo_TheatPort/start | start | Cell of scalars |
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 |
Port 3 | implicit | Optional port to which dissipated losses are transported in form of heat | input | mo_useHeatPort |