# YFORCE

This function returns the specified component of the force applied by the Force_StateEqn element.

## Format

YFORCE(id, jflag, comp, RM)

## Arguments

id
The ID of the Force_StateEqn 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             = "yforce on I"
id                  = "1"
type                = "EXPRESSION"
expr1               = "NULL"
expr2               = "YFORCE(301001,0,2,30101010)"
expr3               = "YFORCE(301001,0,3,30101010)"
expr4               = "YFORCE(301001,0,4,30101010)"
expr5               = "NULL"
expr6               = "YFORCE(301001,0,6,30101010)"
expr7               = "YFORCE(301001,0,7,30101010)"
expr8               = "YFORCE(301001,0,8,30101010)"
/>