The TX function returns the x-component of the net torque acting at marker i, as computed in the coordinate system of marker k. All force and constraint elements acting between markers i and j are included in the calculation of the torque, unless a force element is an action-only type force. To return the x-component of the action-only torques acting at marker i, you should omit specification of marker j or specify it as zero. Note that you can not specify marker k and omit marker j. In this case, you should specify marker j to be zero.
Format
TX(i[,j][,k])
Arguments
i | An integer that specifies the identifier of the marker at which the magnitude of the net torque is to be calculated. |
j | A second integer that specifies a marker identifier. All torques acting between the [i,j] pair are to be included in the calculation. Set j = 0 or do not specify it if you are interested in action-only torques. |
k | An integer that specifies the identifier of a marker (coordinate system) in which the x-component of the torque is to be returned. k defaults to the global coordinate system when it is not specified. |
Examples
JOINT/1, REVOLUTE, I=32, J=44
MOTION/1, ROTATION, JOINT=1, FUNCTION=10*TIME
VARIABLE/31, FUNCTION=TX(32,44)
In this example a revolute joint and motion (through the joint) act between Marker 32 and 44. A new state variable VARIABLE/31 is defined to have the x-component of the sum of all torques acting between markers 32 and 44 as computed in the global coordinate system. Since joint 1 and motion 1 are defined between markers 32 and 44, their reaction torque will be included in the computation of TX().
See other
Generic force available.