This subroutine defines a user - defined Gtire force.
Language type |
SubRoutine |
C/C++ |
gtire_force(double time, int tid, int wmid, int rid, int rrmid, int sflag, int jflag, int iflag, double tireforce[6]) |
Parameter information
Variable Name |
Size |
Description |
time |
double |
Current simulation time of RecurDyn/Solver. |
tid |
int |
tire entity id to get the tire parameters |
wmid |
int |
wheel marker id |
rid |
int |
road entity id to get the road parameters |
rrmid |
int |
road reference marker id |
sflag |
int |
solver state (dynamic:1 , static:3) |
jflag |
int |
when RD/Solver evaluates a Jacobian, this flag is set to true. |
iflag |
int |
when RD/Solver initializes arraies, this flag is set to true. |
tireforce[6] |
double |
returned force and torque vector at wheel marker (wmid). |