convection_diffusion
A 1D convection-diffusion problem
convection_diffusion,
a FENICS script which
uses the finite element method to simulate the solution of a
1D convection-diffusion problem.
Note that I have installed FENICS using Docker, and so to run this
script I issue the commands:
-
cd $HOME/fenicsproject/convection_diffusion
-
fenicsproject run
-
python3 convection_diffusion.py
-
exit
Licensing:
The computer code and data files described and made available on this web page
are distributed under
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.