Practical Assembly of The Stiffness Matrix
In order to implement the finite element method on a computer, one must first choose a set of basis functions and then compute the integrals defining the stiffness matrix. Usually, the domain Ω is discretized by some form of mesh generation, wherein it is divided into non-overlapping triangles or quadrilaterals, which are generally referred to as elements. The basis functions are then chosen to be polynomials of some order within each element, and continuous across element boundaries. The simplest choices are piecewise linear for triangular elements and piecewise bilinear for rectangular elements.
The element stiffness matrix A for element Tk is the matrix
The element stiffness matrix is zero for most values of i and j, for which the corresponding basis functions are zero within Tk. The full stiffness matrix A is the sum of the element stiffness matrices. In particular, for basis functions that are only supported locally, the stiffness matrix is sparse.
For many standard choices of basis functions, i.e. piecewise linear basis functions on triangles, there are simple formulas for the element stiffness matrices. For example, for piecewise linear elements, consider a triangle with vertices x1, x2, x3, and define the 2×3 matrix
Then the element stiffness matrix is
When the differential equation is more complicated, say by having an inhomogeneous diffusion coefficient, the integral defining the element stiffness matrix can be evaluated by Gaussian quadrature.
Read more about this topic: Stiffness Matrix
Famous quotes containing the words practical, assembly, stiffness and/or matrix:
“While there are practical and sometimes moral reasons for the decomposition of the family, it coincides neither with what most people in society say they desire nor, especially in the case of children, with their best interests.”
—Robert Neelly Bellah (20th century)
“There is a sacred horror about everything grand. It is easy to admire mediocrity and hills; but whatever is too lofty, a genius as well as a mountain, an assembly as well as a masterpiece, seen too near, is appalling.”
—Victor Hugo (18021885)
“Everything ponderous, viscous, and solemnly clumsy, all long- winded and boring types of style are developed in profuse variety among Germansforgive me the fact that even Goethes prose, in its mixture of stiffness and elegance, is no exception, being a reflection of the good old time to which it belongs, and a reflection of German taste at a time when there still was a German tasteMa rococo taste in moribus et artibus.”
—Friedrich Nietzsche (18441900)
“In all cultures, the family imprints its members with selfhood. Human experience of identity has two elements; a sense of belonging and a sense of being separate. The laboratory in which these ingredients are mixed and dispensed is the family, the matrix of identity.”
—Salvador Minuchin (20th century)