*TorsionSpring()
Creates a torsion spring.
Syntax
*TorsionSpring(spring_name, "spring_label", body_1,
body_2,
point_1,
POINT|VECTOR,
point_2|vector_2)
Arguments
- spring_name
- The variable name of the torsion spring.
- spring_label
- The descriptive label of the torsion spring.
- body_1
- The first body attached to the torsion spring.
- body_2
- The second body attached to the torsion spring.
- point_1
- The point at which the torsion spring connects to body_1 .
- POINT|VECTOR
- A keyword that indicates the alignment method.
- point_2|vector_2
- An entity variable referring to a Point or Vector which is based on the above keyword.
Example
*Point(p_bar_mnt_left, "Bar mnt left")
*Point(p_bar_mnt_right, "Bar mnt right")
*Body(b_bar_left, "Bar left", p_bar_left_cg)
*Body(b_bar_right, "Bar right", p_bar_right_cg)
*TorsionSpring(tspr, "Torsion spring", b_bar_left,
b_bar_right,
p_bar_mnt_left,
POINT,
p_bar_mnt_right)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
ang | real | The angle of the torsion when the spring has a particular load. |
b1 | Body | The first body to which the torsion spring is attached. |
b2 | Body | The second body to which the torsion spring is attached. |
ct | real | The damping coefficient of the torsion spring. |
ft | real | The load on the torsion spring when it has a particular angle. |
i | Marker | The marker on b1. |
j | Marker | The marker on b2. |
kt | real | The stiffness coefficient of the torsion spring. |
label | string | The descriptive label of the torsion spring. |
p1 | Point | The point at which the torsion spring is attached to b1. |
p2 | Point | The point at which the torsion spring is attached to b2. |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the torsion spring. |
id | long integer | The solver ID of the torsion spring. |