12.07.2015 Views

FEniCS Course - FEniCS Project

FEniCS Course - FEniCS Project

FEniCS Course - FEniCS Project

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Step by step: defining variational problemsVariational problems are defined in terms of trial and testfunctions:u =v =TrialFunction (V)TestFunction (V)We now have all the objects we need in order to specify thebilinear form a(u, v) and the linear form L(v):a = inner ( grad (u), grad (v))*dxL = f*v*dx18 / 22

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

Saved successfully!

Ooh no, something went wrong!