12.07.2015 Views

FEniCS Course - FEniCS Project

FEniCS Course - FEniCS Project

FEniCS Course - FEniCS Project

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Step by step: solving variational problemsOnce a variational problem has been defined, it may be solvedby calling the solve function:u = Function (V)solve (a == L, u,bc)Note the reuse of the variable u as both a TrialFunction inthe variational problem and a Function to store the solution19 / 22

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

Saved successfully!

Ooh no, something went wrong!