01.05.2017 Views

4569846498

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Multibody systems simulation software 119<br />

[L][y] [b] as given in (3.66) we get<br />

⎡L11<br />

0 0 0<br />

⎢L21 L22<br />

0 0<br />

⎢L31 L32 L33<br />

0<br />

⎢<br />

⎣L L L L<br />

41 42 43 44<br />

therefore<br />

⎤ ⎡y1<br />

⎤ ⎡b1<br />

⎤<br />

⎥ ⎢y2<br />

⎥ ⎢b2<br />

⎥<br />

⎥ ⎢y<br />

⎥ ⎢<br />

3 b ⎥<br />

3<br />

⎥ ⎢<br />

⎦ ⎣y<br />

⎥ ⎢<br />

4 ⎦ ⎣b<br />

⎥<br />

4 ⎦<br />

(3.69)<br />

y 1 b 1 /L 11<br />

y 2 (b 2 L 21 y 1 )/L 22<br />

y 3 (b 3 L 31 y 1 L 32 y 2 )/L 33<br />

y 4 (b 4 L 41 y 1 L 42 y 2 L 43 y 3 )/L 44<br />

The next step is a back substitution, utilizing the terms found in the [U]<br />

matrix to find the overall solution for the terms in [x]. For this example if<br />

we expand [U][x] [y] as given in (3.65) we get<br />

⎡1 U12 0 U14<br />

⎤ ⎡x1<br />

⎤ ⎡y1<br />

⎤<br />

⎢0 1 0 U<br />

(3.70)<br />

24 ⎥ ⎢x2<br />

⎥ ⎢y2<br />

⎥<br />

⎢0 0 1 U ⎥ ⎢<br />

34 x ⎥ ⎢<br />

3 y ⎥<br />

3<br />

⎣<br />

⎢0 0 0 1 ⎦<br />

⎥ ⎢x<br />

⎥ ⎢<br />

4 y ⎥<br />

⎣ ⎦ ⎣ 4 ⎦<br />

therefore<br />

x 4 y 4<br />

x 3 (y 3 U 34 x 4 )<br />

x 2 (y 2 U 24 x 4 )<br />

x 1 (y 1 U 12 x 2 U 14 x 4 )<br />

It can be seen that in the solution of (3.69) it is necessary to divide by the<br />

diagonal terms in [L]. These are referred to as ‘pivots’ and must be nonzero<br />

to avoid a singular matrix and failure in solution. There will also be<br />

problems if the pivots are so small that they approach a zero value. In these<br />

circumstances the condition of the matrices is said to be poor. The answer<br />

to this is to rearrange the order of the equations, referred to as pivot selection,<br />

until the best set of pivots is available. This process is also called refactorization.<br />

The mathematics has been developed so that the process will also<br />

attempt to minimize the number of fills to assist with a faster solution. The<br />

sequence of operations can be stored to speed solution as the simulation<br />

progresses unless the physical configuration of the system changes to a<br />

point where the matrix changes sufficiently to justify the reselection of a set<br />

of pivots. It should be noted that in general solution of these equations will<br />

involve much larger matrices than the four by four example shown here and<br />

the sparsity of the matrix will be more apparent for these larger problems.<br />

3.3.3 Non-linear equations<br />

In the case of non-linear equations an iterative approach must be undertaken<br />

in order to obtain a solution. A set of non-linear equations may be<br />

described in matrix form using<br />

[G][x] 0 (3.71)

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

Saved successfully!

Ooh no, something went wrong!