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 />

Extended Definition<br />

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

errflg A logical (true or false) variable that IMPACT returns <strong>to</strong> the calling<br />

subroutine. If IMPACT detects an error during its calculations, it sets errflg<br />

<strong>to</strong> true.<br />

vec<strong>to</strong>r A double-precision vec<strong>to</strong>r of length 3, that returns the values calculated by<br />

the subroutine. The following table indicates the information in vec<strong>to</strong>r.<br />

IMPACT models collisions and contact. It evaluates a force that turns on when a distance falls below a<br />

nominal free length (that is, when two parts collide).<br />

The force has two components: a spring or stiffness component and a damping or viscous component.<br />

The stiffness component opposes the pe<strong>net</strong>ration. The damping component of the force is a function of<br />

the speed of pe<strong>net</strong>ration. The damping opposes the direction of relative motion. To prevent a<br />

discontinuity in the damping force at contact, the damping coefficient is, by definition, a cubic step<br />

function of the pe<strong>net</strong>ration. Thus at zero pe<strong>net</strong>ration, the damping coefficient is always zero. The<br />

damping coefficient achieves a maximum, cmax, at a user-defined pe<strong>net</strong>ration, d.<br />

An object colliding with ground is an example of a system that can be modeled with the IMPACT<br />

function.<br />

Let x be the instantaneous distance, x1 be the free length (when x is less than x1, the force turns on), x1<br />

- x be the pe<strong>net</strong>ration, and d be the pe<strong>net</strong>ration at which <strong>Adams</strong>/<strong>Solver</strong> applies full damping (cmax).<br />

• When x x1, force = 0.<br />

(1)<br />

• When x < x1, force is positive.<br />

vec<strong>to</strong>r<br />

returns: For iord values:<br />

(2) 0<br />

• When (x1-d) < x < x1, force is positive; there is damping, but it is less than cmax.<br />

• When x (x1-d), force is positive and damping = cmax.<br />

0 1 2<br />

F( x, x′ )<br />

∂ F( x, x′ )<br />

---------------------<br />

∂ x<br />

∂ F( x, x′ )<br />

---------------------<br />

∂ x′<br />

(3) 0 0 0<br />

∂ 2 F( x, x′ )<br />

∂ x 2<br />

------------------------<br />

∂ 2 F( x, x′ )<br />

------------------------<br />

∂ x′∂ x<br />

69

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

Saved successfully!

Ooh no, something went wrong!