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.

Output Arguments<br />

scale A double-precision variable.<br />

If MFOSUB is called with the FUNCTION form:<br />

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

This output argument contains the scale fac<strong>to</strong>r that is <strong>to</strong> be applied <strong>to</strong> the<br />

modal load vec<strong>to</strong>r. The value of scale can depend on the values<br />

<strong>Adams</strong>/<strong>Solver</strong> calls from SYSFNC and SYSARY (see SYSARY and<br />

SYSFNC).<br />

If MFOSUB is called with the FORCE form:<br />

<strong>Adams</strong>/<strong>Solver</strong> ignores this output argument.<br />

case An integer, in the range 0 <strong>to</strong> ncases.<br />

If MFOSUB is called with the FUNCTION form:<br />

This output argument denotes a user-defined modal load case that is<br />

multiplied by the scale output argument <strong>to</strong> produce the modal load on the<br />

FLEX_BODY. If case=0, then <strong>Adams</strong>/<strong>Solver</strong> looks for a modal load case in<br />

the loadvec array.<br />

If MFOSUB is called with the FORCE form:<br />

This output argument must be set <strong>to</strong> zero and <strong>Adams</strong>/<strong>Solver</strong> extracts the<br />

modal load directly from the loadvec array.<br />

loadvec A double-precision array of dimension loadvec(6+nmodes) that MFOSUB<br />

generates itself or generates based on the load cases it receives from the<br />

modloads array.<br />

If MFOSUB is called with the FUNCTION form:<br />

If the output variable case is zero, <strong>Adams</strong>/<strong>Solver</strong> computes the modal force<br />

by multiplying the output array loadvec by the output variable scale. The<br />

values of loadvec can be a function of time, but not a function of the model<br />

response. For example, they must not depend on values obtained by calling<br />

SYSFNC and SYSARY. If case>0, then <strong>Adams</strong>/<strong>Solver</strong> ignores the contents<br />

of loadvec.<br />

If MFOSUB is called with the FORCE form:<br />

<strong>Adams</strong>/<strong>Solver</strong> applies the contents of the loadvec array directly <strong>to</strong> the<br />

FLEX_BODY without scaling it. Each component of loadvec can depend on<br />

time and model response. That is, you can use the values obtained from<br />

SYSFNC and SYSARY <strong>to</strong> compute entries in the loadvec array.<br />

181

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

Saved successfully!

Ooh no, something went wrong!