This is a classic question from Leveque's book Numerical Methods for Conservation Laws (Exercise 12.4 p. 135).
Consider the 1-dimensional Burgers equation $u_{t}+(\frac{u^{2}}{2})_{x}=0$ with the inital data: $$ u(x,0)= \begin{cases} -1, & x < 1\\ +1, & x>1\\ \end{cases} $$ Let $k=\frac{1}{2l}$, $h=\frac{1}{l}$, where $l$ is a positive interger, $k$ is the step length in $t$-direction, $l$ is the step length in $x$-direction. We can discretize the inital data as: $$ u_{j}^{0} = \begin{cases} -1, & j<l \\ 0, & j=l\\ 1, & j>l \end{cases} $$ Consider the upwind method $u_{j}^{n+1}=u_{j}^{n}-\frac{k}{h}(F(u_{j}^{n},u_{j+1}^{n})-F(u_{j-1}^{n},u_{j}^{n}))$ with flux: $$ F(v,w)= \begin{cases} f(v), & \frac{f(v)-f(w)}{v-w}\geq 0 \\ f(w), & \frac{f(v)-f(w)}{v-w}< 0 \\ \end{cases} $$ We need to prove the sequence $u_{j}^{n}$ converges to the rarefaction wave solution as $l \rightarrow \infty$.
The (transonic) rarefaction wave solution is: $$u(x,t)= \begin{cases} {-1}, & x<1-t \\ \frac{x-1}{t}, & 1-t<x<1+t \\ 1, & x>1+t \end{cases} $$ I have spent a lots of days in this question but still I don't know how to do. Can anyone help me?
Apologies if I can't provide a hammer proof for this, but I don't know what kind of argument LeVeque is expecting. Still, there are a few things that can be mentionned. Let's begin with the following remarks:
Then I would probably (1) look at the stability properties of the scheme (monotonicity). In fact, the scheme is conservative and consistent with the PDE, hence the Lax-Wendroff theorem tells us that it will necessarily converge towards a weak solution (if only it converges). To know whether we will converge to the correct one, we need the notion of mathematical entropy. For the Burgers equation, $u^2$ is a mathematical entropy. Then, I would try to (2a) expand the time-stepping formula for $u^2$ or (2b) try to estimate the numerical viscosity.