02.04.2013 Views

Welcome to Adams/Solver Subroutines - Kxcad.net

Welcome to Adams/Solver Subroutines - Kxcad.net

Welcome to Adams/Solver Subroutines - Kxcad.net

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Subroutine: Does the following:<br />

Unsupported <strong>Subroutines</strong><br />

<strong>Welcome</strong> <strong>to</strong> <strong>Adams</strong>/<strong>Solver</strong> <strong>Subroutines</strong><br />

NMODES Accesses the number of modal generalized coordinates associated with<br />

a FLEX_BODY statement.<br />

POLY Evaluates a polynomial function.<br />

PUT_SPLINE Passes <strong>Adams</strong>/<strong>Solver</strong> the x, y, and z data that defines a SPLINE element.<br />

RCNVRT Converts rotational coordinates from one representation <strong>to</strong> another.<br />

RSTRNG Converts a double-precision variable <strong>to</strong> a character string.<br />

SHF Evaluates a simple harmonic function.<br />

STEP Approximates a STEP function with a cubic polynomial.<br />

STEP5 Approximates a STEP5 function with a quintic polynomial.<br />

SYSARY Provides system-state values, such as displacement and velocity, <strong>to</strong> your<br />

subroutines, and defines and s<strong>to</strong>res the <strong>Adams</strong>/<strong>Solver</strong> state variables on<br />

which the system states are dependent.<br />

SYSFNC Provides a single-system state value, such as displacement or velocity,<br />

<strong>to</strong> your subroutines, and defines and s<strong>to</strong>res the <strong>Adams</strong>/<strong>Solver</strong> state<br />

variables on which the system state is dependent.<br />

SYSPAR Allows you <strong>to</strong> supply the analytical partial derivatives of a subroutine<br />

with respect <strong>to</strong> values measured through SYSFNC and SYSARY.<br />

TCNVRT Converts translational coordinates from one type of coordinate system<br />

<strong>to</strong> another.<br />

TIMGET Returns the simulation time corresponding <strong>to</strong> the last successful<br />

simulation step.<br />

UCOVAR Used with UCOSUB, tells <strong>Adams</strong>/<strong>Solver</strong> which of the principal axes<br />

coordinates are used in the user-defined constraint.<br />

USRMES Allows you <strong>to</strong> output messages for information or for documenting<br />

errors that occur in user-written subroutines.<br />

Although <strong>Adams</strong>/<strong>Solver</strong> continues <strong>to</strong> recognize unsupported subroutines, new subroutines have made<br />

them obsolete. The new subroutines are more flexible and straightforward <strong>to</strong> use. We recommend that<br />

you use the new subroutines, as the unsupported ones might be removed from future <strong>Adams</strong>/<strong>Solver</strong><br />

releases.<br />

The following table lists the unsupported subroutines, along with references <strong>to</strong> alternate subroutines:<br />

7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!