PTSF
Returns force component due to Constraint_PTSF element in reference frame of marker RM. jflag indicates whether force acting on I or J marker is desired.
Format
PTSF(id, jflag, comp, RM)Arguments
- id
- The ID of the Constraint_PTSF element.
- jflag
- Returns the force acting on the I marker and 1 returns the force acting on the J marker.
- component
-
- 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 = "frc-expr"
id = "70000044"
type = "EXPRESSION"
expr1 = "PTSF(10,0,1, 20)"
expr2 = "PTSF(10,0,2, 20)"
expr3 = "PTSF(10,0,3, 20)"
expr4 = "PTSF(10,0,4, 20)"
expr5 = "PTSF(10,0,5, 20)"
expr6 = "PTSF(10,0,6, 20)"
expr7 = "PTSF(10,0,7, 20)"
expr8 = "PTSF(10,0,8, 20)"
/>
This request element stores the PTSF element forces into column vectors F1 through F8 of the request "frc-expr".