Version 10 (modified by 11 years ago) ( diff ) | ,
---|

# Theory

The Muscl-Hancock scheme is a 2nd order numerical method. The higher the order of accuracy, the more convergent is the scheme. For instance, here is a plot of the Godunov 1st order upwind scheme (aka CIR scheme, 1st order monotone, what I have been using), the Lax Friedrichs scheme (1st order monotone), Lax Wendroff scheme (2nd order, non-monotone), and Warming-Beam (2nd order, non-monotone).

As you can see, the 1st order monotone schemes are more 'diffusive' than the higher order schemes, i.e. they clip extreme values of the solution. By the 1250 time steps, this effect is highly exaggerated:

The higher order schemes, as you can see here, are 'dispersive'. That is, they suffer from slight sign errors in the position of the wave, with the numerical solution either lagging behind or ahead of the true solution.

The above plots show that 2nd order schemes largely perform better than 1st order schemes in regions of 'smooth flow'. However, it is well known that these same higher order accurate schemes can produce spurious oscillations near large gradients. This is due to the higher order schemes no longer being monotone (i.e. having strictly non-negative coefficients in their conservation update formula). Here is a plot showing the same 4 schemes listed above, but for a step function initial condition:

Unfortunately, all monotone schemes are 1st order at best, so the challenge is to reduce these oscillations in regions of discontinuous flow while maximizing accuracy in regions of smooth flow. One such class of schemes are known as 'Total Variation Diminishing' (TVD). These schemes implicitly add artificial viscosity, resulting in smoother flows near large gradients.

# Steps

# Algorithm Outline

# Results

### Attachments (11)

- MusclP.png (9.2 KB ) - added by 11 years ago.
- MusclU.png (10.8 KB ) - added by 11 years ago.
- MusclRho.png (12.5 KB ) - added by 11 years ago.
- compare3.png (59.0 KB ) - added by 11 years ago.
- compare2.png (68.4 KB ) - added by 11 years ago.
- compare1.png (67.7 KB ) - added by 11 years ago.
- ToroMusclP.png (9.7 KB ) - added by 11 years ago.
- ToroMusclU.png (11.2 KB ) - added by 11 years ago.
- ToroMusclRho.png (10.6 KB ) - added by 11 years ago.
- MusclReconstruction.png (30.4 KB ) - added by 11 years ago.
- evolve.png (34.4 KB ) - added by 11 years ago.

Download all attachments as: .zip

**Note:**See TracWiki for help on using the wiki.