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.

90<br />

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

Figure 1. STEP5 Function<br />

The value x is the independent variable, x0 and x1 define the variable values at which the step begins and<br />

ends, h0 and h1 are the initial and values of the step. The equation defining the STEP5 function is:<br />

a = h1 – h0<br />

∆<br />

( x – x0) = ---------------------<br />

( x1 – x0) STEP5<br />

h0 ; x ≤x0<br />

h0 a ∆ 3<br />

10 – 15∆ 6∆ 2<br />

⎧ ⎫<br />

⎪ ⎪<br />

⎪ ⎪<br />

= ⎨ + ( ⋅[<br />

+ ] ) ; x0 < x < x ⎬<br />

1<br />

⎪ ⎪<br />

⎪ h1 ; x ≥ x1 ⎪<br />

⎩ ⎭<br />

The STEP5 subroutine calling sequence is identical <strong>to</strong> the STEP subroutine. For an example of a<br />

SENSUB evaluation subroutine that calls STEP5, see SENSUB.<br />

Caution: The value x1 must not equal x0. Equal values of x1 and x0 imply a discontinuous step,<br />

which STEP5 cannot fit.<br />

SUBTRACT_MASS_PROPERTY

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

Saved successfully!

Ooh no, something went wrong!