Code covered by the BSD License  

Highlights from
1D Non-Linear Convection

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

1D Non-Linear Convection

by

 

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

| Watch this File

File Information
Description

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

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.

Contact us