• Keine Ergebnisse gefunden

This exercise sheet is devoted to the Upwind and LF schemes for Hamilton-Jacobi equations.

N/A
N/A
Protected

Academic year: 2021

Aktie "This exercise sheet is devoted to the Upwind and LF schemes for Hamilton-Jacobi equations."

Copied!
1
0
0

Wird geladen.... (Jetzt Volltext ansehen)

Volltext

(1)

V4E2 - Numerical Simulation

Sommersemester 2018 Prof. Dr. J. Garcke

Teaching assistant: Biagio Paparella Tutor: Marko Rajkovi´ c (marko.rajkovic@uni-bonn.de)

Exercise sheet 8. To be handed in on Tuesday, 19.06.2018.

This exercise sheet is devoted to the Upwind and LF schemes for Hamilton-Jacobi equations.

Exercise 1. (Monotonicity for the HJ-Upwind scheme)

In the lecture it has been introduced the upwind scheme S up (∆, V ) for the convex Hamilton- Jacobi equation. Investigate monotonicity of this by deriving a condition on ∆t and ∆x to provide ∂v

i

S j up (∆, V ) ≥ 0. In this scheme, does the CFL condition imply stability?

(Hint: the case i 6= j is fine, but for i = j you should obtain a condition similar to the one for the LF case...)

(5 Punkte) Exercise 2. (Numerical implementation)

Consider the following one dimensional equation:

( u t (x, t) + 1 2 |u x (x, t)| 2 = 0, (x, t) ∈ (0, 1) × (0, T ) u(x, 0) = u 0 (x)

with T = 0.05 and two possible initial conditions with bounded support:

u 0 (x) = max(1 − 16(x − 0.5) 2 , 0) and

u 0 (x) = − max(1 − 16(x − 0.5) 2 , 0)

They differ from a simple change of sign, but note that if the first if Lipschitz continuous, the second is also semiconcave. The exact solution u(x, t) corresponding to the first initial condition is:

( (|x−

1 2

|−

14

)

2

2t , 1 4 ≤ x ≤ 3 4

0 else

while the one corresponding to the second is:

u(x, t) = min

|x − 1 2 | 2 2t + 16 1 − 1, 0

Implement the Upwind and the LF scheme for solving this HJ equation with respect to both proposed initial conditions. For every initial condition, print the plot of the exact solution evolving in time, the plot of the Upwind approximation evolving in time and the one of the LF solution evolving in time (so, a total of 6 figures; you can use pyplot from the matplotlib library).

We suggest using a ∆t = 0.01, and ∆x = 20∆t. Fix a positive time of your choice (e.g.

t = 0.05) and compute the errors in the infinite-norm (e.g. by using norm from numpy.linalg with parameter np.inf ).

Does the choice of the initial condition seem to influence these results? Intuitively speaking, for which initial condition do you expect to find a higher converge results for ∆ → 0? Why?

(13 Punkte)

1

Referenzen

ÄHNLICHE DOKUMENTE

offers capabilities never before available in a desk calculator, including three storage registers, automatic decimal handling, 24 decimal digit numbers, and cathode

important to consider the implications of two recent cyber- attacks: the breach at Sony Entertainment, and another that didn’t make headlines to the same degree, the attack on

The energy levels ǫ J,n of our molecule are enumerated by the angular momentum and the radial quantum number n.. To understand the structure of the low-lying energy levels we

Hence the cycle of violence was set in motion, triggered by local frustration, radicalized group members, security institutions ill-equipped to deal with the emerging crisis,

The Adriatic space could not only provide Italy with a gateway for connecting with the larger continental European regions, such as the Danube and the Baltic regions but, as one

In the 2008 elections only six out of the 34 women contesting general National Assembly seats on party tickets were successful – a low number that has left political parties

The United States government and its Western European NATO partners may be keen to support the rebels and to want to see the Assad regime fall, but they now have serious concerns

Some of the areas addressed through our efforts include: the need for modifying theoretical paradigms explaining authoritarian perseverance in the Middle East; the role of key