96
The Classical FEM Method and Discretization Methodology SIGGRAPH 2012 Course Note Re-Presented by Tiantian Liu

The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Embed Size (px)

Citation preview

Page 1: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

The Classical FEM Method and Discretization

Methodology SIGGRAPH 2012 Course Note

Re-Presented by Tiantian Liu

Page 2: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

About

• SIGGRAPH 2012 Course • FEM Simulation of 3D Deformable Solids: A practitioner’s guide to theory,

discretization and model reduction • http://www.femdefo.org/ • The classical FEM method and discretization methodology

• Eftychios Sifakis

• Model Reduction • Jernej Barbič

Page 3: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

About

• Eftychios Sifakis • Assistant Professor • Computer Science Department, University of Wisconsin-Madison • [email protected]

Page 4: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Topics • Elasticity in 3D

• Deformation map and deformation gradient • Strain energy and hyperelasticity • Force and traction • Stress tensor

• Strain Measurements Vs. Stress Tensor • Linear elasticity • St. Venant-Kirchhoff model • Corotated linear elasticity • Neohookean elasticity

Basic Concepts

Four Models

Page 5: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Topics (cont’d)

• Discretization • Energy and Force • Linear tetrahedral elements • Explicit integration • Implicit integration

Page 6: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Fundamental Concepts

• What do we need to simulate a deformable body? • For each vertex:

• Position • Velocity • Acceleration / Force

• Concepts we need: • Deformation map and deformation gradient • Strain energy • Force and traction density • Stress tensor

Fundamental Concepts Constitutive Models Discretization

Page 7: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Map

• We need something describing the deformation

Fundamental Concepts Constitutive Models Discretization

Page 8: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Map

Fundamental Concepts Constitutive Models Discretization

Page 9: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Map

Fundamental Concepts Constitutive Models Discretization

Page 10: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Map

Fundamental Concepts Constitutive Models Discretization

Page 11: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Example of Deformation Map

• Here’s a deformation map

Fundamental Concepts Constitutive Models Discretization

+−

==

=

2116.11500.02067.01866.0

)(21

XXXX

Xxx

x φ

Page 12: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Example of Deformation Map

• Or we can write it another way

Fundamental Concepts Constitutive Models Discretization

XFXX

Xxx

x

=

−==

=

21

116.1500.0067.0866.0

)(21

φ

Page 13: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Gradient Tensor

• Definition • Jacobian Matrix of the Deformation Map

Fundamental Concepts Constitutive Models Discretization

Page 14: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Gradient Tensor

• Notice that F will be spatially varying across Ω, we will notate it as F(X) if such dependence needs to be made explicit.

Fundamental Concepts Constitutive Models Discretization

Page 15: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Gradient Tensor

• Example • Translate

Fundamental Concepts Constitutive Models Discretization

Page 16: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Gradient Tensor

• Example • Scale

Fundamental Concepts Constitutive Models Discretization

Page 17: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Gradient Tensor

• Example • Rotate

Fundamental Concepts Constitutive Models Discretization

Page 18: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Same Potential

Hyperelasticity Hypothesis

• Potential energy associated with a deformed configuration • only depends on the final deformed shape • not depends on the deformation path over time

Fundamental Concepts Constitutive Models Discretization

Page 19: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Strain Energy

• Energy is only a function of current state φ(X) • Based on hyperelasticity

• Define energy density funcition Ψ(φ(X),X)

Fundamental Concepts Constitutive Models Discretization

Page 20: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Strain Energy

• φ(X) is only a function of F(X). (If φ is small)

• Ψ(φ(X),X) can be write as Ψ(F(X))

Fundamental Concepts Constitutive Models Discretization

Page 21: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Strain Energy

• Take a blind guess of Ψ(F(X))?

Fundamental Concepts Constitutive Models Discretization

Page 22: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Strain Energy

• Take a blind guess of Ψ(F(X))?

Fundamental Concepts Constitutive Models Discretization

Page 23: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Strain Energy

• Naive Spring Analogy Model

Fundamental Concepts Constitutive Models Discretization

Page 24: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Energy -> Force

• Example • Potential Energy in Gravity

• Force

Fundamental Concepts Constitutive Models Discretization

Page 25: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Force in non-constant Force Field / Force Density • Aggregated Force = integration of force density

• Problem? • How about zero-volume area, such as surface?

Fundamental Concepts Constitutive Models Discretization

Page 26: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Surface Traction

• Aggregated Force on surface

Fundamental Concepts Constitutive Models Discretization

Ω∂⊂B

Page 27: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

The First Piola-Kirchhoff Stress Tensor

• Definition

• Two equally popular (and, in fact, equivalent) ways to describe the material properties of a hyperelastic material

• Explicit formula of Ψ(F(X)); • Explicit formula of P(F(X));

Fundamental Concepts Constitutive Models Discretization

Page 28: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

The First Piola-Kirchhoff Stress Tensor

• Force and traction, represented by Piola-Kirchhoff Stress Tensor:

Fundamental Concepts Constitutive Models Discretization

Page 29: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

The First Piola-Kirchhoff Stress Tensor

• Force and traction, represented by Piola-Kirchhoff Stress Tensor:

Fundamental Concepts Constitutive Models Discretization

Page 30: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Example from Ψ to P

• Energy density:

• Piola-Kirchhoff Stress Tensor

Fundamental Concepts Constitutive Models Discretization

Page 31: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Example from Ψ to P

• Given Deformation Map

• Calculate P

• Calculate Traction

Fundamental Concepts Constitutive Models Discretization

Page 32: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Rigid body Transformation Invariance

• Energy / Stress Tensor / Force should remain invariant under rigid body transformations (Rotation + Translation)

F = R

Fundamental Concepts Constitutive Models Discretization

Page 33: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Problem of Naive Spring-Analogy Model

• Strain Measurement: • F-I

• Stress Tensor • k(F-I)

• Energy density • k/2*(F-I):(F-I)

F = R

Fundamental Concepts Constitutive Models Discretization

Page 34: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Constitutive Models of Materials

• Strain Measures • Linear elasticity • St. Venant-Kirchhoff model • Corotated linear elasticity • Isotropic &rotationally invariant • Neohookean elasticity

Fundamental Concepts Constitutive Models Discretization

Page 35: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Strain Measures

• Motivation • Rigid Body Transformation Invariant

• Idea • Since RT = R-1 …

=> FTF = (RS)TRS = STRTRS = STS • Directly Using S => S = RTF

Fundamental Concepts Constitutive Models Discretization

Page 36: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Green Strain Tensor

• Definition

Fundamental Concepts Constitutive Models Discretization

Page 37: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Green Strain Tensor

• Advantage of using the term FTF:

Fundamental Concepts Constitutive Models Discretization

Page 38: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Green Strain Tensor

• Small deformation case:

Fundamental Concepts Constitutive Models Discretization

Page 39: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Small Strain Tensor

• Small deformation case:

Fundamental Concepts Constitutive Models Discretization

Page 40: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Linear elasticity

• Strain energy density defined with small strain tensor

Fundamental Concepts Constitutive Models Discretization

Page 41: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Linear elasticity

• After we have the definition of Ψ(F), we can get the strain tensor by:

Fundamental Concepts Constitutive Models Discretization

Page 42: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Linear elasticity

• The stress P is a linear function of the deformation gradient F. • Problem:

• designed to be accurate exclusively in a small deformation scenario.

Fundamental Concepts Constitutive Models Discretization

Page 43: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Linear elasticity

• http://www.youtube.com/watch?v=e66agRi1R2k

Fundamental Concepts Constitutive Models Discretization

Page 44: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

St. Venant-Kirchhoff Model

• Strain energy density defined with Green strain tensor directly

Fundamental Concepts Constitutive Models Discretization

Page 45: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

St. Venant-Kirchhoff Model

• Similarly, we can get P from the definition of Ψ:

Fundamental Concepts Constitutive Models Discretization

Page 46: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

St. Venant-Kirchhoff Model

• Potential Problem: • Think about the stress tensor again:

• It’s a cubic function of F, so when F goes

to zero, P does not go to infinity (at least a large value) as wanted.

Fundamental Concepts Constitutive Models Discretization F

F

FP

Page 47: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

St. Venant-Kirchhoff Model

• Problem: • When F->0, P = F[2μE+λtr(E)I] -> 0, thus the stress goes to zero! • Experimental critical compression threshold = 58% • If compressed to about 58% of undeformed dimensions, the stress force has a

maximum.

Fundamental Concepts Constitutive Models Discretization

Page 48: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

St. Venant-Kirchhoff Model

• http://www.youtube.com/watch?v=JelJltJlJc0

Fundamental Concepts Constitutive Models Discretization

Page 49: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Corotated Linear Elasticity

• Use the second idea motioned before, measure strain using: ϵc = S-I = RTF-I • Energy density:

Fundamental Concepts Constitutive Models Discretization

Page 50: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Corotated Linear Elasticity

• Still, we can use the definition of Ψ to calculate P:

Fundamental Concepts Constitutive Models Discretization

Page 51: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Corotated Linear Elasticity

• Motivation: • mimic what linear elasticity would have been after killing the rotation term

• Problem: • the overhead of corotated vs. linear elasticity includes the cost of the polar

decomposition, and the need to employ nonlinear solvers for certain types of simulation

Fundamental Concepts Constitutive Models Discretization

Page 52: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Rotationally Invariant

Fundamental Concepts Constitutive Models Discretization

Page 53: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Isotropic

Fundamental Concepts Constitutive Models Discretization

• Definition: • resistance to deformation is the same along all possible orientations that such

deformation may be applied

Page 54: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Isotropic

Fundamental Concepts Constitutive Models Discretization

• Definition: • resistance to deformation is the same along all possible orientations that such

deformation may be applied

Page 55: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Isotropic & Rotationally Invariant

Fundamental Concepts Constitutive Models Discretization

Page 56: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Isotropic & Rotationally Invariant

Fundamental Concepts Constitutive Models Discretization

• Using the Singular Value Decomposition F = UΣVT, we conclude that rotationally invariant, isotropic materials satisfy:

Page 57: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Isotropic Invariants

Fundamental Concepts Constitutive Models Discretization

• We can define any material with F = UΣVT, but again, the overhead of SVD is high.

• Alternative: • Mimic what we did in St. Venant-Kirchhoff model. • Find some parameters we call isotropic invariant. I(F)

Page 58: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Isotropic Invariants

Fundamental Concepts Constitutive Models Discretization

Page 59: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Isotropic Invariants

Fundamental Concepts Constitutive Models Discretization

Page 60: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Isotropic Invariants

Fundamental Concepts Constitutive Models Discretization

• Define energy function Ψ as a function of I1, I2, I3: Ψ(I1, I2, I3) • We can find the stress tensor P as we did before:

Page 61: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Neohookean Elasticity

Fundamental Concepts Constitutive Models Discretization

• Define energy density Ψ as a function of I1 and I3:

Page 62: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Neohookean Elasticity

Fundamental Concepts Constitutive Models Discretization

• Then we can get the stress tensor using previous formula:

Page 63: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Neohookean Elasticity

Fundamental Concepts Constitutive Models Discretization

• Properties: • When F goes to 0, J goes to 0, a*log2(J)-b*log(J) goes to infinity • When F goes to infinity, J goes to infinity, a*log2(J)-b*log(J) goes to infinity

too. (Remember log2(J) goes faster than log(J))

FF

FP

Page 64: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Neohookean Elasticity

Fundamental Concepts Constitutive Models Discretization

• Properties: (cont’d) • λ value controls the stiffness of the body directly. (λ emphasizes the log2(J)

term which is related to the fraction of volume change) • High λ condition = incompressible

Page 65: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Neohookean Elasticity

Fundamental Concepts Constitutive Models Discretization

• http://www.youtube.com/watch?v=XYS7STz8iNI

Page 66: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Fundamental Concepts Constitutive Models Discretization

Summary of Models Model Strain Measurement First Piola-Kirchhoff

Stress Tensor Potential Problem

Naive Spring Analogy Model F-I k(F-I) Not rotationally

invariant Linear Elasticity

Model ½*(F+FT)-I 2μϵ+λtr(ϵ)I Not rotationally invariant

St. Venant-Kirchhoff Model ½*(FTF-I) F[2μE+λtr(E)I] Can not compress

extremely Corotated Linear Elasticity Model RTF-I 2μ(F-R)+λtr(RTF-I)R Slow polar

decomposition Neohookean

Elasticity I1, I3 μ(F-μF-T)+λlog(J)F-T -

Page 67: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Discretization

• Energy and Force • Linear tetrahedral elements • Explicit integration • Implicit integration

Fundamental Concepts Constitutive Models Discretization

Page 68: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Map on Vertices

• We only store the values of the deformation map φ(X ) on a finite number of points X1, X2, . . . , XN, corresponding to the vertices of a discretizated mesh.

• Define an aggregate state of a model:

Fundamental Concepts Constitutive Models Discretization

Page 69: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Discretize Energy

• Original Energy of Deformation

• Discretized Energy on Vertices

Fundamental Concepts Constitutive Models Discretization

Page 70: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Discretize Energy

• Original Energy of Deformation

• Discretized Energy on Vertices

Fundamental Concepts Constitutive Models Discretization

Page 71: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Discretize Energy

• In practice, prior to computing each force, we first separate the energy integral into the contributions of individual elements Ωe

Fundamental Concepts Constitutive Models Discretization

Page 72: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Discretize Force

• From energy to force:

Fundamental Concepts Constitutive Models Discretization

Page 73: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Discretize Force

• Subsequently, the force fi on each node can be computed by adding the contributions of all elements in its immediate neighborhood Ni:

Fundamental Concepts Constitutive Models Discretization

Page 74: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Linear Tetrahedral Elements

• In every tetrahedral Ti, we have:

• Linear Assumption: • Inside one tetrahedron A1 = A2 = A3 = A4 = F b1 = b2 = b3 = b4 = b

Fundamental Concepts Constitutive Models Discretization

Page 75: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Compute F

Fundamental Concepts Constitutive Models Discretization

Page 76: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Compute F

Fundamental Concepts Constitutive Models Discretization

Page 77: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Compute F

Fundamental Concepts Constitutive Models Discretization

Page 78: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Compute F

Fundamental Concepts Constitutive Models Discretization

Page 79: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Energy & Force in One Element

Fundamental Concepts Constitutive Models Discretization

• Since Fi is constant over the tetrahedron Ti, we can redefine the energy function as:

• For one tetrahedron Ti, the forces to the four vertices will be:

Page 80: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Batch Computation of Elastic Forces on a Tetrahedral Mesh (Precomputation)

Fundamental Concepts Constitutive Models Discretization

Page 81: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Batch Computation of Elastic Forces on a Tetrahedral Mesh (Computation)

Fundamental Concepts Constitutive Models Discretization

Page 82: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Explicit Euler integration Scheme

Fundamental Concepts Constitutive Models Discretization

• We have fn=f(xn,vn) already! • an = M-1fn

• vn+1 = vn + dt*an

• xn+1 = xn + dt*vn

• Problem? • Unstable!

Page 83: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Implicit Euler Integration Scheme

Fundamental Concepts Constitutive Models Discretization

• vn+1 = vn + dt*an+1

• xn+1 = xn + dt*vn+1 • Where an+1 = M-1f(xn+1, vn+1) = M-1(fe(xn+1)+fd(xn+1,vn+1)) • M is the mass matrix, lumped to diagonal form. • fe(x*) is the elastic forces at configuration x*, as defined in previous

sections • fd(x*, v*) is the damping force at position x* and velocity v*,

according Rayleigh damping model.

Page 84: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Implicit Euler Integration Scheme

Fundamental Concepts Constitutive Models Discretization

• Problem: • Compute K(x*) is slow.

• Constantly poke a vertex and all its neighbors • Cache Disaster + Construction Cost

• Implicit integration of vn+1 = vn + dt* M-1(fe(xn+1)+fd(xn+1,vn+1)) and xn+1 = xn + dt*vn+1 needs tricky methods

• Solution: • We can compute K(x*)w directly, instead of computing K(X*) first • Define iterative process to compute unknowns Xn+1, Vn+1

Page 85: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Force Differentials

Fundamental Concepts Constitutive Models Discretization

• Define force differential as:

• Write it in H matrix form:

Page 86: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Force Differentials

Fundamental Concepts Constitutive Models Discretization

• Plug in the formula for H:

• 2 More Steps: • construct the deformation gradient increment δF • provide a usable formula for δP(F; δF)

Page 87: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Deformation Gradient Increment δF

Fundamental Concepts Constitutive Models Discretization

Page 88: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Stress Tensor Increment δP(F; δF)

Fundamental Concepts Constitutive Models Discretization

• For St. Venant-Kirchhoff materials

• For Neohookean materials

Page 89: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Batch Computation of Elastic Forces on a Tetrahedral Mesh (Modified)

Fundamental Concepts Constitutive Models Discretization

Page 90: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Iterative Process of Implicit Integration

Fundamental Concepts Constitutive Models Discretization

• Construct sequences of approximations: • Such that:

Page 91: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Iterative Process of Implicit Integration

Fundamental Concepts Constitutive Models Discretization

• Correction variables are defined as

Page 92: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Iterative Process of Implicit Integration

Fundamental Concepts Constitutive Models Discretization

• The linearization around (x(k+1)n+1 , v(k+1)

n+1) yields:

Line

ariza

tion

Not pure linearization

Page 93: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Iterative Process of Implicit Integration

Fundamental Concepts Constitutive Models Discretization

• Further Manipulation:

Page 94: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Iterative Process of Implicit Integration

Fundamental Concepts Constitutive Models Discretization

• Update v(k+1)n+1 and x(k+1)

n+1:

Page 95: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization

Summary

• Deformation Measurements • Deformation Map, Deformation Gradient

• Strain->Energy->Stress • 5 different models

• Discretization • Linear tetrahedron, explicit/implicit integration

Page 96: The Classical FEM Method and Discretization Methodologyliutiant/slides/rg_tiantian_fall2012.pdf · The Classical FEM Method and Discretization ... The classical FEM method and discretization