• Nie Znaleziono Wyników

Discretization error

N/A
N/A
Protected

Academic year: 2021

Share "Discretization error"

Copied!
3
0
0

Pełen tekst

(1)

Discretization error estimation

Witold Cecot

e-mail: plcecot@cyf-kr.edu.pl

Jerzy Pamin e-mail: Jerzy.Pamin@pk.edu.pl

Chair for Computational Engineering

Faculty of Civil Engineering, Cracow University of Technology URL: www.CCE.pk.edu.pl

Computational Methods, 2020 J.Paminc

Discretization error

Errors committed

I Modelling error

I Discretization error (of FEM approximation)

I Solution error

Methods of discretization error estimation

I hierarchical (Runge)

I explicit residual (implicit not considered here)

I based on averaging (Zienkiewicz-Zhu)

I interpolation error analysis (not considered here)

Computational Methods, 2020 J.Paminc

(2)

FE approximation using linear functions

Example problem

Solve BVP using 4 linear elements

−u00+ u = f , f = x3− 6x2+ 12 , x ∈ (0, 5) Bcs: u(0) = 0 , u(5) = 5

Analytical solution:

uanalit = x3− 6x2+ 6x

Approximate solution u

h

(h - element size)

x 0 1 2 4 5

uh 0 0.938 -4.797 9.153 5

Error measure: edef= u −uh

4

−4

−8

x

1 2 3 4

uh

Computational Methods, 2020 J.Paminc

Hierarchical method e

H

= u

h/2

u

h

uh uh/2

x 0 0.5 1 1.5 2 3 4 4.5 5

uh 0 0.469 0.938 -1.930 -4.797 -6.975 -9.153 -2.077 5 uh/2 0 1.647 1.000 -1.179 -4.138 -9.324 -8.299 -3.543 5 uh/2−uh 0 1.178 0.062 0.751 0.660 -2.349 0.855 -1.467 0

ηHi =

qRxi+1

xi (uh/2− uh)2dx → η1H= 0.69, ηH2 = 0.59, η3H= 1.70, η4H= 0.79

||eH||2 = ||uh/2− uh||2 =R5

0(uh/2− uh)2dx → ||eH|| ≈ 2.08

||uh/2||2 =R5

0(uh/2)2dx → ||uh/2|| = 12.35 → ||u||eH||

h/2|| ≈ 17%

Computational Methods, 2020 J.Paminc

(3)

Error estimation based on residuum (explicit)

Residuum of differential equation

−u00+ u = f, f = x3− 6x2+ 12 → R(x) = f − (−u00h + uh) Residuum provides bound on error

||e|| ¬ C||R||

In 2D (J - jump of 1st derivative)

||e||2 ¬ C(h2||R||2+ h||J ||2) Error indicator in 1D element i ηiR = hiq

Rxi+1

xi R2dx, u00h = 0 → R = x3− 6x2+ 12 − uh Substitute interpolation for uh, e.g.

η1R = 1 qR1

0{x3− 6x2+ 12 − [0(x − 1) + 0.938x]}2dx = 9.94 Compute relative error norm

ηR1

||f || ≈ 33%

and compare solution quality in elements

Computational Methods, 2020 J.Paminc

Error estimation based on smoothing e

S

= ˜ u

0h

u

0h

x 4

1 8

−2

−5

3 4

2 1 u0h

13

˜ u0h

Smoothed solutionderivative ˜u0h (through points determined at element edges)

h1 h2

y d1

d2

d1− d2

y = h h2

1+h2(d1− d2)

˜

u0 = d2+ y = d1 h2

h1+h2 + d2 h1 h1+h2

If h1 = h2 then ˜u0 = d1+d2 2

˜

u01 = 4.2 (extrapolation to node 1),

˜

u02 = −2.4, ˜u03 = −4.5, ˜u04 = 8.7, ˜u05 = 19.6 ηiS =qRxi+1

xi u0h− u0h)2dx η1S =

qR1

0{[4.2(1 − x) + (−2.4)x] − 0.94}2dx = 1.93 η2S = 2.35, η3S = 8.09, η4S = 3.14

||eS||2 =R5

0u0h − u0h)2dx =P

iiS)2 ||e|| ˜uS0||

h|| ≈ 57%

Computational Methods, 2020 J.Paminc

Cytaty

Powiązane dokumenty

Faculty of Civil Engineering, Cracow University of Technology URL: www.CCE.pk.edu.pl. Computational Methods, 2020

Civil Engineering Department, Cracow University of Technology URL: www.L5.pk.edu.pl. Computational Methods, 2015

Faculty of Civil Engineering, Cracow University of Technology URL: www.CCE.pk.edu.pl. Computational Methods, 2020

Faculty of Civil Engineering, Cracow University of Technology URL: www.CCE.pk.edu.pl. Computational Methods, 2020

Faculty of Civil Engineering, Cracow University of Technology

Metallic lithium is not directly applied as anode material, as dendrites would be formed during cycling, leading to short-circuit of the cell and even thermal

One of the most important challenges for the readout electronics designers from the analog electronics point of view, is the noise level reduction (stemming from

One of the most important challenges for the readout electronics designers from the analog electronics point of view, is the noise level reduction (stemming from the