image thumbnail

1D Non-Linear Convection

version (1.94 KB) by Suraj Shankar
Simulating a travelling shock-front in 1D by finite differencing.


Updated 10 Sep 2012

View License

The non-linear convection equation is simulated in conservative form using various finite difference schemes(Lax-Friedrichs, Lax-Wendroff, MacCormack and an implicit Beam-Warming with a fourth order explicit artificial viscosity term). The initial condition used is an Heaviside step function and the wave is expected to travel (translate) to the right without change in form.

Cite As

Suraj Shankar (2022). 1D Non-Linear Convection (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2010a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!