Burgers Equation reads as $u_t + (\frac{u^2}{2})_x = 0 \quad (t>0,x\in R)$. I'm recently studying hyperbolic conservation law. My question is how can I compute the unique entropy solution with given initial data. Typically, how can I get the solution when the initial data is given by:
- $$ u_0(x) = \begin{cases} 0 , |x|\geq 1\\ 1,|x| <1\end{cases}$$
- $$ u_0(x) = \sin(x)+2$$
If we can't get the close formula, how can i get the precise entropy solution numerically? I know there are some finite differential scheme, but the solution might have dissipation or oscillation which I think is not very precise.
Are there any general method to calculate the entropy solution with given initial data?
Add: Thanks for comment. I think the R-H Condition can help me capture the behaviour when my solution has discontinuity. But I don't know what to do with the continuous case where characteristics get crossed.