*CoilSpringPair()

Creates a coil spring pair.

Syntax

*CoilSpringPair(spring_name,"spring_label",body_1, body_2, point_1, point_2)

Arguments

spring_name
The variable name of the coil spring pair.
Data type: varname
spring_label
The descriptive label of the coil spring pair.
Data type: label
body_1
The first body or body pair attached to the coil spring pair.
Data type: Body or BodyPair
body_2
The second body or body pair attached to the coil spring pair.
Data type: Body or BodyPair
point_1
The point or point pair at which the coil spring pair connects to body_1 .
Data type: Point or PointPair
point_2
The point or point pair at which the coil spring pair connects to body_2 .
Data type: Point or PointPair

Example

*BodyPair(b_lca, "LCA", p_lca_cm)
*Body(b_frame, "Frame", p_frame_cm)
*PointPair(p_spr_upr, "Spring @ frame")
*PointPair(p_spr_lwr, "Spring @ lca")
*CoilSpringPair(spring, "Coil Spring", b_lca, 
 b_frame, 
 p_spr_upr, 
 p_spr_lwr)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Properties

Table 1.
Property Returns Data Type Description
b1 BodyPair The first body pair to which the coil spring pair is attached.
b2 BodyPair The second body pair to which the coil spring pair is attached.
i MarkerPair The marker pair on b1.
j MarkerPair The marker pair on b2.
l CoilSpring Left coil spring.
label string The descriptive label of the coil spring pair.
p1 PointPair The point pair at which the coil spring pair is attached to b1.
p2 PointPair The point pair at which the coil spring pair is attached to b2.
r CoilSpring Right coil spring.
state boolean Control state (TRUE or FALSE).
varname string The variable name of the coil spring pair.

Comments

The individual springs of a *CoilSpringPair() can be referred to as spring_name.l (left coil spring) and spring_name.r (right coil spring).