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.

70<br />

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

The following equation defines IMPACT:<br />

IMPACT<br />

See an explanation of the STEP function (C++ or FORTRAN).<br />

<strong>Adams</strong>/<strong>Solver</strong> never returns a negative force for IMPACT. If the above expression evaluates <strong>to</strong> negative<br />

value, <strong>Adams</strong>/<strong>Solver</strong> returns a zero value.<br />

For an example of an SFOSUB that calls IMPACT, see SFOSUB.<br />

ISTRNG<br />

ISTRNG converts a number from integer format <strong>to</strong> character format. The character string representing<br />

the integer is always left justified.<br />

Use<br />

Called By<br />

Any user-written subroutine<br />

Prerequisite<br />

None<br />

Calling Sequence<br />

Max 0 k( x1x) e<br />

( , ) STEP x x1 ( d, cmax, x1, 0)<br />

x ·<br />

⎧ ⎫<br />

⎪ – ( , – ( ⋅ ) ) ; x < x ⎪<br />

=<br />

1<br />

⎨ ⎬<br />

⎪ 0 ; x ≥ x ⎪ 1<br />

⎩ ⎭<br />

Caution: • IMPACT is only used <strong>to</strong> determine force or <strong>to</strong>rque magnitudes.<br />

• The force value and the distance measure must both be positive in the same<br />

direction.<br />

• When e is less than or equal <strong>to</strong> one, the rate of change of the force is discontinuous<br />

at contact. This may cause convergence problems.<br />

CALL ISTRNG (number, string, length, istat)

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

Saved successfully!

Ooh no, something went wrong!