Consider the ID Burgers equation for the unknown u = u (x, t),
With initial condition
u(x, t) = 0.25 + 0.5sin( x)
and periodic boundary conditions. Divide the computational domain (-1 into M equally spaced intervals and let the discrete solution ui be defined at the center of each element xi = -1 + (i- ½) 2/M. Add so-called ghost cells at i=0 and I = M+1 to the vector of unknowns and implement the periodic boundary conditions by setting
u0 = uM uM+1 = u1
This question belongs to MATLAB software and discusses about application of MATLAB in mathematics to solve ID Burgers equation with initial and periodic boundary conditions and to determine first order TVD scheme and correct weak solution.
Answer is in MATLAB format
Download Full Solution
If you are here for the first time, you can request for a discount coupon, which can knock off upto 20% of the quoted price on any service.