The Get_rflex_mvel subroutine returns the modal velocities (a time derivative of modal coordinates) of a selected RFlex body in the current simulation time. This is an auxiliary subroutine for MODAL_FORCE.
Langunage type |
SubRoutine |
FORTRAN |
call get_rflex_mvel(ifbody, mv, errflg) |
C/C++ |
get_rflex_mvel(ifbody, mv, &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. |
mv |
double [nmode] |
An array of double precision type. The array size are must be number of selected modes (=nmode) in the property page of RFlex body. The nmode is a related argument with the 9th argument of MODAL_FORCE subroutine. This argument is the modal velocity result of a selected RFlex body in the current simulation time. |
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. |