4.8.3.14. GET_FFLEX_NODERPOS

GET_FFLEX_NODERPOS subroutine returns an orientation matrix for a node of FFlex body. This is an auxiliary subroutine for Nodal_Force and Nodal_Force_Ext.

Table 4.73 Function Name

Language type

Subroutine

FORTRAN

call get_fflex_noderpos (ifbody,NodeSeq,BMK,ORI,ErrFlg)

C/C++

get_fflex_noderpos (ifbody,NodeSeq,BMK,ORI,&errflg)

Table 4.74 Parameter information

Variable Name

Size

Description

ifbody

int

Sequential id of FFlex body defined in RecurDyn/Solver. This is a related argument with the 5th argument of Nodal_Force_Ext subroutine.

NodeSeq

int

Node sequential id defined in RecurDyn/Solver. This is a related argument with the 6th argument of Nodal_Force_Ext subroutine.

BMK

int

This value should be zero or a marker id. If the user wants to get a global orientation matrix of the FFlex Node, this value should be zero.

Ori

double[9]

An orientation matrix.

\(\mathbf{A}_{b}^{T}{{\mathbf{A}}_{FFlexNode}}\)
Where,
\(\mathbf{A}_{b}\) is a orientation matrix of the base marker (=MKID[0]).
\({{\mathbf{A}}_{FFlexNode}}\) is an orientation matrix of NodeSeq.

Errflg

int

Error flag.
If the result of this argument is -1 (means TRUE in Fortran logical value), there is no error.
The others mean that there is an error.

Code Example

Refer to GET_FFLEX_NODEPOS.