42
2007 European Society of Biomechanics thematic workshop on Finite Element Modelling in Biomechanics and Mechanobiology Non-Linear Finite Element Analysis: Finite Element Solution Schemes I & II Peter McHugh Department of Mechanical and Biomedical Engineering National Centre for Biomedical Engineering Science National University of Ireland, Galway Copyright © P. McHugh, 2007

Non Linear Finite Element Methods

Embed Size (px)

Citation preview

Page 1: Non Linear Finite Element Methods

2007 European Society of Biomechanics thematic workshop on Finite Element Modelling in Biomechanics and Mechanobiology

Non-Linear Finite Element Analysis:Finite Element Solution Schemes

I & II

Peter McHugh

Department of Mechanical and Biomedical EngineeringNational Centre for Biomedical Engineering Science

National University of Ireland, Galway

Copyright © P. McHugh, 2007

Page 2: Non Linear Finite Element Methods

Outline

• Basic Principles of FE• Solid Mechanics BVP• Linear Problems• Non-linear Problems• Solution Schemes

– Implicit (Newton-Raphson)– Explicit Methods– Dynamic Explicit Methods

• Stress Update Algorithm• Generalisations• Summary

Page 3: Non Linear Finite Element Methods

Introduction to FE

“The finite element method is a means of obtaining approximate numerical solutions to field

problems”

• Discretise body into regions – elements

• Elements connected at special points – nodes

• Replace solution variable distribution with approximate distribution based on:– fixed solution “shapes” over elements– solution variable values at nodes

Continuous → Discrete

Page 4: Non Linear Finite Element Methods

FE Approximation

• Temperature distribution u(x)– a single degree of freedom case (SDOF)

• Approximation: assumption of “shape” of solution throughout element – usually polynomial – linear, quadratic,…

• More nodes & elements → greater accuracy• Generally quadratic better than linear

( ) ( ) a

n

aa uNu ⋅⇒ ∑

=

xx1

Page 5: Non Linear Finite Element Methods

Basic Idea – One element

FE: 4-noded quadreal

Nodal values:• actual unknowns solved for in FEM since

“shape” is assumed• approximations to exact solution at nodes

Page 6: Non Linear Finite Element Methods

Basic Idea – One element

Shape Functions

4–noded quad

1

2

3

4

4=

12

3

x1

x2

+

+

+

( ) ( ) aa

a uNu ⋅= ∑=

xx4

1

Page 7: Non Linear Finite Element Methods

SDOF → MDOF

Multi degree of freedom case (MDOF), e.g. displacements in 2D or 3D

Single degree of freedom case (SDOF)

Matrix/Vector notation

eNuu =

( ) ( ) a

n

aa uNu ⋅= ∑

=

xx1

( ) ( ) a

n

aaN uxxu ⋅= ∑

=1

Vector of nodal displacements

Page 8: Non Linear Finite Element Methods

One element → Mesh

• 2D: Quad/Triangle – 3D: Hex./Tetrahedral

• Good idea to keep mesh reasonably regular

Page 9: Non Linear Finite Element Methods

Field Problems

• Usually Field Problems are posed in the STRONG FORM– Partal differential equations PDEs + Boundary

conditions BCs– PDEs + BCs → Boundary Value Problem (BVP)– “Pointwise” form

• FE solutions come from the WEAK FORM– Convert “pointwise” form to integral form

over whole body– Principle of Virtual Work, Galerkin Method,

etc. – Same information contained

Page 10: Non Linear Finite Element Methods

Solid Mechanics BVP

∫∫ =SV

dSdV fuσε TT δδ

Principle of Virtual Work (PVW)

12

22

11

δε2δεδε

δε

12

22

11

σσσσ

2

1

δδδ

uu

u

2

1

ff

f

For 2D case:

V

σ,ε,uS

f

Page 11: Non Linear Finite Element Methods

FE Approximation

eNuu =

eBuxu

xuε =

∂∂

+∂∂

=T

21

∫∫ =S

eV

dSdVe fNuσBu TTTT δδ

euNu δδ =

euBε δδ =

∫∫ =SV

dSdV fuσε TT δδ

Principle of Virtual Work (PVW):

Page 12: Non Linear Finite Element Methods

∫∫ =S

eV

dSdVe fNuσBu TTTT δδ

∫∫ =SV

dSdV fNσB TT

FuσB =∫ dVV

e )(T

Eliminate virtual displacements:

FE Approximation

Fundamental FE Equations to solve:

Page 13: Non Linear Finite Element Methods

Linear Problem

FDBuB =∫ dVV

eT

eDBuDεσ ==

FσB =∫ dVV

T

Input into FE equations:

Linear Elasticity

Reorganise and define stiffness matrix K:

FuDBB =

∫ eV

dVTFDBuB =∫ dVV

eT

Page 14: Non Linear Finite Element Methods

Linear Problem

Numerical Integration (for each element)

Assembly of global matrix/vectors

FuDBB =

∫ eV

dVT

FKu =e

• Solution usually “straightforward”• Can be achieved in a single step• Apply F, invert K, solve for ue

• Go back and determine ε and σ

Page 15: Non Linear Finite Element Methods

Non-Linear Problems

Non-linearities can arise for many reasons, e.g.

• geometric non-linearities– large deformation kinematics

– non-linear ε-u relationship

• material non-linearities– non-linear constitutive law

– non-linear σ-ε relationship

• non-linear boundary conditions – surface contact

)(

)(

TT

21

e

ee

uσσ

uuBxu

xu

xu

xuε

=

=

∂∂

∂∂

+∂∂

+∂∂

=

Page 16: Non Linear Finite Element Methods

Non-linear Material• Bi-linear elastic material

σ

εε1

σ1

Page 17: Non Linear Finite Element Methods

Non-linear Material• Elastic-plastic material

Strain hardening

σ

εεp εe

σ0

Plastic Elastic

σy

Page 18: Non Linear Finite Element Methods

Non-Linear ProblemFE equations

• G is the out of balance/residual force

• G = 0 is a set of non-linear equations in ue

• Solution usually by incremental methods – applying load in increments/steps: t → t+∆t– stepping to final time tfinal in time steps ∆t and solving

for each step– Implicit and Explicit methods used– drop “e” for convenience

0uGFuσuB

FuσuB

==−

=

)()()(

)()(

T

T

eV

ee

Vee

dV

dV

Page 19: Non Linear Finite Element Methods

Implicit

• Implicit: Solve for t+∆t using state at t and t+∆t– don’t know state at t+∆t yet– Newton-Raphson method used typically –

ABAQUS/Standard, ANSYS, MARC,…– take initial guess and iterate to convergence– end up solving “linear-like” equation for each

iteration: Ku = F– very accurate– can use relatively large time steps

Solved for t, wish to solve for t+∆t

0uG =∆+ )( tt

Page 20: Non Linear Finite Element Methods

Explicit

• Explicit: Solve for t+∆t using state at t– know state at t so can calculate Kt– solve directly for incremental displacements:

Kt ∆u = ∆F– no iteration– no convergence check– usually used in purpose written codes– method is very robust– must use very small time steps (x10 → x1000)

Page 21: Non Linear Finite Element Methods

Implicit: Newton-Raphson

Material non-linearity

• Assume solved for state at t • ut are known • Apply load increment• Wish to update state to t+∆t• ut+∆t are main variables• How does NR method work?

0FuσBuG =−= ∫ ∆+∆+ dVV

tttt )()( T

Page 22: Non Linear Finite Element Methods

Newton-Raphson

)(1

1 ix

ii xfdxdfxx

i

−=

+

Look at 1D: Wish to solve f(x) = 0 Guess at root xi : Better guess xi+1 → NR formula

Method applied iteratively:xi+1 → xi and reapply NR formula

Continue to iterate until convergence:

Tolerancexf

Tolerancexx

i

ii

<

<−

+

+

)( 1

1

Page 23: Non Linear Finite Element Methods

Newton-Raphson0uG =∆+ )( tt

( ) ( )tti

ttitt

itt

i∆+

−∆+∆+∆+

+

∂−= uG

uuGuu

1

1

( ) ( )tti

ttitt

itt

ii∆+

−∆+∆+∆+

++

∂−=−= uG

uuGuuu

1

11δ

For FE same principle

For ith iteration

( ) ( )tti

ttii

∆+−∆++ −= uGuKu 1

( ) ( )ttii

tti

∆++

∆+ −= uGuuK 1δ

Reorganise

K – tangent stiffness matrix

Page 24: Non Linear Finite Element Methods

Newton-Raphson

( ) Tolerancetti <∆++1uG

• Must be solved for each iteration for change in incremental displacements

• K and G are different for each iteration

• Same form as for linear problems: Ku = F• Initial guess is usually ut

( ) ( )ttii

tti

∆++

∆+ −= uGuuK 1δ

Convergence:

Current increment in displacements - for ith iteration:

∑=

∆+ =∆=−i

kki

ttti

1δuuuu

Page 25: Non Linear Finite Element Methods

Newton-Raphson∑

=

∆+ =∆=−i

kki

ttti

1δuuuu

Schematic of iteration process:

)( 0tt ∆+uG

)( 0tt ∆+uG δu1 δu2

ut ut+∆t∆u

F

Ft+∆t

Ft

)( 0tt ∆+uG )( 1

tt ∆+uG

)( 1tt ∆+uK

)( 0tt ∆+uK

Page 26: Non Linear Finite Element Methods

Newton-Raphson

)(

)(tt

i

tti

∆+

∆+

uKuG

Method requires accurate evaluation of

For each iteration i

G requires accurate σ for current estimate of ut+∆t

Requires a Stress Update Algorithm (SUA)

0FuσBuG =−= ∆+∆+∆+ ∫ tt

V

tti

tti dV)()( T

Page 27: Non Linear Finite Element Methods

Newton-Raphson

( ) ( )( )

( ) ( )dVdV

dV

tti

tti

tti

VV

V

ttitt

i

BεσB

εσB

uσB

uuGuK

uu

u

∆+∆+

∆+

∂∂

=∂∂

∂∂

=

∂∂

=∂

∂=

∫∫

∫∆+

∆+

TT

T

Look at K

( )

( ) dVtan

V

tti

tan

tti

BDBuK

εσD

u

∫=

∂∂

=

∆+

∆+

T

Jacobian of constitutive lawConsistent

Tangent Matrix

Page 28: Non Linear Finite Element Methods

Form of K

• Same form as for linear problem• Different for each iteration• Consistent tangent matrix can be difficult to

evaluate for complex constitutive laws

Page 29: Non Linear Finite Element Methods

Newton-Raphson Re-cap

• Load applied incrementally• For each increment, iteration is performed

until convergence is achieved

• Need to be able to calculate K and Gaccurately

Page 30: Non Linear Finite Element Methods

Application: Linear Elasticity

)( 0tt ∆+uG

• Dtan = D (constant)

• K constant for each iteration• Convergence reached in 1 iteration• Can apply full load in one increment• Same as simple linear one-step solution

F

Displacement

Ft+∆t

Ft

ut ut+∆t

)( 0tt ∆+uK

Page 31: Non Linear Finite Element Methods

Newton-Raphson• Accurate and displays rapid convergence• However there are modified methods used

– Simplified methods:• Constant K – from first iteration in increment

• Initial stress method – K from first increment

– Complex methods: BFGS, etc.

• Can modify K but still must calculate Gaccurately (SUA)

Page 32: Non Linear Finite Element Methods

Non-Linear Solution Methods

• Implicit methods: Newton-Raphson– NR: Gold Standard– Rigorous convergence criterion

• Explicit methods: Kt ∆u = ∆F• Both involve formation and inversion of the

global stiffness matrix K• Major computational chore – processing and

storage– Huge efforts made in developing efficient storage

and processing methods – Skyline solvers, element by element solvers, etc.

• Alternative?

Page 33: Non Linear Finite Element Methods

Dynamic Explicit Methods

• Problems reformulated as dynamic• Include nodal velocities, accelerations

• Include inertia → mass matrix M

• Problems solved incrementally• No need to form or invert K at all!• LS-Dyna, ABAQUS/Explicit,…• Method is very robust – great for highly non-linear

problems• No convergence check – must be careful about

accuracy and stability • Must use very small time steps (x10 → x1000)• Algorithms for determining ∆t

( ) 0uuGuM =+ &&& ,

Page 34: Non Linear Finite Element Methods

Central Difference Method

• No formation of K, but accuracy in G still required

• M in diagonal form

• Method works in “half increments”

i-1/2, i, i+1/2, i+1,…• Solution “marches through time”• For increment i:

21

21

21

i1ii1i

ii1i

ii

i1

i

2+++

+−+

∆+=

∆+∆+=

−=

uuu

uuu

GMu

&

&&&&

&&

t

tt

Page 35: Non Linear Finite Element Methods

Stress Update Algorithm• To get accurate solution for any

iteration/increment, need accurate Gt+∆t

0FuσBuG =−= ∆+∆+∆+ ∫ tt

V

tttt dV)()( T

)( 0tt ∆+uG

)( 0tt ∆+uG δu1 δu2

ut ut+∆t∆u

F

Ft+∆t

Ft

)( 0tt ∆+uG )( 1

tt ∆+uG

)( 1tt ∆+uK

)( 0tt ∆+uK

Page 36: Non Linear Finite Element Methods

Stress Update Algorithm

• Stress can depend on many variables/phenomena– displacement/strain, temperature/heat flux,

diffusion, evolving porosity, etc…– relevant material properties for each

phenomenon• Need σt+∆t to be accurately calculated as a

function of changes in the independent variables: t → t+∆t

• Not trivial for very complex (multi-physics) or non-linear systems

Page 37: Non Linear Finite Element Methods

Commerical codes (ANSYS, ABAQUS, MARC,…)• Using standard material models available

– elasticity, visco-elasticity, plasticity,….– accuracy usually “guaranteed”

Stress Update Algorithm

Page 38: Non Linear Finite Element Methods

Why Emphasis Here?

Commerical codes (ANSYS, ABAQUS, MARC,…)• Using User Material modules (ABAQUS-UMAT)• Now common in mechanics and biomechanics• Great freedom in describing stress dependence on

different variables – σ(mech, therm, chem, bio)– Bio: protein synthesis, actin fibre/bundle

formation,…• Allow material properties to evolve through time

• ABAQUS: ∆t, ut+∆t→ UMAT• UMAT: σt+∆t → ABAQUS• ABAQUS believes correct – it does not check!!

Page 39: Non Linear Finite Element Methods

Why Emphasis Here?

Many constitutive laws are in rate form & non-linear

Not trivial to determine ∆σ based on ∆t, ut+∆t

• Algorithms: Simple Euler, Backward Euler, Central Difference, Radial Return,…

• User need to ensure UMAT performing accurately before use

σσσεεfσ

∆+=

=∆+ ttt

TT ,......),,,( &&&

Page 40: Non Linear Finite Element Methods

Other Observations 1

• Considered solid mechanics situation

– Dealing with σ– Although generalised to multi-physics

problems• However, general methods and cautions hold

true for other problem types– Thermal: heat flux and temperature– Convection+diffusion: mass transport and

concentration

Page 41: Non Linear Finite Element Methods

Other Observations 2

• Incremental solution methods vital for non-linear problems

• However, also very important for any time/rate-dependent problem

– Both linear and non-linear– Track how state is changing over time (transient)– Same methodologies used – Visco-elasticity– Creep and visco-plasticity

Page 42: Non Linear Finite Element Methods

Summary• Introduced FE - Linear & Non-linear• Linear – single K matrix inversion• Non-linear – incremental methods

– Implicit: Newton-Raphson – iteration – gold standard

– Dynamic Explicit: No K – no iteration – small time steps

– Must have accurate stress update algorithm– User modules for com. codes → great flexibility to deal

with multi-physics problems– General principles applicable to other problem types –

thermal, mass transport, etc.

• Incremental methods– necessary for time dependent problems