# JOINT

This function returns the specified component of the force or torque due to the Constraint_Joint element.

## Format

JOINT(id, jflag, comp, RM)

## Arguments

id
The ID of the Constraint_Joint element.
jflag
jflag equal to 0 or 1 means that forces and moments are reported at the I or J marker, respectively.
comp
1
returns the force magnitude.
2
returns the force x component.
3
returns the force y component.
4
returns the force z component.
5
returns the torque magnitude.
6
returns the torque x component.
7
returns the torque y component.
8
returns the torque z component.
RM
The reference frame in which the components are reported.
RM=0 implies the global frame.

## Example

<POST_REQUEST
comment        = "JACK TRANS JT-LEFT FORCE ON GROUND BODY IN J/RM"
id             = "9000311"
type           = "EXPRESSION"
expr1          = "NULL"
expr2          = "JOINT(109002,1,2,10901023)"
expr3          = "JOINT(109002,1,3,10901023)"
expr4          = "JOINT(109002,1,4,10901023)"
expr5          = "NULL"
expr6          = "JOINT(109002,1,6,10901023)"
expr7          = "JOINT(109002,1,7,10901023)"
expr8          = "JOINT(109002,1,8,10901023)"
/>