*TorsionSpringPair()

Creates a torsion spring pair.

Syntax

*TorsionSpringPair(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 pair.
Data type: varname
spring_label
The descriptive label of the torsion spring pair.
Data type: label
body_1
The first body or body pair attached to the torsion spring pair.
Data type: Body or BodyPair
body_2
The second body or body pair attached to the torsion spring pair.
Data type: Body or BodyPair
point_1
The point or point pair at which the torsion spring pair connects to body_1.
Data type: Point or PointPair
POINT|VECTOR
A keyword that indicates the alignment method.
point_2|vector_2
An entity variable referring to a Point, PointPair, Vector, or VectorPair which is based on the above keyword.
Data type: Point, PointPair, Vector, or VectorPair

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")
*TorsionSpringPair(spring, 	"Torsion Spring", 
b_lca, 
b_frame, 
p_spr_upr, 
POINT,
p_spr_lwr)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()

Properties

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

Comments

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