burgers_steady_viscous_test
burgers_steady_viscous_test,
a MATLAB code which
calls burgers_steady_viscous() to solve the steady (time-independent) viscous Burgers equation
using a finite difference discretization of the conservative form
of the equation.
Licensing:
The computer code and data files described and made available on this web page
are distributed under
the MIT license
Related Data and Programs:
burgers_steady_viscous,
a MATLAB code which
solves the steady (time-independent) viscous Burgers equation
using a finite difference method (FDM) discretization of the
conservative form of the equation, and then applying Newton's method
to solve the resulting nonlinear system.
Source Code:
-
burgers_steady_viscous_test.m,
calls all the tests.
-
burgers_steady_viscous_test.sh,
runs all the tests.
-
burgers_steady_viscous_test.txt,
the output file.
-
bsv_test01.m,
runs a simple test with
A = -1, ALPHA = +1, B = +1, BETA = -1, NU = 0.1.
-
bsv_test02.m,
runs a simple test with
A = -1, ALPHA = +1, B = +1, BETA = -1,
and a range of NU values.
-
bsv_test03.m,
runs a simple test with
A = -1, B = +1, BETA = -1, NU = 0.1.
and a range of ALPHA values.
-
bsv_test04.m,
runs a simple test with
ALPHA = +1, B = +1, BETA = -1, NU = 0.1.
and a range of A values.
-
bsv_test05.m,
examines the location of the zero-crossing of the solution
as ALPHA is varied.
-
bsv_test06.m,
estimates the expected value of the zero crossing
assuming ALPHA is a Gaussian variable with mean 1 and standard deviation 0.05.
-
bsv_test07.m,
estimates the variance of the zero crossing
assuming ALPHA is a Gaussian variable with mean 1 and standard deviation 0.05.
-
bsv_test08.m,
compares BSV and BSV_UPWIND for NU = 0.1 and NU = 0.01.
-
bsv_test01.png,
a plot of the solution as displayed by bsv_test01.
-
bsv_test02.png,
a plot of the solutions as displayed by bsv_test02.
-
bsv_test03.png,
a plot of the solutions as displayed by bsv_test03.
-
bsv_test04.png,
a plot of the solutions as displayed by bsv_test04.
-
bsv_test05.png,
a plot of the relation between ALPHA and the zero crossing.
-
bsv_test08.png,
a plot comparing two runs of BSV and BSV_UPWIND.
-
tanh_plot.m,
plots a sequence of functions u = tanh(2^j*x/2),
scaled to be +1 at x=-1, suggesting the behavior of
solutions of Burgers equation.
-
tanh_plot.png,
the plot created by tanh_plot.m.
Last revised on 04 December 2018.