1cs533d-term1-2005 Notes  Required reading: Baraff & Witkin, “Large steps in cloth animation”, SIGGRAPH’98 Grinspun et al., “Discrete shells”, SCA’03.

Slides:



Advertisements
Similar presentations
Gauss’ Law AP Physics C.
Advertisements

AERSP 301 Finite Element Method
Chapter 14 Section 14.5 Curvilinear Motion, Curvature.
Electrical Energy and Electric Potential AP Physics C.
Surface Flattening in Garment Design Zhao Hongyan Sep. 13, 2006.
1cs533d-term Notes  No lecture Thursday (apologies)
Quantum One: Lecture 3. Implications of Schrödinger's Wave Mechanics for Conservative Systems.
Some Ideas Behind Finite Element Analysis
By S Ziaei-Rad Mechanical Engineering Department, IUT.
Limitation of Pulse Basis/Delta Testing Discretization: TE-Wave EFIE difficulties lie in the behavior of fields produced by the pulse expansion functions.
Meshless Elasticity Model and Contact Mechanics-based Verification Technique Rifat Aras 1 Yuzhong Shen 1 Michel Audette 1 Stephane Bordas 2 1 Department.
Section 4: Implementation of Finite Element Analysis – Other Elements
Image Segmentation and Active Contour
1D linear elasticity Taking the limit as the number of springs and masses goes to infinity (and the forces and masses go to zero): If density and Young’s.
1cs533d-winter-2005 Notes  Please read O'Brien and Hodgins, "Graphical modeling and animation of brittle fracture", SIGGRAPH '99 O'Brien, Bargteil and.
Notes Assignment questions… cs533d-winter-2005.
1cs533d-term Notes  Assignment 2 is up. 2cs533d-term Modern FEM  Galerkin framework (the most common)  Find vector space of functions that.
1cs533d-term Notes  Braino in this lecture’s notes about last lectures bending energy…
1Notes. 2Heightfields  Especially good for terrain - just need a 2d array of heights (maybe stored as an image)  Displacement map from a plane  Split.
1cs533d-winter-2005 Notes  Read “Physically Based Modelling” SIGGRAPH course notes by Witkin and Baraff (at least, rigid body sections) An alternative.
1Notes. 2 Triangle intersection  Many, many ways to do this  Most robust (and one of the fastest) is to do it based on determinants  For vectors a,b,c.
1cs533d-winter-2005 Notes  More optional reading on web for collision detection.
Physics 430: Lecture 10 Energy of Interaction Dale E. Gary NJIT Physics Department.
Presented by Andrey Kuzmin Mathematical aspects of mechanical systems eigentones Department of Applied Mathematics.
Interactive Animation of Structured Deformable Objects Mathieu Desbrun Peter Schroder Alan Barr.
Finite Element Method Introduction General Principle
MANE 4240 & CIVL 4240 Introduction to Finite Elements
1cs533d-winter-2005 Notes  More reading on web site Baraff & Witkin’s classic cloth paper Grinspun et al. on bending Optional: Teran et al. on FVM in.
1cs533d-term Notes  list Even if you’re just auditing!
1cs533d-winter-2005 Notes  Some example values for common materials: (VERY approximate) Aluminum: E=70 GPa =0.34 Concrete:E=23 GPa =0.2 Diamond:E=950.
CHE/ME 109 Heat Transfer in Electronics LECTURE 11 – ONE DIMENSIONAL NUMERICAL MODELS.
Modeling Fluid Phenomena -Vinay Bondhugula (25 th & 27 th April 2006)
1cs533d-term Notes. 2 Poisson Ratio  Real materials are essentially incompressible (for large deformation - neglecting foams and other weird composites…)
2. Solving Schrödinger’s Equation Superposition Given a few solutions of Schrödinger’s equation, we can make more of them Let  1 and  2 be two solutions.
1 Lecture 4 Electric Potential and/ Potential Energy Ch. 25 Review from Lecture 3 Cartoon - There is an electric energy associated with the position of.
Physics 430: Lecture 22 Rotational Motion of Rigid Bodies
Outline  Uses of Gravity and Magnetic exploration  Concept of Potential Field  Conservative  Curl-free (irrotational)  Key equations and theorems.
Gauss’ Law. Class Objectives Introduce the idea of the Gauss’ law as another method to calculate the electric field. Understand that the previous method.
FEARLESS engineering Introduction of Thin Shell Simulation Ziying Tang.
Chapter 22: Electric Fields
Section 5: The Ideal Gas Law The atmospheres of planets (and the Sun too) can be modelled as an Ideal Gas – i.e. consisting of point-like particles (atoms.
Chapter 24. Electric Potential
Section 2: Finite Element Analysis Theory
Deformable Models Segmentation methods until now (no knowledge of shape: Thresholding Edge based Region based Deformable models Knowledge of the shape.
CS559: Computer Graphics Lecture 38: Animation Li Zhang Spring 2008 Slides from Brian Curless at U of Washington.
WORK AND ENERGY PRINCIPLE. Work and Kinetic Energy In the previous article we applied Newton’s second law to various problems of particle motion to establish.
A PPLIED M ECHANICS Lecture 02 Slovak University of Technology Faculty of Material Science and Technology in Trnava.
Boundaries, shocks, and discontinuities. How discontinuities form Often due to “wave steepening” Example in ordinary fluid: –V s 2 = dP/d  m –P/  
Electrical Energy and Potential IB Physics. Electric Fields and WORK In order to bring two like charges near each other work must be done. In order to.
CHAPTER OBJECTIVES Use various methods to determine the deflection and slope at specific pts on beams and shafts: Integration method Discontinuity functions.
1 ELEC 3105 Basic EM and Power Engineering Start Solutions to Poisson’s and/or Laplace’s.
Large Steps in Cloth Simulation - SIGGRAPH 98 박 강 수박 강 수.
Electric Potential Chapter 25. ELECTRIC POTENTIAL DIFFERENCE The fundamental definition of the electric potential V is given in terms of the electric.
+ Numerical Integration Techniques A Brief Introduction By Kai Zhao January, 2011.
Advanced Computer Graphics Rigid Body Simulation Spring 2002 Professor Brogan.
Illustration of FE algorithm on the example of 1D problem Problem: Stress and displacement analysis of a one-dimensional bar, loaded only by its own weight,
APPLICATIONS A roller coaster makes use of gravitational forces to assist the cars in reaching high speeds in the “valleys” of the track. How can we design.
HEAT TRANSFER FINITE ELEMENT FORMULATION
ECE 576 – Power System Dynamics and Stability Prof. Tom Overbye Dept. of Electrical and Computer Engineering University of Illinois at Urbana-Champaign.
Game Technology Animation V Generate motion of objects using numerical simulation methods Physically Based Animation.
1 Spring 2003 Prof. Tim Warburton MA557/MA578/CS557 Lecture 25.
An equation for matter waves Seem to need an equation that involves the first derivative in time, but the second derivative in space As before try solution.
Medan Listrik Statis I (Hk.Couloumb, Hk. Gauss, Potensial Listrik) Sukiswo
Defect-Defect Interaction in Carbon Nanotubes under Mechanical Loading Topological defects can be formed in carbon nanotubes (CNTs) during processing or.
1 CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS FINITE ELEMENT ANALYSIS AND DESIGN Nam-Ho Kim.
ELEC 3105 Basic EM and Power Engineering
Electric Potential.
REVIEW PROBLEMS FOR TEST 1 PART 3
Continuous Systems and Fields
ELECTROSTATICS - POTENTIALS
Presentation transcript:

1cs533d-term Notes  Required reading: Baraff & Witkin, “Large steps in cloth animation”, SIGGRAPH’98 Grinspun et al., “Discrete shells”, SCA’03 Bridson et al., “Simulation of clothing with folds and wrinkles”, SCA’03

2cs533d-term D Elastic Continuum  From last class: elastic rod linear density “rho” (not necessarily constant) Young’s modulus E (not necessarily constant) Paratemerized by p  If homogenous, simplifies to:

3cs533d-term Sound waves  Try solution x(p,t)=x 0 (p-ct)  And x(p,t)=x 0 (p+ct)  So speed of “sound” in rod is  Courant-Friedrichs-Levy (CFL) condition: Numerical methods only will work if information transmitted numerically at least as fast as in reality (here: the speed of sound) Usually the same as stability limit for good explicit methods [what are the eigenvalues here] Implicit methods transmit information infinitely fast

4cs533d-term Why?  Are sound waves important? Visually? Usually not  However, since speed of sound is a material property, it can help us get to higher dimensions  Speed of sound in terms of one spring (using linear density m/L) is  So in higher dimensions, just pick k so that c is constant m is mass around spring [triangles, tets] Optional reading: van Gelder

5cs533d-term Potential energy  Another way to look at the elastic spring forces: through potential energy  Recall for a system at position(s) x, potential energy W(x) gives the force  For example, this gives conservation of total energy K+E:

6cs533d-term Spring potential  For a single spring, Note we’re squaring the percent deformation (so this always increases as we move away from undeformed), and scaling by the strength of spring and by the length (amount of material it represents)  To get the force on i, differentiate w.r.t. x i :

7cs533d-term D Continuum potential  Add up the potential energies for each spring to approximate the total potential energy for the elastic rod:  Take the limit as ∆p goes to zero:  Now: how do we get forces out of this? The negative gradient of W w.r.t. x(p)?

8cs533d-term Directional derivatives (regular calculus)  Pick a direction, or test vector, q  Direction derivative along q is:  Or alternatively  And the gradient ∂W/∂x is the vector s.t.

9cs533d-term The variational derivative  We want to take the “gradient” of a continuum potential energy to get the force density:  But how do you differentiate w.r.t. a function x(p)?  Let’s first look at a directional derivative: look at the energy at x+  q q is a direction, or test function

10cs533d-term The variational derivative 2  Now differentiate w.r.t. the scalar:  And evaluate at 0 to get the directional derivative

11cs533d-term The variational derivative 3  We want to make it look like an inner-product of the “gradient” with q() Use integration by parts:  Ignoring boundary conditions for now, we see that the variational derivative of W at some interior point p is just:

12cs533d-term Force density  The elastic force density is the negative of the variational derivative at a point:  The acceleration of that point is force density divided by mass density:  Which is exactly what we got before!

13cs533d-term Discretized potential  Now we have an alternative way to discretize the equation: Approximate the potential energy integral with a discrete sum Take the gradient to get forces  This approach generalizes to all sorts of forces  Let’s do it for multi-dimensional springs

14cs533d-term Multi-dimensional spring potential  Change the L scale in the 1D spring potential to be the area/volume around the spring When we add up, we get an approximation of an integral over the elastic object  Then get the spring force on i due to j:

15cs533d-term Bending  For simulating cloth and thin shells, also need forces to resist bending  Nontrivial to directly figure out such a force on a triangle mesh  Even harder to make sure it’s roughly mesh-independent  So let’s attack the problem with a potential energy formulation

16cs533d-term Bending energy  Integrate mean curvature squared over the surface:  Let’s bypass the continuum formulation, and jump to a discrete approximation of this integral  Split mesh up into regions around “hinges” (common edges between triangles) At each interior edge e, have bending stiffness B e, curvature estimate  e and area of region A e

17cs533d-term Edge curvature estimate  Look at how the hinge is bent Dihedral angle between the incident triangles  Think of fitting a cylinder of radius R parallel to edge, mean curvature is 1/(2R) [side-view of triangle pair: angle between normals is theta, triangle altitudes are h 1 and h 2 ]  For small bend angles (limit as mesh is refined!)

18cs533d-term Discrete bending energy  As a rough approximation then, using A e =|e|(h 1 +h 2 )/6:  Treat all terms except theta as constant (measured from initial mesh), differentiate that w.r.t. positions x

19cs533d-term Bending forces  See e.g. Bridson et al. “Simualtion of clothing…” for reasonable expressions for forces Additional simplification: replace theta with a similarly-behaved trig function that can be directly computed Warning: derivation is quite different!