Demonstration of class TimeStepping usage:
Solution of the time dependent heat equation

We present a program to solve the time dependent 2-D heat equation using the P1 finite element method for space discretization and one of the available time integration schemes for time discretization. To validate the code, we test the exact solution

   u(x,y) = exp(-t)*exp(x+y)
This gives as a source term, in the case where all coefficients are equal to 1:
   f(x,y) = -3*exp(-t)*exp(x+y)

Copyright © 1998-2022 Rachid Touzani