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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

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

POUTPUT 1 n*** states(1) = POUVAL(i1,1)<br />

states(2) = POUVAL(i1,2)<br />

states(3) = POUVAL(i1,3)<br />

states(n) = POUVAL(i1,n)<br />

ARRAY 1 n*** states(1) = ARYVAL(i1,1)<br />

states(2) = ARYVAL(i1,2)<br />

states(3) = ARYVAL(i1,3)<br />

When the iflag argument in the user subroutine is true, SYSARY sets up the dependencies of the system<br />

states on the <strong>Adams</strong>/<strong>Solver</strong> state variables and sets the states array equal <strong>to</strong> zero. When the iflag<br />

.<br />

.<br />

.<br />

states(n) = ARYVAL(i1,n)<br />

*NMODES (see NMODES) is the number of active modes defined for that flex body. You can use the<br />

utility subroutine NMODES <strong>to</strong> determine the number of active modes. The ipar(1) array must contain<br />

the id of the flex body of interest.<br />

**Assume that the ipar array contains two markers, I and J. You can specify either I or J <strong>to</strong> be zero. In<br />

that case, the marker specified as zero defaults <strong>to</strong> the ground coordinate system.<br />

***Size as specified in the PINPUT, POUTPUT, or ARRAY statement.<br />

101

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

Saved successfully!

Ooh no, something went wrong!