USER

Passes one or more values that are used as parameters in a user-written subroutine.
For information on subroutines, see the online help for Adams Solver Subroutines.

Format

USER(Parameters)

Argument

 
Parameters
Real values that define the parameters for use by the user-written subroutine. Up to thirty parameters may be defined.

Example

To model a simple spring damper in a SFORCE subroutine, you need information about the i and j marker, stiffness and damping, as well as the free length. Assume the following:
i marker id = 1
j marker id = 2
stiffness (k) = 1e5N/mm
damping coefficient (c) = 10ns/mm
free length (FL) = 1e3mm
Given the above information, the USER function is:
USER (1, 2, 1e5, 10, 1e3)