burgers_time_viscous
The Time-Dependent Viscous Burgers Equation


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:

  1. cd $HOME/fenicsproject/burgers_time_viscous
  2. fenicsproject run
  3. python3 burgers_time_viscous.py
  4. exit

Licensing:

The computer code and data files described and made available on this web page are distributed under the GNU LGPL license.

Reference:

  1. Hans Petter Langtangen, Anders Logg,
    Solving PDEs in Python - The FEniCS Tutorial Volume 1.

Source Code:

burgers_time_viscous.py takes 100 time steps, from t = 0 to t = 1.


Last revised on 20 October 2018.