*CoilSpring()
Creates a coil spring.
Syntax
*CoilSpring(spring_name,"spring_label",body_1, body_2, point_1, point_2)
Arguments
- spring_name
- The variable name of the coil spring.
- spring_label
- The descriptive label of the coil spring.
- body_1
- The first body attached to the coil spring.
- body_2
- The second body attached to the coil spring.
- point_1
- The point at which the coil spring connects to body_1 .
- point_2
- The point at which the coil spring connects to body_2 .
Example
*Body(b_lca, "LCA", p_lca_cm)
*Body(b_frame, "Frame", p_frame_cm)
*Point(p_spr_upr, "Spring @ frame")
*Point(p_spr_lwr, "Spring @ lca")
*CoilSpring(spring, "Coil Spring", b_lca,
b_frame,
p_spr_upr,
p_spr_lwr)
Context
Properties
Property | Returns Data Type | Description |
---|---|---|
b1 | Body | The first body to which the coil spring is attached. |
b2 | Body | The second body to which the coil spring is attached. |
c | Marker | The damping coefficient of the coil spring. |
f | Marker | The load on the coil spring at a particular length. |
i | Marker | The marker on b1. |
j | Marker | The marker on b2. |
k | real | The stiffness coefficient of the coil spring. |
l | real | The length of the coil spring when it has a particular load. |
label | string | The descriptive label of the coil spring. |
p1 | Point | The point at which the coil spring is attached to b1. |
p2 | Point | The point at which the coil spring is attached to b2. |
state | boolean | Control state (TRUE or FALSE). |
varname | string | The variable name of the coil spring. |
id | long integer | The solver ID of the coil spring. |