convection_diffusion_stabilized
A 1D convection-diffusion problem
convection_diffusion_stabilized,
a FENICS code which
uses the finite element method to simulate the solution of a
1D convection-diffusion problem, using artificial viscosity to
stabilize the solution.
Note that I have installed FENICS using Docker, and so to run this
script I issue the commands:
-
cd $HOME/fenicsproject/convection_diffusion_stabilized
-
fenicsproject run
-
python3 convection_diffusion_stabilized.py
-
exit
Licensing:
The GNU LGPL license.
Reference:
-
Hans Petter Langtangen, Anders Logg,
Solving PDEs in Python - The FEniCS Tutorial Volume 1.
-
Anders Logg, Kent-Andre Mardal,
Lectures on the Finite Element Method.
Source Code:
Last revised on 02 November 2018.