TIRARY subroutine returns an array of values when it is invoked.
Langunage type |
SubRoutine |
FORTRAN |
call tirary (tireid, ‘HUB_ACC’, acc, nacc, errflg) |
C/C++ |
tirary (tireid, “HUB_ACC”, &acc, nacc, &errflg) |
Where, HUB_ACC is type for TIRARY subroutine. The acc and nacc must be defined as a double precision array and an integer, respectively. The errflg must be defined as a logical in FORTRAN language or an integer in C/C++ language.
The available types are tabulated in TIRARY as follows.
TYPES FOR TIRARY
Variable Name |
Size |
Description |
CPROPS |
double [5] |
Tire contact properties |
INER_FRC |
double [6] |
Tire inertia force at the Action marker |
HUB_ACC |
double [6] |
Acceleration of the tire action marker in the ground inertia reference frame |
HUB_DISP |
double [7] |
Displacement of the tire action marker in the ground inertia reference frame |
HUB_FRC |
double [6] |
Tire force acting at the tire action marker |
HUB_VEL |
double [6] |
Velocity of the tire action marker in the ground inertia reference frame |
MU |
double [3] |
Friction ellipse properties |
SAE_CS |
double [7] |
SAE coordinate system |
SAE_DEFL |
double [7] |
Tire kinematic properties |
SAE_FRC |
double [6] |
Tire force at contact patch in SAE coordinate system |
SAE_VALS |
double [3] |
Tire values about spin axis |
Predefined subroutines return a value when they are invoked. The calling convention is tabulated.