Finite Element Method
A finite element mesh is a collection of nodes (points) connected into elements — small regions used to interpolate a quantity of interest (e.g. displacement) across the whole domain. Multi-Point Motion (covered later in this book) builds exactly this kind of nodal point collection and, in Tracking the Grid, tracks every one of its 12 points to its current position — exactly the per-node displacement data a mesh needs to represent how an object deformed.
Kernel Size First also covers the kernel-size-versus-point-spacing tradeoff involved in getting that per-node data reliably — the same considerations apply whether the points come from a toy grid or a real mesh.
Once every node's current position is known, an actual finite element mesh still needs one more thing this page doesn't provide: element connectivity — which nodes join together into which elements. Building that connectivity is future work, not implemented here; what this page covers below is the element formulation that connectivity would plug into — shape functions, strain, and deformation gradient, for the four-node quadrilateral element.
Four-Noded Quadrilateral Finite Element (Q4)
The four-node quadrilateral element is one of the most commonly used elements in 2D FEA. It has four corner nodes, with each node having two degrees of freedom (DOFs): displacements in the and directions.
Image credit: James et al.1
Note: Since we are using a finite deformation continuum mechanics framework, we will use and (instead of and in the James et al. figure above).
Shape Functions
For the element in local coordinates , the bilinear shape functions are defined:
The shape functions satisfy the following properties:
- Kronecker delta property: (equals 1 at node , 0 at other nodes)
- Partition of unity: for all
Local Coordinates
The key concept in finite element analysis is the isoparametric mapping between the local coordinate system and the global coordinate system.
This mapping allows:
- Integration to be performed on the local domain (parent element)
- Handling of arbitrarily shaped quadrilaterals
- Use of the same shape functions for geometry and displacement (isoparametric concept)
The isoparametric coordinates range from to in both the and directions.
The mapping between global coordinates and local coordinates is introduced as a linear combination of local shape functions :
where is the position of node , and .
Shape Function Derivatives in Local Coordinates
The derivatives with respect to the local coordinate system are
These are assembled into a matrix:
Jacobian Matrix
The Jacobian matrix relates derivatives in local coordinates to derivatives in global coordinates. It is important to include the "matrix" part of "Jacobian matrix". It is distinct from the Jacobian of the Deformation Gradient , which is a scalar value (not a matrix). For nodal coordinates organized as:
the Jacobian matrix is computed as:
The individual components (dropping the reference configuration notation to avoid subscript confusion) are:
Shape Function Derivatives in Global Coordinates
The transformation from local to global coordinate derivatives requires the inverse Jacobian matrix through the chain rule. Since
then
In matrix form for all shape functions:
where:
Displacement Field
The displacement is defined as the difference between the current configuration and the reference configuration ,
The displacement field within the element is interpolated using shape functions:
where is the respective displacement of node , and .
Displacement Gradient
Each component is computed using the chain rule:
In compact matrix notation:
where is the nodal displacement matrix:
See Displacement Gradient for more information.
Deformation Gradient
The deformation gradient tensor maps material points in the reference configuration to their positions in the current (deformed) configuration :
Because ,
Explicitly:
The determinant represents the local volume ratio and must be positive for physically admissible deformations. See Deformation Gradient and Jacobian of the Deformation Gradient for more information.
Gauss Points
To evaluate quantities that depend on the displacement field and its gradient, such as strain, we use Gaussian Quadrature. We don't typically calculate quantities at the nodes. Rather, we quantify strain at specific integration points (also known as Gauss points) where mathematical precision is the highest.
For a 2D quadrilateral element, we typically use a Gauss rule. The integration points are located in the local coordinate system at