16 déc 2013 · 37 3 4 Example on piecewise linear finite element functions 38 3 5 Example on piecewise cubic finite element basis functions 40
Previous PDF | Next PDF |
[PDF] Finite Elements: Basis functions
There is not much choice for the shape of a (straight) 1-D element Notably the length can vary across the domain We require that our function u(ξ) be
[PDF] PE281 Finite Element Method Course Notes
finite elements are the subregions of the domain over which each basis function is defined Hence each basis function has compact support over an element Each element has length h The lengths of the elements do NOT need to be the same (but generally we will assume that they are )
[PDF] Galerkin finite element method
Quadratic finite elements {λ1(x),λ2(x)} barycentric coordinates x1 = {1,0}, x2 = {0, 1} endpoints x12 = x1+x2 2 = { 1 2 , 1 2} midpoint Basis functions ϕ1,ϕ2
CHAPTER 4 BASIS FUNCTIONS IN THE FINITE ELEMENT METHOD
It is with the construction of such basis functions for elements with relatively the solution over n by a function from the nodal finite element space, i e from the
[PDF] Introduction to finite element methods - Hans Petter
16 déc 2013 · 37 3 4 Example on piecewise linear finite element functions 38 3 5 Example on piecewise cubic finite element basis functions 40
[PDF] Finite Element Methods
solve function Page 13 1 3 Global Basis Functions 13 – Column 4: As
[PDF] FEM/BEM NOTES - Rutgers CS
21 fév 2001 · 1 Finite Element Basis Functions 1 1 1 Representing a 3 9 The Boundary Element Method Applied to other Elliptic PDEs 59
[PDF] Finite Element Methods
mesh cell with a local basis function This property implies the uniqueness of the global basis functions For many finite element spaces it follows from the
[PDF] Lecture no 7 Finite Element Method • Define the approximating
Define the approximating functions locally over “finite elements” 1( ) Note that all other Lagrange basis function from other elements are defined as zero
Finite Element Methods
Example of the hat basis functions for four intervals tridiagonal matrices This is the optimal sparsity achievable with piecewise linear finite elements As a result,
pdf PE281 Finite Element Method Course Notes - Stanford University
May 23 2006 · any set of linearly independent functions will work to solve the ODE Now we are ?nally going to talk about what kind of functions we will want to use as basis functions The ?nite element method is a general and systematic technique for constructing basis functions for Galerkin approximations In 5
[PDF] finite fourier sine and cosine transform pdf
[PDF] finite fourier transform of partial derivatives
[PDF] fir filter coefficients calculator
[PDF] fir high pass filter matlab code
[PDF] firearms commerce in the united states 2019
[PDF] firearms manufacturers stock symbols
[PDF] first french empire emperor
[PDF] first octant of a sphere meaning
[PDF] first order condition optimization
[PDF] first order sufficient condition
[PDF] first time buyer mortgage calculator scotland
[PDF] fiscal number usa
[PDF] fiscalite des non residents en france
[PDF] fiscalité dividendes france luxembourg
Introduction to nite element methods
Hans Petter Langtangen
1;2 1 Center for Biomedical Computing, Simula Research Laboratory2Department of Informatics, University of Oslo
Dec 16, 2013
PRELIMINARY VERSION
Contents
1 Approximation of vectors
71.1 Approximation of planar vectors
71.2 Approximation of general vectors
112 Approximation of functions
132.1 The least squares method
142.2 The projection (or Galerkin) method
152.3 Example: linear approximation
152.4 Implementation of the least squares method
162.5 Perfect approximation
172.6 Ill-conditioning
182.7 Fourier series
202.8 Orthogonal basis functions
222.9 Numerical computations
232.10 The interpolation (or collocation) method
242.11 Lagrange polynomials
263 Finite element basis functions
323.1 Elements and nodes
333.2 The basis functions
353.3 Example on piecewise quadratic nite element functions
373.4 Example on piecewise linear nite element functions
383.5 Example on piecewise cubic nite element basis functions
403.6 Calculating the linear system
413.7 Assembly of elementwise computations
443.8 Mapping to a reference element
473.9 Example: Integration over a reference element
494 Implementation50
4.1 Integration
514.2 Linear system assembly and solution
534.3 Example on computing symbolic approximations
534.4 Comparison with nite elements and interpolation/collocation
544.5 Example on computing numerical approximations
544.6 The structure of the coecient matrix
554.7 Applications
574.8 Sparse matrix storage and solution
585 Comparison of nite element and nite dierence approxima-
tion 595.1 Finite dierence approximation of given functions
605.2 Finite dierence interpretation of a nite element approximation
605.3 Making nite elements behave as nite dierences
626 A generalized element concept
636.1 Cells, vertices, and degrees of freedom
646.2 Extended nite element concept
646.3 Implementation
656.4 Computing the error of the approximation
666.5 Example: Cubic Hermite polynomials
687 Numerical integration
697.1 Newton-Cotes rules
697.2 Gauss-Legendre rules with optimized points
708 Approximation of functions in 2D
708.1 2D basis functions as tensor products of 1D functions
718.2 Example: Polynomial basis in 2D
728.3 Implementation
748.4 Extension to 3D
769 Finite elements in 2D and 3D
769.1 Basis functions over triangles in the physical domain
779.2 Basis functions over triangles in the reference cell
789.3 Ane mapping of the reference cell
819.4 Isoparametric mapping of the reference cell
829.5 Computing integrals
8310 Exercises
8411 Basic principles for approximating dierential equations
9011.1 Dierential equation models
9011.2 Simple model problems
9211.3 Forming the residual
9311.4 The least squares method
942
11.5 The Galerkin method. . . . . . . . . . . . . . . . . . . . . . . . 94
11.6 The Method of Weighted Residuals
9411.7 Test and Trial Functions
9511.8 The collocation method
9511.9 Examples on using the principles
9711.10Integration by parts
10011.11Boundary function
10111.12Abstract notation for variational formulations
10311.13Variational problems and optimization of functionals
10412 Examples on variational formulations
10512.1 Variable coecient
10512.2 First-order derivative in the equation and boundary condition
10712.3 Nonlinear coecient
10812.4 Computing with Dirichlet and Neumann conditions
10912.5 When the numerical method is exact
11013 Computing with nite elements
11013.1 Finite element mesh and basis functions
11113.2 Computation in the global physical domain
11113.3 Comparison with a nite dierence discretization
11413.4 Cellwise computations
11414 Boundary conditions: specied nonzero value
11714.1 General construction of a boundary function
11714.2Example on computing with nite element-based a boundary
function 11914.3 Modication of the linear system
12014.4 Symmetric modication of the linear system
12314.5 Modication of the element matrix and vector
12415 Boundary conditions: specied derivative
12515.1 The variational formulation
12515.2 Boundary term vanishes because of the test functions
12515.3 Boundary term vanishes because of linear system modications
12615.4 Direct computation of the global linear system
12615.5 Cellwise computations
12816 Implementation
12916.1 Global basis functions
12916.2 Example: constant right-hand side
13116.3 Finite elements
1323
17 Variational formulations in 2D and 3D134
17.1 Transformation to a reference cell in 2D and 3D
13617.2 Numerical integration
13717.3 Convenient formulas for P1 elements in 2D
13818 Summary
13919 Time-dependent problems
14119.1 Discretization in time by a Forward Euler scheme
14119.2 Variational forms
14219.3 Simplied notation for the solution at recent time levels
14319.4 Deriving the linear systems
14319.5 Computational algorithm
14519.6 Comparing P1 elements with the nite dierence method
14519.7 Discretization in time by a Backward Euler scheme
14619.8 Dirichlet boundary conditions
14719.9 Example: Oscillating Dirichlet boundary condition
14919.10Analysis of the discrete equations
15120 Systems of dierential equations
15620.1 Variational forms
15620.2 A worked example
15720.3 Identical function spaces for the unknowns
15820.4 Dierent function spaces for the unknowns
16220.5 Computations in 1D
16321 Exercises
1644
List of Exercises and Problems
Exercise 1 Linear algebra refresher I p.
84Exercise 2 Linear algebra refresher II p.
84Exercise 3 Approximate a three-dimensional vector in ... p. 84
Exercise 4 Approximate the exponential function by power ... p. 85
Exercise 5 Approximate the sine function by power functions ... p. 85
Exercise 6 Approximate a steep function by sines p. 85
Exercise 7 Animate the approximation of a steep function ... p. 85
Exercise 8 Fourier series as a least squares approximation ... p. 86
Exercise 9 Approximate a steep function by Lagrange polynomials ... p. 87
Exercise 10 Dene nodes and elements p.
86Exercise 11 Dene vertices, cells, and dof maps p.
87Exercise 12 Construct matrix sparsity patterns p.
87Exercise 13 Perform symbolic nite element computations p. 87
Exercise 14 Approximate a steep function by P1 and P2 ... p. 87
Exercise 15 Approximate a steep function by P3 and P4 ... p. 87
Exercise 16 Investigate the approximation error in nite ... p. 87
Exercise 17 Approximate a step function by nite elements ... p. 88
Exercise 18 2D approximation with orthogonal functions p. 88
Exercise 19 Use the Trapezoidal rule and P1 elements p. 89
Problem 20 Compare P1 elements and interpolation p. 89
Exercise 21 Implement 3D computations with global basis ... p. 90
Exercise 22 Use Simpson's rule and P2 elements p.
90Exercise 23 Refactor functions into a more general class p. 164
Exercise 24 Compute the de
ection of a cable with sine ... p. 164Exercise 25 Check integration by parts p.
165Exercise 26 Compute the de
ection of a cable with 2 P1 ... p. 165Exercise 27 Compute the de
ection of a cable with 1 P2 ... p. 165Exercise 28 Compute the de
ection of a cable with a step ... p. 165Exercise 29 Show equivalence between linear systems p. 166
Exercise 30 Compute with a non-uniform mesh p.
166Problem 31 Solve a 1D nite element problem by hand p. 166
Exercise 32 Compare nite elements and dierences for ... p. 167
Exercise 33 Compute with variable coecients and P1 ... p. 168
Exercise 34 Solve a 2D Poisson equation using polynomials ... p. 168
Exercise 35 Analyze a Crank-Nicolson scheme for the diusion ... p. 169
5 The nite element method is a powerful tool for solving dierential equations. The method can easily deal with complex geometries and higher-order approxima- tions of the solution. Figure 1 sho wsa t wo-dimensionaldomain with a non-tri vial geometry. The idea is to divide the domain into triangles (elements) and seek a polynomial approximations to the unknown functions on each triangle. The method glues these piecewise approximations together to nd a global solution. Linear and quadratic polynomials over the triangles are particularly popular.Figure 1: Domain for ow around a dolphin. Many successful numerical methods for dierential equations, including the nite element method, aim at approximating the unknown function by a sum u(x) =NX i=0c i i(x);(1) where i(x) are prescribed functions andc0;:::;cNare unknown coecients to be determined. Solution methods for dierential equations utilizing ( 1 ) must have aprinciplefor constructingN+1 equations to determinec0;:::;cN. Then there is amachineryregarding the actual constructions of the equations for c0;:::;cN, in a particular problem. Finally, there is asolvephase for computing the solutionc0;:::;cNof theN+ 1 equations. 6
Especially in the nite element method, the machinery for constructing thediscrete equations to be implemented on a computer is quite comprehensive, with
many mathematical and implementational details entering the scene at the same time. From an ease-of-learning perspective it can therefore be wise to introduce the computational machinery for a trivial equation:u=f. Solving this equation withfgiven anduon the form (1) means that we seek an approximation utof. This approximation problem has the advantage of introducing most of the nite element toolbox, but with postponing demanding topics related to dierential equations (e.g., integration by parts, boundary conditions, and coordinate mappings). This is the reason why we shall rst become familiar with nite elementapproximationbefore addressing nite element methods for dierential equations. First, we refresh some linear algebra concepts about approximating vectors in vector spaces. Second, we extend these concepts to approximating functions in function spaces, using the same principles and the same notation. We present examples on approximating functions by global basis functions with support throughout the entire domain. Third, we introduce the nite element type of local basis functions and explain the computational algorithms for working with such functions. Three types of approximation principles are covered: 1) the least squares method, 2) theL2projection or Galerkin method, and 3) interpolation or collocation.