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.

Output Arguments<br />

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

c A double-precision, two-dimensional array containing the compliance<br />

matrix for the markers specified in mid. The compliance terms are in the<br />

following directions: global x, y, and z displacements and small rotations<br />

about the global x-, y-, and z-axes.<br />

Extended Definition<br />

You must dimension c large enough <strong>to</strong> hold six rows and six columns for<br />

each marker, and assign ndim <strong>to</strong> be the number of rows in the matrix. To<br />

compute a matrix for three markers, for example, you should dimension c<br />

<strong>to</strong> be 18 by 18, and set ndim =18. The same matrix could also be used <strong>to</strong><br />

compute a matrix for just one marker. In this case, you would still set ndim<br />

<strong>to</strong> 18, but GTCMAT fills only the elements in the first six rows and<br />

columns.<br />

istat An integer variable containing a status flag. If istat = 0, GTCMAT has<br />

successfully computed the compliance matrix. If istat < 0, GTCMAT has<br />

not computed the compliance matrix because of an error. istat can have<br />

one of the following values:<br />

If: Then:<br />

istat= 0 Normal return<br />

istat= -1 nmid < 0<br />

istat= -2 nmid > maximum number of markers allowed (100)<br />

istat= -3 ndim < 6 * nmid<br />

istat= -6 mid contains an illegal marker<br />

istat= -7 the system has zero degrees-of-freedom<br />

istat= -8 A UCON in the system prevents compliances from<br />

being calculated.<br />

istat= -9 The system Jacobian is singular.<br />

istat= -10 Miscellaneous problems<br />

istat= -11 One of the markers specified is on ground.<br />

istat= -12 Static equilibrium has not been performed.<br />

istat= -13 One of the parts referenced has no cm marker.<br />

The compliance matrix for a system, C, is defined as the partial derivatives of displacements with respect<br />

<strong>to</strong> applied forces:<br />

55

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

Saved successfully!

Ooh no, something went wrong!