*SetCoupler() - symmetric coupler pair

Sets the ratio for a coupler pair.

Syntax

*SetCoupler(coupler_name, LEFT|RIGHT, ratio)

Arguments

coupler_name
The variable name of an existing coupler pair.
Data type: varname
LEFT|RIGHT
If LEFT is specified, the properties are assigned to the left coupler, and the right coupler properties are made symmetric to the left coupler.
If RIGHT is specified, the properties are assigned to the right coupler, and the left coupler properties are made symmetric to the right coupler.
Data type: real
ratio
The value of the coupler ratio.
Data type: real

Example

*RevJointPair( j_bearing1, "Bearing 1", b_shaft1, 
 b_shaft1_hsg, 
 
 p_shaft1_hsg, 
 V_Global_Y )
*CylJointPair( j_bearing2, "Bearing 2", b_shaft2, 
 b_shaft2_hsg, 
 p_shaft2_hsg, 
 v_hsg2_align )
*CouplerPair( cpl, "Gear", j_bearing1, 
 j_bearing2, 
 ROT, 
 ROT )
*SetCoupler(cpl, LEFT, 10.2)

Context

*BeginMdl()

*DefineAnalysis()

*DefineSystem()