Numerical Coarsening using Discontinuous Shape Functions Jiong Chen - - PowerPoint PPT Presentation

numerical coarsening using discontinuous shape functions
SMART_READER_LITE
LIVE PREVIEW

Numerical Coarsening using Discontinuous Shape Functions Jiong Chen - - PowerPoint PPT Presentation

Numerical Coarsening using Discontinuous Shape Functions Jiong Chen 1 , Hujun Bao 1 , Tianyu Wang 1 , Mathieu Desbrun 2 , Jin Huang 1 1 State Key Lab of CAD&CG, Zhejiang University 2 Caltech Challenge nonlinear Inhomogeneous Challenge


slide-1
SLIDE 1

Numerical Coarsening using Discontinuous Shape Functions

Jiong Chen1, Hujun Bao1, Tianyu Wang1, Mathieu Desbrun2, Jin Huang1

1 State Key Lab of CAD&CG, Zhejiang University 2 Caltech

slide-2
SLIDE 2

Challenge

slide-3
SLIDE 3

Challenge

Inhomogeneous nonlinear

slide-4
SLIDE 4

Challenge

Require fine mesh Inhomogeneous nonlinear

slide-5
SLIDE 5

Challenge

Coarse mesh Require fine mesh Inhomogeneous nonlinear

slide-6
SLIDE 6

Challenge

Coarse mesh Require fine mesh Inhomogeneous nonlinear linear bases

slide-7
SLIDE 7

Challenge

Coarse mesh Require fine mesh Inhomogeneous nonlinear linear bases

slide-8
SLIDE 8

Previous works

[Torres 2016] [Nesme 2009] [Kharevych 2009]

slide-9
SLIDE 9

Previous works

[Torres 2016] [Nesme 2009] [Kharevych 2009]

Not applicable for nonlinear elasticity

slide-10
SLIDE 10

Previous work

[Chen 2015] Data-driven approach to regress the coarse elastic model

slide-11
SLIDE 11

Previous work

[Chen 2015]

Rely on data set and parameter tunning

Data-driven approach to regress the coarse elastic model

slide-12
SLIDE 12

Our solution

E[u] = Z

Ψ(ru)dX

slide-13
SLIDE 13

Our solution

E[u] = Z

Ψ(ru)dX

ru = X

i

rNi(X)ui

slide-14
SLIDE 14

Our solution

E[u] = Z

Ψ(ru)dX

ru = X

i

rNi(X)ui

Kij(u) = Z rN T

i : ∂2Ψ

∂ru2 : rNj

slide-15
SLIDE 15

Our solution

E[u] = Z

Ψ(ru)dX

ru = X

i

rNi(X)ui

slide-16
SLIDE 16

Our solution

Homogenize the constitutive model

E[u] = Z

Ψ(ru)dX

ru = X

i

rNi(X)ui

slide-17
SLIDE 17

Our solution

Homogenize the constitutive model Approximate the solution space better

E[u] = Z

Ψ(ru)dX

ru = X

i

rNi(X)ui

slide-18
SLIDE 18

Our solution

  • Matrix-valued shape functions

N(X) ∼

=

scalar basis

slide-19
SLIDE 19

Our solution

  • Matrix-valued shape functions

N(X) ∼

=

generalize N H

i

: Ω → Rd×d

slide-20
SLIDE 20

Our solution

  • Matrix-valued shape functions
  • Geometric & physical conditions

N(X) ∼

=

generalize N H

i

: Ω → Rd×d

slide-21
SLIDE 21

Our solution

  • Matrix-valued shape functions
  • Geometric & physical conditions

Inter-element continuity Inner-element stiffness

N(X) ∼

=

generalize N H

i

: Ω → Rd×d

slide-22
SLIDE 22

Matrix-valued shape function

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-23
SLIDE 23

Matrix-valued shape function

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

  • Corotational formulation

u(X) = R " X + X

i

N H

i (X)(RT xH i − XH i )

# − X

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-24
SLIDE 24

Matrix-valued shape function

O X

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

  • Corotational formulation

u(X) = R " X + X

i

N H

i (X)(RT xH i − XH i )

# − X

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-25
SLIDE 25

Matrix-valued shape function

O X

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

  • Corotational formulation

u(X) = R " X + X

i

N H

i (X)(RT xH i − XH i )

# − X

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-26
SLIDE 26

Matrix-valued shape function

O X

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

  • Corotational formulation

u(X) = R " X + X

i

N H

i (X)(RT xH i − XH i )

# − X

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-27
SLIDE 27

Matrix-valued shape function

O X

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

  • Corotational formulation

u(X) = R " X + X

i

N H

i (X)(RT xH i − XH i )

# − X

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-28
SLIDE 28

Matrix-valued shape function

O X

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

  • Corotational formulation

u(X) = R " X + X

i

N H

i (X)(RT xH i − XH i )

# − X

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-29
SLIDE 29

Matrix-valued shape function

O X

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

  • Corotational formulation

u(X) = R " X + X

i

N H

i (X)(RT xH i − XH i )

# − X

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-30
SLIDE 30

Matrix-valued shape function

O X

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

  • Corotational formulation

u(X) = R " X + X

i

N H

i (X)(RT xH i − XH i )

# − X

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-31
SLIDE 31

Matrix-valued shape function

u(X) O X

  • Element-wise interpolation

∀X ∈ ΩH, u(X) = X

Xi∈ΩH

N H

i (X)uX i

  • Corotational formulation

u(X) = R " X + X

i

N H

i (X)(RT xH i − XH i )

# − X

uH

3

uH

4

uH

1

uH

2

XH

2

XH

1

XH

3

XH

4

X u(X)

ΩH

slide-32
SLIDE 32

Conditions

Geometric conditions

slide-33
SLIDE 33

Conditions

Geometric conditions

  • Translational invariance

X

i

N H

i (X) = I

slide-34
SLIDE 34

Conditions

Geometric conditions

  • Translational invariance

X

i

N H

i (X) = I

  • Rotational invariance

X

i

N H

i (X)[XH i ]× = [X]×

slide-35
SLIDE 35

Conditions

Geometric conditions

  • Translational invariance

X

i

N H

i (X) = I

  • Rotational invariance

X

i

N H

i (X)[XH i ]× = [X]×

  • Node interpolation

N H

i (XH j ) = δijI

1

slide-36
SLIDE 36

Conditions

Physical condition

slide-37
SLIDE 37

Conditions

Physical condition

  • Reconstruct global “representative” deformation

hab(X) = X

i

N H

i (X)hab(XH i )

slide-38
SLIDE 38

Conditions

Physical condition

  • Reconstruct global “representative” deformation
  • Global harmonic displacement at rest shape

[Kharevych 2009]

hab(X) = X

i

N H

i (X)hab(XH i )

slide-39
SLIDE 39

Conditions

Physical condition

  • Reconstruct global “representative” deformation
  • Global harmonic displacement at rest shape

[Kharevych 2009]

hab(X) = X

i

N H

i (X)hab(XH i )

  • Contribute 6 more constraints in 3D

for each element

slide-40
SLIDE 40

Numerical conditioning

Z

tr

  • (rN H

i )T : M : rN H i

  • dX

Smooth regularization

slide-41
SLIDE 41

Numerical conditioning

Z

tr

  • (rN H

i )T : M : rN H i

  • dX

rank-4 tensor

Smooth regularization

slide-42
SLIDE 42

Numerical conditioning

Z

tr

  • (rN H

i )T : M : rN H i

  • dX
  • Two Options of metric

M = I

  • Harmonic:

M = ∂2Ψ/∂F 2

Ψ

  • harmonic:

( -constitutive model, -deformation gradient)

Ψ

F

rank-4 tensor

Smooth regularization

slide-43
SLIDE 43

Summary

  • Finding basis ->
slide-44
SLIDE 44

Summary

  • Finding basis ->

Solve a constrained quadratic programming per element

Z

tr

  • (rN H

i )T : M : rN H i

  • dX

s.t. X

i

N H

i (X) = I

X

i

N H

i (X)[XH i ]× = [X]×

X

i

N H

i (X)hab(XH i ) = hab(X)

N H

i (XH j ) = δijI

slide-45
SLIDE 45

Basis discretization

  • Our basis functions are discretely represented

piecewise bilinear function

N H

i (X) =

X

j

nijN h

j (X)

slide-46
SLIDE 46

Balance

  • Our optimized basis function does not guarantee -continuity

C0

Np,i(Xh

j ) 6= Nq,i(Xh j )

up(Xh

j ) 6= uq(Xh j )

i

j

Ωp Ωq

slide-47
SLIDE 47

Balance

  • Our optimized basis function does not guarantee -continuity

C0

Np,i(Xh

j ) 6= Nq,i(Xh j )

up(Xh

j ) 6= uq(Xh j )

i

j

Ωp Ωq

  • Coarse element generally appears to be “stiffer”.
  • Discontinuous basis functions make system “softer”.

Proper balance is crucial!

slide-48
SLIDE 48

Make balance

slide-49
SLIDE 49

Make balance

slide-50
SLIDE 50

Simulation

  • Calculation of deformation gradient

1 +1 1 1

ξ

rXx = rXu + I = (Re I) + X

i

Re ⌦ (RT

e xi Xi) : ∂N H i

∂X + I = Re + X

i

Re ⌦ (RT

e xi Xi) : ∂N H i

∂ξ ! 0 @X

j

∂N

H j

∂ξ 1 A

−1

slide-51
SLIDE 51

Simulation

  • Calculation of deformation gradient

1 +1 1 1

ξ

  • Quadrature: standard Gaussian quadrature

ΩH

rXx = rXu + I = (Re I) + X

i

Re ⌦ (RT

e xi Xi) : ∂N H i

∂X + I = Re + X

i

Re ⌦ (RT

e xi Xi) : ∂N H i

∂ξ ! 0 @X

j

∂N

H j

∂ξ 1 A

−1

slide-52
SLIDE 52

Results

slide-53
SLIDE 53

Comparison with trilinear basis

Traditional trilinear basis function turns out to be overstiffening

slide-54
SLIDE 54

Relation to [Kharevych 2009]

Fine Our method [Kharevych 2009]

slide-55
SLIDE 55

Relation to [Kharevych 2009]

Fine Our method [Kharevych 2009]

slide-56
SLIDE 56

Relation to [Kharevych 2009]

Fine Our method [Kharevych 2009] Our method can better capture the detailed deformation

slide-57
SLIDE 57

Relation to [Kharevych 2009]

Fine Our method [Kharevych 2009] Our method can better capture the detailed deformation

slide-58
SLIDE 58

Relation to [Nesme 2009]

slide-59
SLIDE 59

Relation to [Nesme 2009]

slide-60
SLIDE 60

Relation to [Nesme 2009]

Translation invariance Diagonal basis Rotation invariance Psi-harmonic Node interpolation Far boundary vanishing

slide-61
SLIDE 61

Relation to [Nesme 2009]

Translation invariance Diagonal basis Rotation invariance Psi-harmonic Node interpolation Far boundary vanishing

[Nesme 2009]

slide-62
SLIDE 62

Relation to [Nesme 2009]

Translation invariance Diagonal basis Rotation invariance Psi-harmonic Node interpolation Far boundary vanishing

Such conditions prohibit a proper balance

[Nesme 2009]

slide-63
SLIDE 63

Relation to DDFEM

Results of DDFEM will be likely impacted by …

slide-64
SLIDE 64

Relation to DDFEM

Results of DDFEM will be likely impacted by … Training set

representative of element sample

slide-65
SLIDE 65

Relation to DDFEM

Results of DDFEM will be likely impacted by … Parameters for regression Training set

representative of element sample

slide-66
SLIDE 66

Relation to DDFEM

Results of DDFEM will be likely impacted by … Parameters for regression Training set

representative of element sample

Our method is free of such issue

slide-67
SLIDE 67

Dynamics

slide-68
SLIDE 68

Dynamics

slide-69
SLIDE 69

Dynamics

slide-70
SLIDE 70

Dynamics

slide-71
SLIDE 71

Acceleration

Fine mesh: # vert: 31337 # elem: 26176 Coarse mesh: # vert: 4627 # elem: 3272

slide-72
SLIDE 72

Future work

slide-73
SLIDE 73

Future work

  • Varying shape functions for very large deformation.
slide-74
SLIDE 74

Future work

  • Varying shape functions for very large deformation.
  • Coarsening of dynamical system with inhomogeneous mass distribution.
slide-75
SLIDE 75

Future work

  • Varying shape functions for very large deformation.
  • Coarsening of dynamical system with inhomogeneous mass distribution.
  • Applied to other problems like acoustics.
slide-76
SLIDE 76

Future work

  • Varying shape functions for very large deformation.
  • Coarsening of dynamical system with inhomogeneous mass distribution.
  • Applied to other problems like acoustics.
  • Problem-aware basis construction.
slide-77
SLIDE 77

Thanks! Q&A