4.8.3.23. GET_NFORCE_ADDARG

GET_NFORCE_ADDARG subroutine returns Nodal Force Sequential id, FFlex body sequential id, node sequential id and node id. This is an auxiliary subroutine for Nodal_Force.

Table 4.91 Function Name

Language type

Subroutine

FORTRAN

call g et_nforce_addarg(nfid,ifbody,nodeseq,nodeid,ErrFlg)

C/C++

get_nf orce_addarg(&nfid,&ifbody,&nodeseq,&nodeid,&errflg)

Table 4.92 Parameter information

Variable Name

Size

Description

nfid

int

Sequential id of Nodal Force which is calculating. This is a related argument with the 1st argument of Nodal_Force subroutine.

ifbody

int

Sequential id of FFlex body defined in RecurDyn/Solver. If nodal force applied MTT2D system, this value is negative.

NodeSeq

int

Node sequential id defined in RecurDyn/Solver.

NodeID

int

This Node id can be found in each body. If nodal force applied MTT2D system, this value means segment id.

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.

Refer to NODAL_FORCE.