29.04.2014 Views

Diploma thesis as pdf file - Johannes Kepler University, Linz

Diploma thesis as pdf file - Johannes Kepler University, Linz

Diploma thesis as pdf file - Johannes Kepler University, Linz

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

3.2 Finite element discretization 27<br />

We use standard Galerkin method. Let T h be regular triangulation of ¯Ω :<br />

¯Ω = ∪ T ∈Th T , T - triangle of the mesh;<br />

for any two distinct triangles T 1 and T 2 : intT 1 ∩ intT 2 = ∅;<br />

any non-empty intersections of two distinct triangles equals one common edge<br />

E ∈ E (T h ) or a node x ∈ N (T h ).<br />

{<br />

∣ ∣ }<br />

∣∣T<br />

Let V h = v h ∈ C( ¯Ω)| v h ∈ P 1 ∣∣∂Ω<br />

(T ) ∀T ∈ T h , v h = 0 ⊂ V = H0 1(Ω).<br />

Let {φ j }, j = 1,N be piecewise linear b<strong>as</strong>is functions in V h with compact support:<br />

∀x i ∈ N (T h )<br />

φ j (x i ) = δ i j ; N < ∞ number of nodes in the mesh, dimension of<br />

V h . Then we can use the representation<br />

u h = ∑u j φ j ,<br />

j<br />

δu h = ∑δu j φ j .<br />

j<br />

Substituting this in (3.2) we obtain the linear system of equations :<br />

Aδu h = b,<br />

where A ∈ R N×N : V h → R N h<strong>as</strong> components:<br />

∫<br />

A i j =<br />

b ∈ R N with components<br />

Ω<br />

∫<br />

φ i φ j<br />

∇φ i ∇φ j dω + κ<br />

Ω (u h − ψ) 2 dω,<br />

∫<br />

∫<br />

∫<br />

b i = −∑u j ∇φ i ∇φ j dω + f φ i dω + κ<br />

j Ω<br />

Ω<br />

Ω<br />

and δu h ∈ R N with components δu j .<br />

Assembling the stiffness matrix<br />

φ i<br />

u h − ψ dω,<br />

For a triangular element T ∈ T h let (x 1 ,y 1 ),(x 2 ,y 2 ),(x 3 ,y x ) be the vertices and φ 1 ,<br />

φ 2 , φ 3 be the corresponding b<strong>as</strong>is functions in V h . We denote by |T | the area of the<br />

triangle. Then<br />

⎛ ⎞<br />

|T | = 1 1 1 1<br />

⎝x 1 x 2 x 3<br />

⎠<br />

2<br />

y 1 y 2 y 3

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

Saved successfully!

Ooh no, something went wrong!