29.04.2014 Views

PDF file - Johannes Kepler University, Linz - JKU

PDF file - Johannes Kepler University, Linz - JKU

PDF file - Johannes Kepler University, Linz - JKU

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

CHAPTER 2. PRELIMINARIES 24<br />

Table 2.1 Stability and accuracy of some time stepping methods.<br />

A-stab. str. A-stab. L-stab. accuracy<br />

explicit Euler no no no 1st order<br />

implicit Euler yes yes yes 1st order<br />

Crank-Nicolson yes no no 2nd order<br />

frac.-step-θ yes yes no 2nd order<br />

2.4 The Convective Term<br />

The convective term (u∇)u resp. (w∇)u causes two problems we have to deal with. Firstly<br />

instabilities may occur because of it, secondly we have to cope with its nonlinearity.<br />

2.4.1 Instability<br />

The unstable behavior can already be observed in the following 1D model problem.<br />

Example 2.10. Assume that we want to solve the following scalar convection diffusion<br />

equation for u:<br />

−νu ′′ (x) + wu ′ (x) = f for x ∈ (0, 1),<br />

u(0) = u(1) = 0, w, f and ν constant on [0, 1]. A linear finite elements discretization on a<br />

regular grid with mesh-width h leads to the system<br />

⎛<br />

2ν<br />

− ν + w ⎞ ⎛ ⎞ ⎛ ⎞<br />

u<br />

h h 2<br />

1 fh<br />

− ν − w 2ν<br />

− ν + w h 2 h h 2<br />

u 2<br />

fh<br />

. .. . .. . ..<br />

.<br />

=<br />

.<br />

.<br />

⎜<br />

⎝<br />

. .. . .. . ⎟ ⎜ ⎟ ⎜ ⎟<br />

.. ⎠ ⎝ . ⎠ ⎝ . ⎠<br />

− ν − w 2ν<br />

u<br />

h 2 h n fh<br />

} {{ }<br />

=:A<br />

The corresponding eigenvalue problem reads row-wise<br />

( w<br />

2 − ν h)<br />

u i+1 +<br />

( ) 2ν<br />

(<br />

h − λ u i + − w 2 − ν )<br />

u i−1 = 0, for i = 1, . . . , n,<br />

h<br />

u 0 = u n+1 = 0,<br />

where λ is the eigenvalue we are searching for. Assume that n is odd and wh ≠ 2ν, then<br />

one solution can easily be found as λ = 2ν , u h 2k = 0, u 2k+1 = ( )<br />

wh+2ν k,<br />

wh−2ν for k = 0, . . . ,<br />

n−1<br />

. 2<br />

Thus, for small ν this eigenvalue tends to zero and the very oscillatory eigenvector<br />

(Figure 2.4) is amplified in the solution if h is not small enough.<br />

A solution of this problem is to use a less centered discretization, test-functions with<br />

more weight upstream than downstream. In the Streamline Upwinding Petrov Galerkin

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

Saved successfully!

Ooh no, something went wrong!