1cs533d-term1-2005 Notes  Assignment 2 is up. 2cs533d-term1-2005 Modern FEM  Galerkin framework (the most common)  Find vector space of functions that.

Slides:



Advertisements
Similar presentations
Isoparametric Elements Element Stiffness Matrices
Advertisements

Navier-Stokes.
Continuity Equation. Continuity Equation Continuity Equation Net outflow in x direction.
1cs533d-term Notes  No lecture Thursday (apologies)
The University of North Carolina – Chapel Hill COMP Finite Elements A Theory-lite Intro Jeremy Wendt April 2005.
MANE 4240 & CIVL 4240 Introduction to Finite Elements Practical considerations in FEM modeling Prof. Suvranu De.
Some Ideas Behind Finite Element Analysis
By S Ziaei-Rad Mechanical Engineering Department, IUT.
EARS1160 – Numerical Methods notes by G. Houseman
Section 4: Implementation of Finite Element Analysis – Other Elements
ECIV 720 A Advanced Structural Mechanics and Analysis
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.
Notes Assignment questions… cs533d-winter-2005.
1cs533d-term Notes  Braino in this lecture’s notes about last lectures bending energy…
1cs542g-term Notes  Preemptive make-up lecture this week  Assignment 2 due by tomorrow morning  Assignment 3 coming soon.
1cs542g-term Notes. 2 Solving Nonlinear Systems  Most thoroughly explored in the context of optimization  For systems arising in implicit time.
1cs533d-winter-2005 Notes  Read “Physically Based Modelling” SIGGRAPH course notes by Witkin and Baraff (at least, rigid body sections) An alternative.
1cs542g-term High Dimensional Data  So far we’ve considered scalar data values f i (or interpolated/approximated each component of vector values.
1cs542g-term Notes  Make-up lecture tomorrow 1-2, room 204.
1Notes. 2 Building implicit surfaces  Simplest examples: a plane, a sphere  Can do unions and intersections with min and max  This works great for.
1cs542g-term Notes  Added required reading to web (numerical disasters)
ECIV 720 A Advanced Structural Mechanics and Analysis
1cs533d-term Notes  Required reading: Baraff & Witkin, “Large steps in cloth animation”, SIGGRAPH’98 Grinspun et al., “Discrete shells”, SCA’03.
1cs533d-term Notes  I am back, but still catching up  Assignment 2 is due today (or next time I’m in the dept following today)  Final project.
Isoparametric Elements Element Stiffness Matrices
Materials Science & Engineering University of Michigan
1cs533d-winter-2005 Notes  More optional reading on web for collision detection.
12/21/2001Numerical methods in continuum mechanics1 Continuum Mechanics On the scale of the object to be studied the density and other fluid properties.
Finite Element Method Introduction General Principle
FEA Simulations Usually based on energy minimum or virtual work Component of interest is divided into small parts – 1D elements for beam or truss structures.
MANE 4240 & CIVL 4240 Introduction to Finite Elements Numerical Integration in 1D Prof. Suvranu De.
Finite Element Method in Geotechnical Engineering
Weak Formulation ( variational formulation)
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.
1cs533d-term Notes. 2 Poisson Ratio  Real materials are essentially incompressible (for large deformation - neglecting foams and other weird composites…)
ECIV 720 A Advanced Structural Mechanics and Analysis Lecture 12: Isoparametric CST Area Coordinates Shape Functions Strain-Displacement Matrix Rayleigh-Ritz.
Lecture 9 Interpolation and Splines. Lingo Interpolation – filling in gaps in data Find a function f(x) that 1) goes through all your data points 2) does.
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.
CS Subdivision I: The Univariate Setting Peter Schröder.
Computer graphics & visualization Rigid Body Simulation.
MANE 4240 & CIVL 4240 Introduction to Finite Elements
CIS V/EE894R/ME894V A Case Study in Computational Science & Engineering HW 5 Repeat the HW associated with the FD LBI except that you will now use.
Section 2: Finite Element Analysis Theory
ME451 Kinematics and Dynamics of Machine Systems
ME451 Kinematics and Dynamics of Machine Systems Numerical Solution of DAE IVP Newmark Method November 1, 2013 Radu Serban University of Wisconsin-Madison.
Page 1 JASS 2004 Tobias Weinzierl Sophisticated construction ideas of ansatz- spaces How to construct Ritz-Galerkin ansatz-spaces for the Navier-Stokes.
Haptics and Virtual Reality
A conservative FE-discretisation of the Navier-Stokes equation JASS 2005, St. Petersburg Thomas Satzger.
1 20-Oct-15 Last course Lecture plan and policies What is FEM? Brief history of the FEM Example of applications Discretization Example of FEM softwares.
Discontinuous Galerkin Methods Li, Yang FerienAkademie 2008.
11/11/20151 Trusses. 11/11/20152 Element Formulation by Virtual Work u Use virtual work to derive element stiffness matrix based on assumed displacements.
Summer School for Integrated Computational Materials Education 2015 Computational Mechanics: Basic Concepts and Finite Element Method Katsuyo Thornton.
Last course Bar structure Equations from the theory of elasticity
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,
HEAT TRANSFER FINITE ELEMENT FORMULATION
College Algebra Sixth Edition James Stewart Lothar Redlin Saleem Watson.
1 EEE 431 Computational Methods in Electrodynamics Lecture 18 By Dr. Rasime Uyguroglu
CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS
Discretization Methods Chapter 2. Training Manual May 15, 2001 Inventory # Discretization Methods Topics Equations and The Goal Brief overview.
Numerical Analysis – Data Fitting Hanyang University Jong-Il Park.
X1X1 X2X2  Basic Kinematics Real Applications Simple Shear Trivial geometry Proscribed homogenous deformations Linear constitutive.
1 CHAP 3 WEIGHTED RESIDUAL AND ENERGY METHOD FOR 1D PROBLEMS FINITE ELEMENT ANALYSIS AND DESIGN Nam-Ho Kim.
Finite Element Method in Geotechnical Engineering
Le-Thuy Tran and Martin Berzins
MANE 4240 & CIVL 4240 Introduction to Finite Elements
FEA Simulations Boundary conditions are applied
Where did we stop? The Bayes decision rule guarantees an optimal classification… … But it requires the knowledge of P(ci|x) (or p(x|ci) and P(ci)) We.
Comparison of CFEM and DG methods
Presentation transcript:

1cs533d-term Notes  Assignment 2 is up

2cs533d-term Modern FEM  Galerkin framework (the most common)  Find vector space of functions that solution (e.g. X(p)) lives in E.g. bounded weak 1st derivative: H 1  Say the PDE is L[X]=0 everywhere (“strong”)  The “weak” statement is ∫ Y(p)L[X(p)]dp=0 for every Y in vector space  Issue: L might involve second derivatives E.g. one for strain, then one for div sigma So L, and the strong form, difficult to define for H 1  Integration by parts saves the day

3cs533d-term Weak Momentum Equation  Ignore time derivatives - treat acceleration as an independent quantity We discretize space first, then use “method of lines”: plug in any time integrator

4cs533d-term Making it finite  The Galerkin FEM just takes the weak equation, and restricts the vector space to a finite- dimensional one E.g. Continuous piecewise linear - constant gradient over each triangle in mesh, just like we used for Finite Volume Method  This means instead of infinitely many test functions Y to consider, we only need to check a finite basis  The method is defined by the basis Very general: plug in whatever you want - polynomials, splines, wavelets, RBF’s, …

5cs533d-term Linear Triangle Elements  Simplest choice  Take basis {  i } where  i (p)=1 at p i and 0 at all the other p j ’s It’s a “hat” function  Then X(p)=∑ i x i  i (p) is the continuous piecewise linear function that interpolates particle positions  Similarly interpolate velocity and acceleration  Plug this choice of X and an arbitrary Y=  j (for any j) into the weak form of the equation  Get a system of equations (3 eq. for each j)

6cs533d-term The equations Note that  j is zero on all but the triangles surrounding j, so integrals simplify Also: naturally split integration into separate triangles

7cs533d-term Change in momentum term  Let  Then the first term is just  Let M=[m ij ]: then first term is  M is called the mass matrix Obviously symmetric (actually SPD) Not diagonal!  Note that once we have the forces (the other integrals), we need to invert M to get accelerations

8cs533d-term Body force term  Usually just gravity: f body =  g  Rather than do the integral with density all over again, use the fact that  I sum to 1 They form a “partition of unity” They represent constant functions exactly - just about necessary for convergence  Then body force term is gM1  More specifically, can just add g to the accelerations; don’t bother with integrals or mass matrix at all

9cs533d-term Stress term  Calculate constant strain and strain rate (so constant stress) for each triangle separately  Note  j is constant too  So just take  j times triangle area  [derive what  j is]  Magic: exact same as FVM! In fact, proof of convergence of FVM is often (in other settings too) proved by showing it’s equivalent or close to some kind of FEM

10cs533d-term The algorithm  Loop over triangles Loop over corners Compute integral terms  only need to compute M once though - it’s constant End up with row of M and a “force”  Solve Ma=f  Plug this a into time integration scheme

11cs533d-term Lumped Mass  Inverting mass matrix unsatisfactory For particles and FVM, each particle had a mass, so we just did a division Here mass is spread out, need to do a big linear solve - even for explicit time stepping  Idea of lumping: replace M with the “lumped mass matrix” A diagonal matrix with the same row sums Inverting diagonal matrix is just divisions - so diagonal entries of lumped mass matrix are the particle masses Equivalent to FVM with centroid-based volumes

12cs533d-term Consistent vs. Lumped  Original mass matrix called “consistent”  Turns out its strongly diagonal dominant (fairly easy to solve)  Multiplying by mass matrix = smoothing  Inverting mass matrix = sharpening  Rule of thumb: Implicit time stepping - use consistent M (counteract over-smoothing, solving system anyways) Explicit time stepping - use lumped M (avoid solving systems, don’t need extra sharpening)

13cs533d-term Locking  Simple linear basis actually has a major problem: locking But graphics people still use them all the time…  Notion of numerical stiffness Instead of thinking of numerical method as just getting an approximate solution to a real problem, Think of numerical method as exactly solving a problem that’s nearby For elasticity, we’re exactly solving the equations for a material with slightly different (and not quite homogeneous/isotropic) stiffness  Locking comes up when numerical stiffness is MUCH higher than real stiffness

14cs533d-term Locking and linear elements  Look at nearly incompressible materials  Can a linear triangle mesh deform incompressibly? [derive problem]  Then linear elements will resist far too much: numerical stiffness much too high  Numerical material “locks”  FEM isn’t really a black box!  Solutions: Don’t do incompressibility Use other sorts of elements (quads, higher order) …

15cs533d-term Quadrature  Formulas for linear triangle elements and constant density simple to work out  Formulas for subdivision surfaces (or high-order polynomials, or splines, or wavelets…) and varying density are NASTY  Instead use “quadrature” I.e. numerical approximation to integrals  Generalizations of midpoint rule E.g. Gaussian quadrature (for intervals, triangles, tets) or tensor products (for quads, hexes)  Make sure to match order of accuracy [or not]

16cs533d-term Accuracy  At least for SPD linear problems (e.g. linear elasticity) FEM selects function from finite space that is “closest” to solution Measured in a least-squares, energy-norm sense  Thus it’s all about how well you can approximate functions with the finite space you chose Linear or bilinear elements: O(h 2 ) Higher order polynomials, splines, etc.: better

17cs533d-term Hyper-elasticity  Another common way to look at elasticity Useful for handling weird nonlinear compressibility laws, for reduced dimension models, and more  Instead of defining stress, define an elastic potential energy Strain energy density W=W(A) W=0 for no deformation, W>0 for deformation Total potential energy is integral of W over object  This is called hyper-elasticity or Green elasticity  For most (the ones that make sense) stress-strain relationships can define W E.g. linear relationship: W=  :  =trace(  T  )

18cs533d-term Variational Derivatives  Force is the negative gradient of potential Just like gravity  What does this mean for a continuum? W=W(∂X/∂p), how do you do -d/dX?  Variational derivative: So variational derivative is - ∂W/∂A And f= ∂W/∂A Then stress is ∂W/∂A  Easy way to do reduced dimensional objects (cloth etc.)

19cs533d-term Numerics  Simpler approach: find discrete W total as a sum of W’s for each element Evaluate just like FEM, or any way you want  Take gradient w.r.t. positions {x i } Ends up being a Galerkin method  Also note that an implicit method might need Jacobian = negative Hessian of energy Must be symmetric, and at least near stable configurations must be negative definite