Code covered by the BSD License  

Highlights from
Burgers Equation in 1D and 2D

4.0

4.0 | 1 rating Rate this file 83 Downloads (last 30 days) File Size: 3.23 KB File ID: #38087
image thumbnail

Burgers Equation in 1D and 2D

by

 

Simulating the Burgers equation in both 1D and 2D using finite differencing.

| Watch this File

File Information
Description

The 1D Burgers equation is solved using explicit spatial discretization (upwind and central difference) with periodic boundary conditions on the domain (0,2). The 2D case is solved on a square domain of 2X2 and both explicit and implicit methods are used for the diffusive terms. Dirichlet boundary conditions are used along the edges of the domain.

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 (3)
08 Sep 2013 Suraj Shankar

@Hwang : I'm glad the code was of help to you.

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.

29 Aug 2013 Hwang

I learned the pseudocode at the BU's CFD course and this is helpful for me. Thanks. Maybe you can share more like this.

Contact us