Nonlinear finite elements/Bubnov Galerkin method

From testwiki
Jump to navigation Jump to search

(Bubnov)-Galerkin Method for Problem 2

The Bubnov-Galerkin method is the most widely used weighted average method. This method is the basis of most finite element methods.

The finite-dimensional Galerkin form of the problem statement of our second order ODE is :

(20)Finduh(x)0nsuch that01(duhdxdwhdx+uhwhxwh)dx=0for allwh(x)0nuh(0)=0,uh(1)=0;wh(0)=0,wh(1)=0

Since the basis functions (Ni) are known and linearly independent, the approximate solution uh is completely determined once the constants (ai) are known.

The Galerkin method provides a great way of constructing solutions. But the question is: how do we choose Ni so that these functions are not only linearly independent but arbitrary? Since the solution is expressed as a sum of these functions, the accuracy of our result depends strongly on the choice of Ni.

Let the trial solution take the form,

uh(x)=i=1naiNi(x).

According to the Bubnov-Galerkin approach, the weighting function also takes a similar form

wh(x)=j=1nbjNj(x).

Plug these values into the weak form to get

01[(i=1naidNidx)(j=1nbjdNjdx)+(i=1naiNi)(j=1nbjNj)x(j=1nbjNj)]dx=0

or

01[j=1nbj(dNjdxi=1naidNidx+Nji=1naiNixNj)]dx=0

or

01[j=1nbj(i=1n(aidNjdxdNidx+aiNjNi)xNj)]dx=0.

Taking the sums and constants outside the integrals and rearranging, we get

j=1nbj[i=1nai01(dNidxdNjdx+NiNj)dx01xNjdx]=0.

Since the bjs are arbitrary, the quantity inside the square brackets must be zero. That is

(21)i=1nai01(dNidxdNjdx+NiNj)dx01xNjdx=0j=1n.

Let us define

(22)Kji:=01(dNidxdNjdx+NiNj)dxandfj:=01xNjdx.

Then we get a set of simultaneous linear equations

(23)i=1nKjiai=fj.

In matrix form,

𝐊𝐚=𝐟.

Template:Subpage navbar