GET_RFLEX_INVVARN4

 

The Get_rflex_invvarn4 subroutine returns the invariant variable N4 of a selected RFlex body. This is an auxiliary subroutine for MODAL_FORCE.

 

Langunage type

SubRoutine

FORTRAN

call get_rflex_invvarn4(ifbody, modeid1, modeid2, invvarn4, errflg)

C/C++

get_rflex_invvarn4(ifbody, modeid1, modeid2, invvarn4, &errflg)

 

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

modeid1

int

Selected mode sequential ids. The user can get the selected mode sequential id using the Get_rflex_modeid auxiliary function

modeid2

Innvarn3

double

[3*3]

An array of double precision type. The array size must be 9. This argument is the invariant variable N4 of a selected RFlex body.

Invariant variable N4 :

Where,  is a lumped mass on the  node and  is a translational mode shape vector (3x1) of  node and  mode.  is a number of selected modes.

Index of 3x3 matrix result is defined as follows.

 

0

3

6

1

4

7

2

5

8

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.