TM

The TM function returns the magnitude of the net torque acting at marker i. All force and constraint elements between markers i and j are included in the calculation of torque, unless it is an action-only type. To return the torque magnitude of the action-only forces acting as marker i, you should omit specification of marker j, or specify it to be zero.

Format

TM(i[j])

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.

Examples

JOINT/1, REVOLUTE, I=32, J=44
MOTION/1, ROTATION, JOINT=1, FUNCTION=10*TIME
VARIABLE/31, FUNCTION=TM(32,44)
In this example a revolute joint and motion (through the joint) act between Marker 32 and 44. A new algebraically determined state variable VARIABLE/31 is defined to have the magnitude of the net torque between these two markers as its value.
The TM function returns the magnitude of the net torque acting at marker i. All force and constraint elements between markers i and j are included in the calculation of torque, unless it is an action-only type. To return the torque magnitude of the action-only forces acting as marker i, you should omit specification of marker j, or specify it to be zero.
See other Generic force available.