01.05.2017 Views

4569846498

Create successful ePaper yourself

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

Multibody systems simulation software 125<br />

The integration step size is variable and if a solution is not achieved at the<br />

next prediction point the solver can reduce the integration time step and alter<br />

the order of the polynomial to attempt another solution. This typically occurs<br />

when there is a sudden change in an equation associated with a physical<br />

event such as an impact or clash of parts. A general rule in modelling is never<br />

to program an equation that instantly changes value at a certain time. Problems<br />

will be avoided by using, for example, a function that allows a smooth<br />

transition from one value to another over a physically small time interval.<br />

Consideration of the predictor–corrector approach will indicate that at the<br />

start of a transient solution the solver may step forward and backward initially<br />

as it establishes a suitable scheme to progress the solution. Experienced users<br />

will again be aware of this and avoid programming important events to<br />

occur immediately after the start. For example, the simulation of a 5 second<br />

lane change manoeuvre may be best accomplished by an initial static analysis<br />

followed by the transient simulation for, say, 1 second of straight line driving<br />

before any steering inputs are made.<br />

Advanced applications may also involve the incorporation of control algorithms<br />

based on a discreet time step. An example discussed later in this book<br />

will include the modelling of an Antilock Braking System (ABS) using a<br />

fixed time cycle. A possible solution here is to fix the integration minimum<br />

and maximum step size to ensure the solver computes solutions at the fixed<br />

time steps of the ABS algorithm. This may of course result in inefficient<br />

computation at some stages of the simulation. On the other hand the fixed<br />

step scheme must be refined enough to deal with any sudden non-linear<br />

events during the analysis.<br />

Commercial multibody systems codes often have a range of integrators available<br />

that will adopt variations on the solution process discussed here. The<br />

most commonly used in MSC.ADAMS is referred to as the Gstiff integrator<br />

(Gear, 1971). Rather than storing past values of the polynomial a Taylor<br />

expansion (3.83) is used to store the polynomial in a form using the current<br />

value of the state variable x and the integration step size h. This is known as<br />

a Nordsieck vector. At a current time t the Nordsieck vector [N t ] has the form<br />

[ N ] x h x 2 2 3 3<br />

k k<br />

T ⎡ d h d x h d x h d x ⎤<br />

t ⎢<br />

2<br />

3<br />

...<br />

k ⎥<br />

(3.83)<br />

⎣ dt<br />

2 dt<br />

3!<br />

dt<br />

k!<br />

dt<br />

⎦<br />

The components of [N t ] are added together to predict the next value of x at<br />

a time step h forward to a new time t h. As the simulation progresses the<br />

Nordsieck vector is updated by pre-multiplying by the Pascal triangle matrix<br />

to give a new vector [N th ]. An example of this is shown for a polynomial<br />

with an order k equal to 5 in (3.84):<br />

⎡1 1 1 1 1 1⎤<br />

⎢<br />

0 1 2 3 4 5<br />

⎥<br />

⎢<br />

⎥<br />

[ Nth] ⎢0 0 1 3 4 5⎥<br />

⎢<br />

⎥ [ Nt]<br />

⎢<br />

0 0 0 1 4 5<br />

⎥<br />

⎢0 0 0 0 1 5⎥<br />

⎢<br />

⎥<br />

⎣0 0 0 0 0 1⎦<br />

(3.84)

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

Saved successfully!

Ooh no, something went wrong!