TRACK_SOIL_FORCE

 

This subroutine generates a user - defined soil force.

 

Language type

SubRoutine

FORTRAN

track_soil_force (TIME, INFO, UPAR, NPAR, DIRD, DIRV, DISP, LGORI, NGPOS, NGORI, NGVEL, LENGTH, WIDTH, IFLAG, RESULT)

C/C++

track_soil_force (double time, int info[], double upar[], int npar, double dird[], double dirv[], double disp[], double lgori[], double ngpos[], double ngori[], double ngvel[], double length, double width, int iflag, double result[3])

 

Parameter information

 

Variable Name

Size

Description

time

double

Current simulation time of RecurDyn/Solver.

info

int[3]

ID of body & node.

upar

double[30]

Parameters defined by the user. The maximum size of array is 30.

npar

int

Number of user parameters.

dird

double[3]

Direction vector of a ground patch.

dirv

double[3]

Returned force vector and six-dimensional array.

lgori

double[9]

Global orientation of a track link.

ngpos

double[3]

Global position of a contact node.

ngvel

double[3]

Global velocity of a contact node

length

double

Length of meshed rectangle at a track link.

width

double

Width of meshed rectangle at a track link.

iflag

int

When RecurDyn/Solver makes its initial call to this routine, the flag is true. Otherwise, the flag is false.

result

double[3]

Returned force vector.

 

Example

Figure 1  Track vehicle model using track soil user subroutine

 

Note

If the user wants to run this model using a user subroutine, the user can refer it in the directory (<install dir>/Help/usub/**).