Abstract
This chapter provides an overview of the finite element method (FEM) for the numerical solution of PDEs. It begins with FEM implementation for 1D systems, deriving the weak-form equivalent form of a time-dependent diffusion-type PDE example, then outlines the Galerkin method for its solution. System matrices are derived for 1D linear basis functions, comparing these with those obtained by the COMSOL FEM solver. The chapter then proceeds to describe higher-order 1D Lagrangian basis functions as well as cubic Hermite elements. Following these 1D methods, FEM is then described for 2D/3D PDEs, including higher-dimensional elements, as well as isoparametric elements for representing curved boundaries. The chapter concludes with FEM numerical implementation issues, as well as set of problems with fully-worked answers provided in the solution section.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
From Fick’s Law of diffusion (see Exercise 4.6).
- 2.
The set \(H^1\) is an example of a Sobolev space [1].
- 3.
Pronounced ‘Gal-err-kin’. Named after Boris Grigoryevich Galerkin (1871–1945), a Soviet mathematician and engineer .
- 4.
Pronounced Her-meet.
- 5.
In the case of non-linear PDEs , these system matrices will need to be iteratively updated in order to converge to a solution.
- 6.
Needless to say, Eq. 5.17 also holds for 1D systems, in which case \(\Omega \) will be a line interval and \(\partial \Omega \) will consist of its two bounding points.
- 7.
The subsequent analysis also holds for 2D, where \(\mathbf {x} = (x\,y)^\mathrm {T}\).
- 8.
Also referred to as Green’s first identity.
References
Braess D (2001) Finite elements: theory, fast solvers, and applications in solid mechanics, 2nd edn. Cambridge University Press, Cambridge
Chen Z (2011) The finite element method: its fundamentals and applications in engineering. World Scientific, Singapore
Cook RD, Malkus DS, Plesha ME, Witt RJ (2002) Concepts and applications of finite element analysis, 4th edn. Wiley, New York
Courant R (1943) Variational methods for the solution of problems of equilibrium and vibration. Bull Am Math Soc 49:1–23
Ferrari R, Silvester PP (2007) The finite-element method, part 2: an innovator in electromagnetic numerical modeling. IEEE Ant Prop Mag 49(3):216–234
Hughes TJR (2000) The finite element method: linear static and dynamic finite element analysis, Dover edn. Dover, Mineola
Johnson C (2009) Numerical solution of partial differential equations by the finite element method. Dover, Mineola
Kojić M, Filipović N, Stojanović B, Kojić N (2008) Computer modelling in bioengineering. Wiley, Chichester
Larsson S, Thomée V (2003) Partial differential equations with numerical methods. Springer, Berlin
Pelosi G, Courant RL (2007) The finite-element method, part 1. IEEE Ant Prop Mag 49(2):180–182
Saad Y (2003) Iterative methods for sparse linear systems, 2nd edn. SIAM, Philadelphia
Zienkiewicz OC, Cheung YK (1967) The finite element method in structural and continuum mechanics. McGraw-Hill, London
Author information
Authors and Affiliations
Corresponding author
Problems
Problems
5.1
Solve the following PDE numerically by-hand using FEM, utilising four equi-sized linear Lagrange elements over the interval \(x \in [0,1]\), and compare the solution obtained with the exact solution.
You may use Matlab to solve the resulting \(7\times 7\) system of equations.
5.2
Solve the following PDE numerically by-hand using FEM, utilising four equi-sized linear Lagrange elements over the interval \(x \in [0,1]\), and compare the solution obtained with the exact solution.
You may use Matlab to solve the resulting \(6\times 6\) system of equations.
5.3
For the family of cubic 1D Lagrange functions, we can define four cubic polynomial element shape functions \(\varphi _i(\xi )\), \(i=1\ldots 4\), such that
where \(\xi _j\) is the local element coordinate of node j, and \(i,j=1\ldots 4\). Assuming these nodes are equi-spaced along the element, determine the four cubic Lagrange functions and plot their shape.
5.4
Using 1D quadratic basis functions on a uniformly-spaced grid consisting of 4 elements, determine the finite element \(\mathbf {D}\), \(\mathbf {K}\) and \(\mathbf {f}\) matrices for the 1D time-dependent diffusion equation
for \(x \in [0,1]\) subject to zero-flux boundary conditions at \(x=0\) and \(x=1\), with initial value of c(x, t) at \(t=0\) given by the square-wave distribution:
Using the same basis functions and number of elements, solve this PDE in COMSOL, plotting the solution at \(t=0.1\), and confirm that the COMSOL-generated \(\mathbf {D}\) and \(\mathbf {K}\) matrices are equal to those you obtained analytically.
Rights and permissions
Copyright information
© 2017 Springer-Verlag Berlin Heidelberg
About this chapter
Cite this chapter
Dokos, S. (2017). The Finite Element Method. In: Modelling Organs, Tissues, Cells and Devices. Lecture Notes in Bioengineering. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-54801-7_5
Download citation
DOI: https://doi.org/10.1007/978-3-642-54801-7_5
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-54800-0
Online ISBN: 978-3-642-54801-7
eBook Packages: EngineeringEngineering (R0)