19.06.2015 Views

A FEniCS Tutorial - FEniCS Project

A FEniCS Tutorial - FEniCS Project

A FEniCS Tutorial - 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.

1<br />

0.8<br />

Contour plot of u<br />

4<br />

3.5<br />

3<br />

2.5<br />

2<br />

1.5<br />

0.6<br />

0.4<br />

0.2<br />

0<br />

0 0.2 0.4 0.6 0.8 1<br />

(a)<br />

0<br />

Flux in x-direction (at y=0.5)<br />

numerical (projected) flux<br />

exact flux<br />

-0.5<br />

-1<br />

-1.5<br />

-2<br />

-2.5<br />

-3<br />

0 0.2 0.4 0.6 0.8 1<br />

(b)<br />

Figure 5: Examples of plots created by transforming the finite element field<br />

to a field on a uniform, structured 2D grid: (a) contour plot of the solution;<br />

(b) curve plot of the exact flux −p∂u/∂x against the corresponding projected<br />

numerical flux.<br />

39

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

Saved successfully!

Ooh no, something went wrong!