burgers_time_viscous, a FENICS script which uses the finite element method to solve a version of the time-dependent viscous Burgers equation over the interval [-1,+1].
Note that I have installed FENICS using Docker, and so to run this script I issue the commands:
The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.
burgers_time_viscous.py takes 100 time steps, from t = 0 to t = 1.