FEniCS Course - FEniCS Project

FEniCS Course - FEniCS Project FEniCS Course - FEniCS Project

fenicsproject.org
from fenicsproject.org More from this publisher
12.07.2015 Views

The FEniCS challenge!Solve the partial differential equation−∆u = fwith homogeneous Dirichlet boundary conditions on the unitsquare for f(x, y) = 2π 2 sin(πx) sin(πy). Plot the error in the L 2norm as function of the mesh size h for a sequence of refinedmeshes. Try to determine the convergence rate.• Who can obtain the smallest error?• Who can compute a solution with an error smaller thanɛ = 10 −6 in the fastest time?The best students(s) will be rewarded with an exclusive FEniCSsurprise!Hint: help(errornorm)22 / 22

The <strong>FEniCS</strong> challenge!Solve the partial differential equation−∆u = fwith homogeneous Dirichlet boundary conditions on the unitsquare for f(x, y) = 2π 2 sin(πx) sin(πy). Plot the error in the L 2norm as function of the mesh size h for a sequence of refinedmeshes. Try to determine the convergence rate.• Who can obtain the smallest error?• Who can compute a solution with an error smaller thanɛ = 10 −6 in the fastest time?The best students(s) will be rewarded with an exclusive <strong>FEniCS</strong>surprise!Hint: help(errornorm)22 / 22

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!