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.

20<br />

<strong>Adams</strong>/<strong>Solver</strong><br />

Use<br />

Called By<br />

Any of a REQSUB, SENSUB, SEVSUB or CONSUB.<br />

Prerequisite<br />

None<br />

Calling Sequence<br />

CALL BODY_MASS_PROPERTY (type, id, cm, mass, ip)<br />

Input Arguments<br />

type A character variable that specifies the type of modeling element for which the mass<br />

properties are requested. The valid options are one of "Part", "Point_Mass",<br />

"Flex_Body" or "Model". The input is case-insensitive but abbreviations are not<br />

permitted.<br />

id An integer variable that specifies the ID of the element of the type specified for which<br />

the mass properties are requested. If the type is "Model" then this input is ignored.<br />

For all other types this is required.<br />

Output Arguments<br />

cm A double-precision array of length 3 containing the center of mass of the requested<br />

modeling element expressed in GCS.<br />

mass A double-precision variable containing the mass of the requested modeling element.<br />

ip A double-precision array of length 6 containing the 6 independent components of in<br />

the inertia tensor for requested modeling element. (Ixx, Iyy, Izz, Ixy, Ixz, Iyz) These<br />

inertia terms are expressed about the elements center of mass and are oriented in GCS.<br />

Caution: The BODY_MASS_PROPERTY utility subroutine provides access <strong>to</strong> state-dependent<br />

information <strong>to</strong> the user-written subroutines. However, since this information is expected<br />

<strong>to</strong> be used only for moni<strong>to</strong>ring and control purposes and not <strong>to</strong> affect the dynamics, no<br />

functional dependencies are registered. Consequently, this utility subroutine can only be<br />

called from the user-written subroutines that cannot add functional dependencies -<br />

REQSUB, SENSUB, SEVSUB and CONSUB.<br />

CHEBY<br />

The CHEBY subroutine evaluates a Chebyshev polynomial.

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

Saved successfully!

Ooh no, something went wrong!