SQUARE
A Problem in a Square Region for FREE_FEM_HEAT


The SQUARE problem uses the geometry of a square region. This is an example of how to specify a problem to be solved by FREE_FEM_HEAT.

This mesh uses 81 nodes and forms 32 quadratic triangular elements.

We assume that the equation to be solved is

dUdT - Laplacian U + K * U = F
with
K = 0,
and
F = (2*pi*pi-1)*sin(pi*x)*sin(pi*y)*exp(-t).
The exact solution is:
U = sin(pi*x) * sin(pi*y) * exp(-t).
which is the formula we use to define our functions G (for the boundary conditions) and H (for the initial conditions).

The MATLAB program CONTOUR_SEQUENCE4 can make contour plots from the sequence of solutions:

You can go up one level to the FREE_FEM_HEAT page.


Last revised on 14 November 2005.