snow as a continuumplasticity: von-mises ⌧ 1 ⌧ 2 p q • yield region: cylinder • uncapped /...

41
Snow as a continuum Chenfanfu Jiang 0 t x = Φ(X,t) X = Φ -1 (x,t) Johan Gaume

Upload: others

Post on 25-Jul-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

Snow as a continuum

Chenfanfu Jiang

⌦0 ⌦t

x = �(X, t)

X = ��1(x, t)

Johan Gaume

Page 2: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

2

Talk overview - coming from a graphics perspective

The start of snow: a purely computer graphics effort

Second law of thermodynamics teaches a lesson

Constitutive modeling: learn and improve

Continuum damage: from snow to glacier

Page 3: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

3

Talk overview - coming from a graphics perspective

The start of snow: a purely computer graphics effort

Second law of thermodynamics teaches a lesson

Constitutive modeling: learn and improve

Continuum damage: from snow to glacier

Page 4: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

4

The motivation

``Making a new movie… with a lot of snow in it.. need to look real’’

Page 5: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

5

The question

The first question: how do we represent snow (discretely)?

Page 6: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

6

Height field: snow is a surfaceRobert W. Sumner, James F. O'Brien, and Jessica K. Hodgins. "Animating Sand, Mud, and Snow". In Proceedings of Graphics Interface 98, pages 125–132, June 1998.

Page 7: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

7

Rigid bodies

Height field + Rigid bodies + Passive particles

Page 8: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

8

Finite elements and discrete elements: snow is a solid

• Challenges • Contact • Friction • Scalability

DEM snow: seems to be popular in computational mechanics

Polyhedral FEM

Page 9: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

9

Eulerian view: snow is a fluid flow

Challenges: small scale dynamics and fracture propagation, and rendering

Page 10: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

10

Fluid-like stuff without meshing: particles“Molecular” add-on for blender: springs that can break when too stretched

Page 11: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

11

Particles with real strain-stress relationship

"A material point method for snow simulation." Stomakhin, Alexey, Craig Schroeder, Lawrence Chai, Joseph Teran, and Andrew Selle. SIGGRAPH 2013

Page 12: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

12

MPM is hybrid Lagrangian/Eulerian

• Grid handles: the Galerkin DOFs, discretization, function space, …. • The transfer/embedding handles: coupling, quadrature rule, non-

penetration, topology change, … • Each individual particle handles: constitutive modeling - the physics

Page 13: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

13

Developments

A Temporally Adaptive Material Point Method with Regional Time Stepping Yu Fang, Yuanming Hu, Shi-Min Hu, Chenfanfu Jiang, ACM SIGGRAPH / Eurographics Symposium on Computer Animation (SCA 2018)

Page 14: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

14

More developments• More accurate advection

• The Affine Particle-In-Cell Method, Chenfanfu Jiang, Craig Schroeder, Andrew Selle, Joseph Teran, Alexey Stomakhin, ACM Transactions on Graphics (SIGGRAPH 2015)

• An Angular Momentum Conserving Affine-Particle-In-Cell Method, Chenfanfu Jiang, Craig Schroeder, Joseph Teran, Journal of Computational Physics, 338(1), pp. 137-164, 2017 (JCP 2017)

• High performance integrator • Optimization Integrator for Large Time Steps ,Theodore Gast, Craig Schroeder, Alexey

Stomakhin, Chenfanfu Jiang, Joseph Teran IEEE Transactions on Visualization and Computer Graphics (TVCG 2015)

• Spatial adaptivity • An Adaptive Generalized Interpolation Material Point Method for Simulating Elastoplastic

Materials, Ming Gao, Andre Pradhana, Chenfanfu Jiang, Eftychios Sifakis, ACM Trans. Graph. 36, 6, Article 223, (SIGGRAPH Asia 2017)

• Coupling with rigid bodies • A Moving Least Squares Material Point Method with Displacement Discontinuity and Two-

Way Rigid Body Coupling ,Yuanming Hu, Yu Fang, Ziheng Ge, Ziyin Qu, Yixin Zhu, Andre Pradhana, Chenfanfu Jiang, (SIGGRAPH 2018)

• …

Page 15: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

15

• Mathematical models, numerical formulations, and performance…

MPM resources

SIGGRAPH 19 Course http://mpm.graphics

SIGGRAPH 16 Course http://mpm.graphics

The material point method for simulating continuum materials

Chenfanfu Jiang, Craig Schroeder, Joseph Teran, Alexey Stomakhin, and Andrew Selle

Page 16: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

16

Finite strain hyperelasticity

Deformation gradient

F(X, t) =@�

@X

LARGE deformation

⌦0 ⌦t

x = �(X, t)

X = ��1(x, t)

Page 17: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

• The existence of an energy density function is convenient! • The advantages of hyperelasticity: good models, and good solvers

17

Graphics has favored hyperelasticity (F) =

µ

2

�tr(FFT )� 3

�� µ log(J) +

2log2(J)

P =@

@F= µ(F� FT ) + � log(J)F�T � =

1

JPFT

[Stomakhin et al. 12] Energetically Consistent Invertible Elasticity [Xu et al. 15] Nonlinear Material Design Using Principal Stretches [Smith et al. 18] Stable Neo-hookean Flesh Simulation …… [Bouaziz et al. 14] Projective Dynamics: Fusing Constraint Projections for Fast Simulation [Overby et al. 17] ADMM ⊇ Projective Dynamics: Fast Simulation of Hyperelastic Models with Dynamic Constraints [Liu et al. 17] Quasi-Newton Methods for Real-time Simulation of Hyperelastic Materials

⇢Dv

Dt= r · ��� + ⇢g.

Conservation of momentum

Page 18: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

18

Collision is automatic in MPM

18

[Gao18] GPU Optimization of Material Point Methods, Ming Gao*, Xinlei Wang*, Kui Wu* (*joint), Andre Pradhana, Eftychios Sifakis, Cem Yuksel, Chenfanfu Jiang, SIGGRAPH Asia 2018

Page 19: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

19

Need for permanent deformation

FE = U⌃VT �i 2 [1� 0.01, 1 + 0.01]

Page 20: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

20

Need for permanent deformation

FE = U⌃VT �i 2 [1� 0.01, 1 + 0.01]

elasticity elastoplastic

Page 21: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

21

Hardening and softening

E = E0e�⇠Jp

elastoplastic withhardening

Page 22: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

22

Comparision

Page 23: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

23

The weirdness

Popping particles, and strange instabilities

video from shutterstock

Page 24: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

24

Energy rate and second law of thermodynamics

The hardening variable depends on the history of snow.

By looking at the rate of plastic deformation, we can prove that if Jp>1 and rate of Jp is negative, then total energy may increase.

Page 25: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

25

Elastoplasticity and flow rule

Principle of Maximum Dissipation

Plastic volume conservation

Associative flow rule

Non-associative flow rule

Page 26: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

26

Plasticity: von-Mises

⌧1

⌧2

p

q

• Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress)

• Commonly describing metal bending

[Fang19] Silly Rubber: An Implicit Material Point Method for Simulating Non-equilibrated Viscoelastic and Elastoplastic Solids ,Yu Fang, Minchen Li, Ming Gao, Chenfanfu Jiang, SIGGRAPH 2019

Page 27: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

27

Plasticity: Drucker-Prager

⌧1

⌧2

p

q

• Yield region: cone • Uncapped / capped • Hardening: internal friction angle

• Commonly describing granular media (dry, wet): sand, soil …

[Hu18]

Page 28: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

28

Soil: Modified Cam-Clay (MCC)

Page 29: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

29

Parametrization

MCC

Ours

Beta: cohesion M: friction p0: pre-consolidation

Page 30: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

30

Cohesion and friction

Page 31: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

31

Hardening and packing

video from shutterstock

Page 32: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

32

Hardening and packing

Page 33: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

33

Character

Page 34: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

Snowball—big!

34

17 million particles, 100s/frame on Gtx1080

Page 35: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

35

Plasticity: Modified Cam-Clay (MCC)

Johan

Page 36: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

36

Plasticity: Modified Cam-Clay (MCC)

Page 37: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

37

Animation and VFX industry

[Gaume18]

http://www.jixiefx.com/

Page 38: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

38

• Sharp interface • Solid-fluid coupling • Porous media

Glacier calving and more general fracture video from shutterstock

Page 39: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

39

Continuum damage mechanics

[Wolper19] CD-MPM: Continuum Damage Material Point Methods for Dynamic Fracture Animation, Joshuah Wolper, Yu Fang, Minchen Li, Jiecong Lu, Ming Gao, Chenfanfu Jiang, SIGGRAPH 2019

Page 40: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

40

Acknowledgements

• Students and postdocs • Joshuah Wolper, Yu Fang, Minchen Li, Ziyin Qu, Xinlei Wang, Yuxing

Qiu, Jiecong Lu, Yue Li, Ming Gao, Andre Pradhana, …

• Collaborators • Xinxin Zhang, Danny Kaufman, Timothy Langlois, Eftychios Sifakis,

Cem Yuksel, Baoquan Chen, Shi-Min Hu, Min Tang, Song-Chun Zhu, Alexey Stomakhin, Ken Museth, Yixin Zhu, Kun Wu, Grant Kot, Johan Gaume, Stuart Slattery, Doug Kothe, …

• Funding and support • NSF, DOE, Adobe, NVidia, SideFX

Page 41: Snow as a continuumPlasticity: von-Mises ⌧ 1 ⌧ 2 p q • Yield region: cylinder • Uncapped / capped • Hardening: radius (yield stress) • Commonly describing metal bending

Thank you!