Docsity

Finite Element Method: Piecewise Quadratic and Quadratic Elements, Study notes of Mathematics

Partial preview of the text

Download Finite Element Method: Piecewise Quadratic and Quadratic Elements and more Study notes Mathematics in PDF only on Docsity!

Element Types Our description so far has concerned only piecewise linear(P) basis functions (‘hat’ functions in 1-dimension and ‘tent’^1 functions in 2-dimensions) and correspondingly onlypiecewise linear finite element approximations

u, but thereh

are many other useful approximation spaces withconvenient local bases for which the implementation wehave described is similar.On triangles, we can define a piecewise quadratic (or

P)^2

approximation space by having nodes at vertices and alsoat all midpoints of sides. By insisting that there is one basisfunction^ φfor each node^ jj^

= 1,^2 ,... , n^ +^ nwhich∂^

satisfies^ φ(nodej^

i) =^ δi,j

we can compute the piecewise quadratic Galerkin finiteelement approximation^ u.^ h

Note that^ Papproximation defined in term of these basis^2 functions is certainly continuous, and so

1 u∈ H, but ish E^

not more smooth than this.A convenient representation of

Pand^ Ptriangular^1

elements is via the illustration: The 3 nodes in a^ Pelement are sufficient to uniquely^1 determine the 3 coefficients in a bivariate linear function ax^ +^ by^ +^ c^ and the 6 nodes in a

Pelement are sufficient^2

to uniquely determine the 6 coefficients in a bivariate^2 quadratic function^ ax+^ bxy

2 + cy+^ dx^ +^ ey^ +^ f^.

In general triangular^ Pelements are defined by includingk^ more nodes on element sides and also some internalnodes, so eg. to uniquely define bivariate cubics, the

P^3

element has 10 nodes: On the reference element the internal node at

11 (,^ ) 3 3

corresponds to the basis function

27 ξ η^ (1^ −^ ξ^ −^ η)^ for

example

We represent^ Pand^ Pelements for example by the^1 2 illustration

Quadrilateral Elements It is clear than any polygonal domain can be tesselated withtriangles and so^ Pelements provide a convenient andk^ flexible approximation space.There are certain different advantages however to the useof rectangular or quadrilateral tesselations and these arequite widely used.The simplest is the^ bilinear^

or^ Qelement which is of the^1

form^ (ax^ +^ b)(cy^ +^ d) =^ αxy

+^ βx^ +^ γy^ +^ δ^ on any

rectangular element. Thus for example for a squareelement with vertices^ (0,^ 0),^ (h,^ 0)

,^ (h, h),^ (0, h)

the element basis functions are (1−x/h)(1−y/h),^ x/h(

(^2) −y/h), xy/h,^ (1−x/h )y/h^ FEM – p.8/

For general quadrilateral elements (with non-coordinatealigned edges) the isoparametric bilinear mapping is necessary^ to ensure that^ Qapproximation is continuous,^1 hence^ n+^ u=h^

n∂∑^1 uφ∈ Hj^ j^ E j=

On the reference element^

,^ (ξ, η)^ ∈^ [−^1 ,^ 1]^ ×^ [−^1 ,^ 1]∗

we

define the element basis functions by^ χ(ξ, η)^ =^1

(ξ^ −^ 1)(η^ −^ 1)/^4 χ(ξ, η) = −(ξ^ + 1)(η^ −^ 1)/^42 χ(ξ, η) = (ξ^ + 1)(η^ + 1)/^43 χ(ξ, η) = −(ξ^ −^ 1)(η^ + 1)/^44

Then the isoparametric mapping is^4 ∑^ x(ξ, η) =^ xχ(ξ, ην^ ν^ ν=

(^4) ∑), y(ξ, η) =^ yχ(ξ, ην^ ν^ ν=

(x ,y ) y^4 4 (x ,y )^3 3 (−1,1) (x ,y ) 1 1 (x ,y )^2 2 (−1,−1)x

η^ (1,1)^ ξ (1,−1)

The important point here is that the mapped element basisfunction defined on a general quadrilateral element is linearalong each edge which ensures continuity across edges^1 and so guarentees^ Happroximation^ E^

FEM – p.11/

  • Quadrature (on ) would usually be used for the load∗ vector but also it is often used to compute (or at leastapproximately compute) the entries of the stiffness matrixhere.Tensor products of Gaussian quadrature rules such as ∫^1 r(ξ)dξ ≈ r −
    • ( ) ( )^11 √ + r − √
      • are most often used ie. for this rule ∫ ∫^11 r(ξ, η)dξdη ≈ r −^1 −
        • ( ) (^1111 √, √ + r − √, √
        • )
          • ( ) (^111 +r √, − √ + r − √
          • ) 1 , − √ 33 FEM – p.13/

Gauss quadrature points:

3 For Ω ⊂ Rthere are correspondingly

Q brick^ elementsk^

eg. 3-dimensional^ Qelements (^1

trilinear^ elements) which

are of the form^ (ax^ +^ b)(cy

+^ d)(ez^ +^ f^ ).

Qand^ Qelements are illustrated thus:^1

In general the use of a finite element basis which ensures^1 that^ u∈ Hfor the Poisson or other 2nd order elliptich^ E^ partial differential equations is decribed as a

conforming

finite element approximation. Non-conforming^ approximations such as discontinuouselements which are not smooth enough will not beconsidered in this course, though some such methods areused (generally for problems other than elliptic problems).Some of the implementational details for example remainsimilar.