SFORCE

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

Format

SFORCE(id, jflag, comp, RM)

Arguments

id
The ID of the Force_Scalar_TwoBody 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 components are reported. RM=0 implies global frame.

Example

<Post_Request
     comment            = "SFORCE FORCE ON WHEEL IN GLOBAL"
     id                 = "9000070"
     type               = "EXPRESSION"
     expr1              = "NULL"
     expr2              = "SFORCE(30501,0,2,0)"
     expr3              = "SFORCE(30501,0,3,0)"
     expr4              = "SFORCE(30501,0,4,0)"
     expr5              = "NULL"
     expr6              = "NULL"
     expr7              = "NULL"
     expr8              = "NULL"
/>