WOLFRAM SYSTEM MODELER
SpringLinear 2D translational spring |
SystemModel["PlanarMechanics.Parts.Spring"]
A linear translational spring. x- and y direction stiffness can be parameterized.
animate |
Value: true Type: Boolean Description: Enable animation |
---|---|
zPosition |
Value: planarWorld.defaultZPosition Type: Length (m) Description: Position z of cylinder representing the fixed translation |
animateConnectors |
Value: true Type: Boolean Description: =true, if connectors a and b should be animated as cylinders |
diameterConnector_a |
Value: planarWorld.defaultJointWidth Type: Diameter (m) Description: Diameter of connector at frame_a |
diameterConnector_b |
Value: planarWorld.defaultJointWidth Type: Diameter (m) Description: Diameter of connector at frame_b |
stateSelect |
Value: StateSelect.default Type: StateSelect Description: Priority to use phi and w as states |
c_x |
Value: Type: TranslationalSpringConstant (N/m) Description: Spring constant in x dir |
c_y |
Value: Type: TranslationalSpringConstant (N/m) Description: Spring constant in y dir |
c_phi |
Value: Type: RotationalSpringConstant (N⋅m/rad) Description: Spring constant |
s_relx0 |
Value: 0 Type: Position (m) Description: Unstretched spring length |
s_rely0 |
Value: 0 Type: Position (m) Description: Unstretched spring length |
phi_rel0 |
Value: 0 Type: Angle (rad) Description: Unstretched spring angle |
s_small |
Value: 1.E-10 Type: Position (m) Description: Prevent zero-division if distance between frame_a and frame_b is zero |
enableAssert |
Value: true Type: Boolean Description: Cause an assert when the distance between frame_a and frame_b < s_small |
numberOfWindings |
Value: 5 Type: Integer Description: Number of spring windings |
specularCoefficient |
Default Value: planarWorld.defaultSpecularCoefficient Type: SpecularCoefficient Description: Reflection of ambient light (= 0: light is completely absorbed) |
---|---|
colorConnector_a |
Default Value: Types.Defaults.RodColor Type: Color Description: Color of connector at frame_a |
colorConnector_b |
Default Value: Types.Defaults.RodColor Type: Color Description: Color of connector at frame_a |
width |
Default Value: planarWorld.defaultJointWidth Type: Length (m) Description: Width of spring |
coilWidth |
Default Value: width / 10 Type: Length (m) Description: Width of spring coil |
color |
Default Value: Types.Defaults.SpringColor Type: Color Description: Color of spring |
planarWorld |
Type: PlanarWorld Description: Planar world model |
|
---|---|---|
contactA |
Type: Shape Description: Visualizing an elementary object with variable size; all data have to be set as modifiers (see info layer) |
|
contactB |
Type: Shape Description: Visualizing an elementary object with variable size; all data have to be set as modifiers (see info layer) |
|
shapeCoil |
Type: Shape Description: Visualizing an elementary object with variable size; all data have to be set as modifiers (see info layer) |
PlanarMechanics.Examples Spring demo |
Developed 2010 at the DLR Institute of System Dynamics and Control