1D Non-Linear Convection

Simulating a travelling shock-front in 1D by finite differencing.

You are now following this Submission

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 (2026). 1D Non-Linear Convection (https://www.mathworks.com/matlabcentral/fileexchange/38084-1d-non-linear-convection), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Nonlinear Dynamics in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0