View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

Highlights from
1D Non-Linear Convection

Be the first to rate this file! 11 Downloads (last 30 days) File Size: 1.94 KB File ID: #38084 Version: 1.0
image thumbnail

1D Non-Linear Convection


Suraj Shankar (view profile)


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

| Watch this File

File Information

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.

Required Products MATLAB
MATLAB release MATLAB 7.10 (R2010a)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (1)
05 Sep 2013 Suraj Shankar

Suraj Shankar (view profile)

The code is meant to be pedagogical in nature and has been made in line with the 12-steps to Navier-Stokes practical module, for which I would like to credit Lorena Barba and her online course on CFD.

Comment only

Contact us