top of page
​
GUI - Wave and Burgers Equations Solver
​

The first serious code I've wrote had the intention to study the behavior of different numeric schemes for spatial derivatives. The main goal was to understand the trade off between high order accuracy and the need of dissipation when you might have high frequency solutions with shocks.

The way the code is organized is very rudimentary but I'd need a considerable amount of time to polish it nowadays. That being said, I recommend anyone to check it out only if  there's no intentions of actually adding new features. That would probably be very unpleasant, to say the least.

 The code can be downloaded here. You just need to run the GUI.m file and that's it. The order of accuracy of the methods are

​

  • WENO      - 4th  or 2nd order (3 or 2 points/stencil)

  • ENO         - 2nd or 1st order (3 or 2 points/stencil)

  • Compact  - 6th  order

  • Centered  - 2nd order

  • Upwind    - 1st  order

​

​

gui1.PNG

Comparison between different numerical schemes for a steep pulse being convected.

​

​

bottom of page