FEM Method 2/5/13. FEM Method. We will explore: 1 D linear & higher order elements 2 D triangular & rectangular elements

Σχετικά έγγραφα
Partial Differential Equations in Biology The boundary element method. March 26, 2013

Finite Field Problems: Solutions

EE512: Error Control Coding

Phys460.nb Solution for the t-dependent Schrodinger s equation How did we find the solution? (not required)

ES440/ES911: CFD. Chapter 5. Solution of Linear Equation Systems

Example Sheet 3 Solutions

Section 8.3 Trigonometric Equations

derivation of the Laplacian from rectangular to spherical coordinates

CHAPTER 25 SOLVING EQUATIONS BY ITERATIVE METHODS

Second Order Partial Differential Equations

Problem Set 9 Solutions. θ + 1. θ 2 + cotθ ( ) sinθ e iφ is an eigenfunction of the ˆ L 2 operator. / θ 2. φ 2. sin 2 θ φ 2. ( ) = e iφ. = e iφ cosθ.

Matrices and Determinants

Solutions to Exercise Sheet 5

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

Απόκριση σε Μοναδιαία Ωστική Δύναμη (Unit Impulse) Απόκριση σε Δυνάμεις Αυθαίρετα Μεταβαλλόμενες με το Χρόνο. Απόστολος Σ.

( ) 2 and compare to M.

3.4 SUM AND DIFFERENCE FORMULAS. NOTE: cos(α+β) cos α + cos β cos(α-β) cos α -cos β

The Simply Typed Lambda Calculus

Fourier Series. MATH 211, Calculus II. J. Robert Buchanan. Spring Department of Mathematics

Srednicki Chapter 55

Numerical Analysis FMN011

Homework 3 Solutions

Lecture 2: Dirac notation and a review of linear algebra Read Sakurai chapter 1, Baym chatper 3

SCHOOL OF MATHEMATICAL SCIENCES G11LMA Linear Mathematics Examination Solutions

Differential equations

Variational Wavefunction for the Helium Atom

forms This gives Remark 1. How to remember the above formulas: Substituting these into the equation we obtain with

Reminders: linear functions

Areas and Lengths in Polar Coordinates

( y) Partial Differential Equations

Exercises 10. Find a fundamental matrix of the given system of equations. Also find the fundamental matrix Φ(t) satisfying Φ(0) = I. 1.

Concrete Mathematics Exercises from 30 September 2016

Inverse trigonometric functions & General Solution of Trigonometric Equations

b. Use the parametrization from (a) to compute the area of S a as S a ds. Be sure to substitute for ds!

Approximation of distance between locations on earth given by latitude and longitude

2 Composition. Invertible Mappings

Areas and Lengths in Polar Coordinates

ECE Spring Prof. David R. Jackson ECE Dept. Notes 2

Lecture 26: Circular domains

Statistical Inference I Locally most powerful tests

1. (a) (5 points) Find the unit tangent and unit normal vectors T and N to the curve. r(t) = 3cost, 4t, 3sint

Econ 2110: Fall 2008 Suggested Solutions to Problem Set 8 questions or comments to Dan Fetter 1

TMA4115 Matematikk 3

D Alembert s Solution to the Wave Equation

Chapter 6: Systems of Linear Differential. be continuous functions on the interval

Answer sheet: Third Midterm for Math 2339

ΗΜΥ 220: ΣΗΜΑΤΑ ΚΑΙ ΣΥΣΤΗΜΑΤΑ Ι Ακαδημαϊκό έτος Εαρινό Εξάμηνο Κατ οίκον εργασία αρ. 2

Parametrized Surfaces

Section 9.2 Polar Equations and Graphs

C.S. 430 Assignment 6, Sample Solutions

Math221: HW# 1 solutions

MATH423 String Theory Solutions 4. = 0 τ = f(s). (1) dτ ds = dxµ dτ f (s) (2) dτ 2 [f (s)] 2 + dxµ. dτ f (s) (3)

Spherical Coordinates

PARTIAL NOTES for 6.1 Trigonometric Identities

Section 7.6 Double and Half Angle Formulas

9.09. # 1. Area inside the oval limaçon r = cos θ. To graph, start with θ = 0 so r = 6. Compute dr

Exercises to Statistics of Material Fatigue No. 5

6.3 Forecasting ARMA processes

Finite difference method for 2-D heat equation

Jesse Maassen and Mark Lundstrom Purdue University November 25, 2013

Fractional Colorings and Zykov Products of graphs

Appendix A. Curvilinear coordinates. A.1 Lamé coefficients. Consider set of equations. ξ i = ξ i (x 1,x 2,x 3 ), i = 1,2,3

ST5224: Advanced Statistical Theory II

ANSWERSHEET (TOPIC = DIFFERENTIAL CALCULUS) COLLECTION #2. h 0 h h 0 h h 0 ( ) g k = g 0 + g 1 + g g 2009 =?

The Pohozaev identity for the fractional Laplacian

On the Galois Group of Linear Difference-Differential Equations

Mock Exam 7. 1 Hong Kong Educational Publishing Company. Section A 1. Reference: HKDSE Math M Q2 (a) (1 + kx) n 1M + 1A = (1) =

If we restrict the domain of y = sin x to [ π, π ], the restrict function. y = sin x, π 2 x π 2

1 String with massive end-points

CHAPTER 48 APPLICATIONS OF MATRICES AND DETERMINANTS

If we restrict the domain of y = sin x to [ π 2, π 2

6.1. Dirac Equation. Hamiltonian. Dirac Eq.

HOMEWORK 4 = G. In order to plot the stress versus the stretch we define a normalized stretch:

Practice Exam 2. Conceptual Questions. 1. State a Basic identity and then verify it. (a) Identity: Solution: One identity is csc(θ) = 1

Other Test Constructions: Likelihood Ratio & Bayes Tests

CE 530 Molecular Simulation

Nowhere-zero flows Let be a digraph, Abelian group. A Γ-circulation in is a mapping : such that, where, and : tail in X, head in

Lecture 34 Bootstrap confidence intervals

Problem Set 3: Solutions

Appendix to On the stability of a compressible axisymmetric rotating flow in a pipe. By Z. Rusak & J. H. Lee

2. THEORY OF EQUATIONS. PREVIOUS EAMCET Bits.

Figure A.2: MPC and MPCP Age Profiles (estimating ρ, ρ = 2, φ = 0.03)..

New bounds for spherical two-distance sets and equiangular lines

Tridiagonal matrices. Gérard MEURANT. October, 2008

4.6 Autoregressive Moving Average Model ARMA(1,1)

Differentiation exercise show differential equation

2. Μηχανικό Μαύρο Κουτί: κύλινδρος με μια μπάλα μέσα σε αυτόν.

Every set of first-order formulas is equivalent to an independent set

Homework 8 Model Solution Section

Solution to Review Problems for Midterm III

DESIGN OF MACHINERY SOLUTION MANUAL h in h 4 0.

Equations. BSU Math 275 sec 002,003 Fall 2018 (Ultman) Final Exam Notes 1. du dv. FTLI : f (B) f (A) = f dr. F dr = Green s Theorem : y da

Congruence Classes of Invertible Matrices of Order 3 over F 2

Eulerian Simulation of Large Deformations

Lanczos and biorthogonalization methods for eigenvalues and eigenvectors of matrices

Discontinuous Hermite Collocation and Diagonally Implicit RK3 for a Brain Tumour Invasion Model

Laplace Expansion. Peter McCullagh. WHOA-PSI, St Louis August, Department of Statistics University of Chicago

Space Physics (I) [AP-3044] Lecture 1 by Ling-Hsiao Lyu Oct Lecture 1. Dipole Magnetic Field and Equations of Magnetic Field Lines

Overview. Transition Semantics. Configurations and the transition relation. Executions and computation

Right Rear Door. Let's now finish the door hinge saga with the right rear door

Transcript:

/5/ FEM Method We will explore: D linear & higher order elements D triangular & rectangular elements Powerful method developed originally to solve structural mechanics problems (e.g. bridges, buildings, etc..) Can be applied to flow, solute, and heat transport problems FEM Method Has underlying theorejcal basis in branch of mathemajcs called calculus of variajon Within each element, the unknown variable is approximated using polynomials that depend only on the spajal coordinates (i.e. h = a + bx + cy +...). The verjces of the elements are referred to as nodes. Triangular Element Originally developed for solid mechanics problems Tri FEM Mesh of Baseball and Bat FEM Mesh of Dam

/5/ Finite Element Method & Calculus of VariaJons Involves minimizing residual errors using integrajon Conceptually similar to the cannon ball trajectory problem solved using the calculus of variajons method (see Feynman s lecture notes) t t Action = S = m dx t [ KE PE]dt = mgx t dt = t [ F(x,t) ]dt dt t x(t) = x (t) + η(t) m dx t + mg dx t η(t)dt = t [ F(x,t)]η(t)dt = dt dt t η(t) x(t) x (t) x(t) x (t) η(t) - one possible path - true path - deviation feynman_vc.pdf True path is the path of minimum energy! FD method using Taylor s Series Expansion FE method uses IntegraJon by Parts Example: Solve the following Integral. The integrand is the product of two functions udv = uv xe x dx vdu let e x dx = dv v =e x let u = x du =dx xe x dx = xe x e x dx = xe x e x

/5/ Steps in FEM Method, D Example Formulate Diff. Eq. T transmisivity (m /day) H head (m) Q recharge (m/day) h(,t) = specified head q(l,t) = specifed flux DiscreJze SoluJon Domain x T h x = Q x T h x Q = L Define Local Coordinate System x = x x Steps in FEM Method, D Example Construct (linear) Trial SoluJon for each element ˆ h = a + bx h = a h = a + b b = h h h ˆ = h + h h x h ˆ = h x + h x = φ nh n φ = x φ = x φ Shape funcjons

/5/ Steps in FEM Method, D Example Construct (linear) Trial SoluJon for each element ˆ h = a + bx h = a h = a + b b = h h h ˆ = h + h h x h ˆ = h x + h x = φ n h n φ = x φ = x φ Shape funcjons Shape FuncJon ProperJes Linear variajon across element from to DerivaJves of linear shape funcjons are constant h ˆ x = φ n x h n φ x = φ x =

/5/ D FEM SubsJtute Trial SoluJon into Diff. Eq. x T h ˆ Q x MulJply trial solujon by a weighjng funcjon and require the weighted residual errors integrate to zero across the element v weighjng FuncJon x T h ˆ Q x vdx = v = Φ m φ m ( x) = D FEM Steps Use IntegraJon by parts to lower the order of the PDE x T h ˆ Q x vdx = T v h ˆ x x dx Qvdx+ o vt h ˆ x = SubsJtute Trial SoluJon and weighjng funcjon into weak form of PDE v weighjng FuncJon h ˆ = Φ N= N (x )h N v = Φ M (x) M = 5

/5/ D FEM Steps This results in a system of algebraic EquaJons T φ m x φ n x h dx h Qφ m dx = A mn h n = B m A mn= T φ m x B m = Qφ m dx = φ n x dx D FEM Steps Evaluate Integrals:, A = A = T φ φ x x dx = Evaluate Integrals: m=, T dx = T B = Qφ dx = Q x dx = Q x x = Q A = A = T φ φ x x dx = T dx = T B = Qφ dx = Q x dx = Q x = Q 6

/5/ ProperJes of Shape FuncJons: (x ) = Φ + Φ = Φ N= N Φ ( x = x ) = Φ ( x = x ) = ; or Φ i ( x j ) = δ ij This is true for any point along the element (i.e. x ) ProperJes of Shape FuncJons: h ˆ x = Φ N h N= N = Φ x x h + Φ x h ˆ h x = h + h D-FEM 7

/5/ FEM D Steps A mn = T B m = Q T T = Q h h h = Q h h h element element Assemble Global Matrix: T = Q h h h Global Steps D FEM Impose specified Head Boundary CondiJon @ x= h(x = ) = h o T Impose specified Flux Boundary CondiJon @ x=l h h h h o T = Q + h o Q Generalized Tridiagonal Matrix.look familiar?? q(x = L) = q o T h h h h o T = Q + h o Q + q o 8

/5/ D FEM Steps Let: T = T = m day =m = m Q = Q = 6 m day q o = h o = Global Matrix Becomes: T.5.5.5.5 h h h = 9 7 SoluJon (Gaussian EliminaJon): h h h = 6 AnalyJcal SoluJon Comparison h = h o Q x T xl + q x o T Unlike the finite difference method, the finite element method provides us with an estimate of the hydraulic heads everywhere within the solution domain. 9

/5/ DeterminaJon of Elemental Fluxes FEM: Analytical: q = T h ˆ x = Φ N h N= N = T Φ x x h + Φ x h q = T h + h [ ] q o q = +Q x L Higher Order Elements h h h x= x=/ x= h ˆ = a + bx + cx h = a h = a + b + c h ˆ = n = φ n h n Φ = x + x Φ = x x Φ = x x h = a + b + c

/5/ Lagrange Family of Shape FuncJons φ i = Π N j =(x x j ) Π N j = (x i x j ) i j Example : N= (linear element) φ = (x x ) (x ) = (x x ) ( ) = x Example : N= (quadatric element) φ = (x x )(x x ) (x )(x ) x + x (x x )(x x ) = = φ = x + x Lagrange Family Shape Functions: Quadratic Elements Properties of Lagrange Shape Functions N φ i = i= φ i (x j ) = φ i (x i ) = i j

/5/ DerivaJves of Shape FuncJons h ˆ x = φ n x h n Φ = x + x Φ = x x Φ = x x Φ x = + x Φ x = 8x Φ x = + x D FEM QuadraJc SubsJtute Trial SoluJon into Diff. Eq. x T h ˆ Q x MulJply trial solujon by a weighjng funcjon and require the weighted residual errors integrate to zero across the element v weighjng FuncJon x T h ˆ Q x vdx = v = Φ m φ m ( x) =

/5/ D FEM QuadraJc Steps This results in a system of algebraic EquaJons T φ m x φ n x h dx h Qφ m dx = A mn h n = B m A mn= T φ m x B m = Qφ m dx = φ n x dx Evaluate QuadraJc A mn Evaluate Integrals:, A = T φ φ x x dx = T + x dx = T A = T 9 + 6 A = 7T Evaluate Integrals: m=, A = A = T φ φ x x dx = T + x 8x dx A = T + 6x + x x dx A = T + 8 + = 8T 9 x + 6x dx You can do the rest.

/5/ Load Vector B = QΦ dx = Q x + x dx = Q + = Q 6 B = QΦ dx = Q x x dx = Q x x dx = Q = Q You can do B Final A mn Matrix Quad. Element A mn = T 7 8 8 6 8 8 7 Linear Element T Final B m Vector B m = Q 6 Q

/5/ Assemble Global Matrix 7 8 h 8 6 8 T h 8 7 h = Q h 6 h 5 h T h 7 8 h = Q 8 6 8 h 6 8 7 h 5 7 8 h 8 6 8 T h 8 8 h = Q 8 6 8 h 6 8 7 h 5 Element Element Global h o h Q T + 8h o 6 8 T h Q 8 8 h = 8 6 8 h Q 8 7 h 5 Q 6 + q o Enforce B.C. Note A mn Matrix is no longer tridiagonal Solve System of EquaJons Let: T(element-) = T(element-) = = q o = h o = Q(element-) = 6 Q(element-) = 6 h = h =.9 h =. h =.5 h 5 =.667 5

/5/ Solve System of EquaJons (use local coordinate system For elemental flux calc. (<x<) Transient FEM Problems x T h x = S h s t The finite element solution to this time dependent problem is very similar to the approach taken to solve Poisson's Equation. We use the same trial solutions: h ˆ = φ n h n φ = x φ = x 6

/5/ Transient FEM Problems h vs s dx + T v h dx = t x x Since h n is not a function of t, we get the following integrand For the time dependent derivative: vss h h dx = S n s t t φ n k h + k φ m dx = P n h n mn Δt P mn = S s φ n φ m dx Transient FEM Problems So our governing equation can be recast in matrix form as: A MN h n k + + P mn h n k + h n k Δt = Recall we already know what A mn is A mn = T So now we need to solve for P mn : P mn = S s φ n φ m dx 7

/5/ Transient FEM Problems Evaluate the matrix: P = S s x dx = S s x + x dx P = S s x x + x = S s P = P = S s x x dx x = S s x dx P = S s x x = S s 6 Transient FEM Problems Evaluate the matrix: x P = S s dx P mn = S s 6 P = S s x = S s Putting it all Together: Recall: A mn = T B m = Q S s 6 h k + k + n h n + T k h + Δt n = 8

/5/ Fully Implicit FormulaJon A mn + P mn Δt h k + k n = P mn h n Writing out the equations for element, nodes and : A + P Δt A + P Δt A + P Δt A + P Δt h k + h k + h k + [ P Δt]h k k + [ P Δt]h = [ P Δt]h k k + [ P Δt]h element 9