heat_implicit
Time Dependent Heat Equation on Rectangle with Hole


heat_implicit, a FENICS code which uses the finite element method to solve a version of the time dependent heat equation over a rectangular region with a circular hole. The time steps are handled using an implicit solver.

Note that I have installed FENICS using Docker, and so to run this script I issue the commands:

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

Licensing:

The GNU LGPL license.

Reference:

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

Source Code:


Last revised on 24 October 2018.