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.
Suraj Shankar (2022). 1D Non-Linear Convection (https://www.mathworks.com/matlabcentral/fileexchange/38084-1d-non-linear-convection), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!