Accuracy and Error Estimation in Finite Element Analysis
Accuracy and Error Estimation in Finite Element Analysis
_________________________________________________________________________________________________________________________________
FINITE ELEMENT METHOD II
Autumn 2015
Lectures (15h):
1. Accuracy, error estimation and adaptive remeshing
2. Heat flow and thermal stresses in FEM
3. Introduction to structural dynamics, free vibrations
4. Nonlinear problems in mechanics of structures - basic numerical techniques
5. Orthotropic materials and composite structures
6. Parametric modeling and design optimization
References:
[1] Lecture notes from the web site: http://meil.pw.edu.pl/zwmik/ZWMiK/Dla-studentow2/Finite-Element-Method-II
[2] Moaveni S.: Finite element analysis. Theory and applications with ANSYS. Paerson Education, 2015.
[3] Kleiber M. (red.): Komputerowe metody mechaniki ciał stałych, seria Mechanika Techniczna XI, Warszawa PWN 1995.
[4] Xiaolin Chen, Yijun Liuv: Finite Element Modeling and Simulation with ANSYS. Workbench, CRC Press 2014
[5] Huebner K. H., Dewhirst D. L., Smith D.E., Byrom T. G.: The finite element method for engineers, J. Wiley & Sons, Inc.,
2001.
[6] Zienkiewicz O.C., Taylor R.: The Finite Element Method - different publishers and editions
[7] Krzesiński G., Zagrajek T., Marek P., Borkowski P.: MES w mechanice materiałów i konstrukcji. Rozwiązywanie
wybranych zagadnień za pomocą programu ANSYS, Of. Wyd.PW 2015
[8] Bijak-Żochowski M., Jaworski A., Krzesiński G., Zagrajek T.: Mechanika Materiałów i Konstrukcji, Tom 2, Warszawa, Of.
Wyd. PW, 2014
Assessment based on the final test and the results of computer lab work
FEM II - Lecture 1 Page 2 of 14
_________________________________________________________________________________________________________________________________
1. ACCURACY OF FE ANALYSIS.
ERROR ESTIMATION AND ADAPTIVE REMESHING
ε s = ws − wr – modeling error,
Real object
Real result wr
ε d = wd − ws – discretization error
geometry, boundary (initial) conditions
material properties, laws of physics ε n = wn − wd – numerical error
Total error:
Methematical model Exact solution ε c = ε s + ε d + ε n = wn − wr
(continuous) of the mathematical model ws
discretization
The most effective FEM analysis:
εs ~ εd ~ εn
approximation
numerical calculations
Numerical result - wn
Depends on the accuracy of the available information about the problem and knowledge of the analyst (1D – 2D – 3D models, linear,
nonlinear, assumed simplifications, reliable information concerning material properties, loads.)
three
c) dimensional
model model – solid
trójwymiarowy bryłyvolume
N
0
m3
FEM II - Lecture 1 Page 4 of 14
_________________________________________________________________________________________________________________________________
Discretization error εd
Depends on the mesh density, types of the elements – shape functions, the shapes of the finite
elements
MX
FE mesh and von Mises stress distribution Discrete solution versus exact solution of the continuous problem
There are some mathematical convergence requirements in FEA concerning the mesh, shape functions, and rules of FE model
building.
FEM II - Lecture 1 Page 5 of 14
_________________________________________________________________________________________________________________________________
Numerical error εn
[ K ]{q} = { F } ,
δq {δ F } [δ K ]
[ K + δ K ]{q + δ q} = {F + δ F } . → ≤ [K ] [K ]
−1
+ ,
q {F}
[K ]
A problem with a lsmall condition number is said to be well-conditioned, while a problem with a high condition number is said to be ill-conditioned.
kA kB
q1 q2 q3
F2 F3
k A −k A q1 F1
k −k k k
[ k ]e = k = −k k −+kkA
k−A k+ k B q − k B= F
q2 = F2
−k k
2× 2 −k B k B q3 F3 The example of the very small perturbation
k A + kB −k B q2 F2 F2 0.999
q1 = 0 −k = =
k B q3 F3 F3 −1.0
For changed force vector :
B
q2 −0.001
kA = 1 k B = 1000 =
Let’s assume:
q3 −0.002
F2 1
= δ F2 −0.001 δ q2 −0.001
F3 −1 {δ F } = = {δ q} = =
The solution: δ
3 0
F δ q3 −0.001
1 1
q2 k A kA F
= 2
q3 1 1 1 F
+ 3 δF δq
k k A kB = 0.707 ⋅ 10−3 ⇒ = 1.414
A F q
The result:
q2 0
= cond ( K ) ≈ 4i103
q3 −0.001
FEM II - Lecture 1 Page 7 of 14
_________________________________________________________________________________________________________________________________
First equation
k A + kB F
q3 = ⋅ q2 − 2
kB kB
Second equation
F3
q3 = q2 + q3
kB
System ill-conditioned if
k A + kB
→1
kB
kA α1
→0 α2
kB
k A + kB
tgα 2 = tgα1 = 1
Sensitivity to the slop change kB
KA<<KB system ill conditioned
q2
Round–off error
As a general rule, if the condition number cond(K) = 10k, then you may lose up to maximum k digits of accuracy during the solution of the system of
linear equations. However, the condition number does not give the exact value of the maximum inaccuracy that may occur in the algorithm.
(
r ≥ p − log10 cond ( [ K ] ) )
p – number of significant digits in the computer representation of numbers
r – number of significant digits of the result
Y Y
Z X MX Z X MX
Rectangular plate with a hole under tension. The model of the quarter of the structure. The stress component σy
Discontinuous „element solution” (left) and averaged continuous “ nodal solution” (right). Six-node triangular plane elements
FEM II - Lecture 1 Page 9 of 14
_________________________________________________________________________________________________________________________________
_________________________________________________________________________________________________________________
Basic relations between displacements, strains, stresses and strain energy within finite elements (the relations discussed during FEM I lectures)
Displacement field over the element is interpolated from the nodal displacements:
{u} = [ N ( x, y, z )] {q}e , where {q}e - nodal displacements vector , [N ] - shape functions matrix. u
For example for the simplest triangular element with 3 nodes and 6 DOF the relation is
u1
υ LWE=3 LWE=6 LWE=4 LWE=8
1
0 w
u ( x, y ) N1 ( x, y ) 0 N 2 ( x, y ) 0 N 3 ( x, y ) u2 ,
= elementy trójwymiarowe
υ ( x, y ) 0 N1 ( x, y ) 0 N 2 ( x, y ) 0 N 3 ( x, y ) υ2 v
u
u3
υ3
where Ni are the linear functions
Shape functions Nij are usually polynomials defined in local (element) coordinate systems.
Displacements, strains and stresses within each element are defined as the functions of the nodal displacements
{u} = [ N ] {q}e ,
{ε } = [ R ] {u} = [ R ][ N ] {q}e = [ B ] {q}e , [B] – strain-displacement matrix, [R] -gradient matrix
{σ } = [ D ] {ε } = [ D ][ B ] {q}e .
The strain energy of the element Ωe is:
1
q e [ k ]e {q}e .
1
ε {σ } d Ωe ,
1
U e = ∫ q e [ B ] [ D ] [ B ] {q}e d Ωe , Ue =
2 Ω∫e
Ue =
T
2 Ωe 2
[ k ]e = ∫ [ B ] [ D ] [ B] d Ωe
T
where is the stiffness matrix of the element (symmetrical, singular, semi-positive defined)
Ωe
FEM II - Lecture 1 Page 10 of 14
_________________________________________________________________________________________________________________________________
Node n
{σ}i
MX
MX discontinuous continous
stress vector at node n of element i
σ x
ni
σ
y
σ
{σ }n = z {σ }n ≠ {σ }n ≠ {σ }n ≠ ...
i 1 2 3
τ xy
τ yz
τ xz n
k
∑{σ }n
i
{σ }n =
av i =1
averaged stress vector at node n:
k
FEM II - Lecture 1 Page 11 of 14
_________________________________________________________________________________________________________________________________
{∆σ }n = {σ }n − {σ }n
i i av
Stress error vector at node n of element i
vector {∆σ } within the element ’ i’ may be determined by standard approximation using the stress error
i
The stress error
vectors at nodes of element i {∆σ }n .
i
Strain energy of the element i
1
U i = ∫ σ {ε } d Ωi
i i
2Ω i
{ε } = [ D ] {σ } , D] – stress-strain matrix
−1
Then for each element so called energy error can be estimated
1
ei = ∫ ∆σ [ D ] {∆σ } d Ωi
−1
1
σ [ D ] {σ } d Ωi
i i
(ETABLE-SERR) −1
Ui =
i
∫
i
2Ω i 2Ω i
[
JUN 11 2008 JUN 11 2008
10:49:02 10:49:26
PLOT NO. 1 PLOT NO. 2
ELEMENT SOLUTION ELEMENT SOLUTION
STEP=1 STEP=1
SUB =1 SUB =1
TIME=1 TIME=1
SERR (NOAVG) SDSG (NOAVG)
DMX =.086853 DMX =.086853
SMN =.320E-08 SMN =.00959
SMX =.962E-03 SMX =12.223
.320E-08 .00959
.107E-03 1.367
.214E-03 2.724
.321E-03 4.081
.427E-03 5.438
.534E-03 6.795
.641E-03 8.152
.748E-03 9.509
.855E-03 10.866
.962E-03 12.223
MX
Y MX Y
Z X Z X
The ei values can be used for adaptive mesh refinement. It has been shown that if ei is equal for all elements, then the model using
the given number of elements is the most efficient one.
TIME=1
START SY (AVG)
RSYS=0
DMX =.086851
SMN =-11.174
SMNB=-14.773
Initial mesh SMX =374.04
SMXB=375.198
-11.174
31.628
Mesh refinement 74.429
(different mesh 117.231
IF
generation techniques) 160.033
(ei – e/N )/(e/N )<eps1 202.834
SEPC<eps2 NO
245.636
288.437
MN
331.239
YES 374.04
Y Y
END Z X Z X MX