4.8.3.49. GET_RFLEX_NODETVEL

GET_RFLEX_NODETVEL subroutine returns a relative velocity for a node of RFlex body. This is an auxiliary subroutine for Modal_Force_Ext.

Table 4.143 Function Name

Language type

Subroutine

FORTRAN

call get_rflex_nodetvel(ifbody, NodeSeq, MKID, nMK, TVEL, ErrFlg)

C/C++

get_rflex_nodetvel (ifbody, NodeSeq, MKID, nMK, TVEL, &ErrFlg)

Table 4.144 Parameter information

Variable Name

Size

Description

ifbody

int

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

NodeSeq

int

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

MKID

int[2]

An array of integer type. Each value should be zero or a marker id. 1st value is defined as base marker. 2nd value is defined as reference marker.

nMK

int

An integer variable for considering base and reference marker. If nMK is 0, then the subroutine returns a global position vector and an orientation matrix of NodeSeq. If nMK is 1, then the subroutine calculates a position vector considering base marker. If nMK is 2, then the subroutine calculates a position vector considering base and reference marker.

TVEL

double[3]

An array of double precision type. The array size must be 3. The values mean a relative velocity vector.

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_RFLEX_NODEVEL.