Techniquecore
Isoparametric mapping
Also called isoparametric element.
Maps a reference element to each physical element with the same shape functions used for the solution, which allows curved boundaries.
An isoparametric mapping maps a fixed reference cell onto each physical cell with the same shape functions that represent the solution: , where are the coordinates of the nodes of . With quadratic or higher shape functions the cells can have curved edges that follow a curved boundary, and with bilinear ones a code can use general quadrilaterals. Because the geometry and the solution use one basis, the element represents every linear function exactly, so it passes the patch test. The map is valid only if its Jacobian keeps one sign over the reference cell.
In plain words
You compute everything on one simple master shape, a unit square or a unit triangle, and then stretch and bend it into each real cell of the mesh. The rule for stretching uses the same building blocks that describe the unknown field on the cell. So if those blocks can bend, the cell edges can bend too, and the mesh can follow a round hole or a curved wing. The same choice also makes sure that a simple uniform state, such as a constant stretch, comes out exactly right on any mesh. One check is essential: the stretched cell must not fold over itself. If it folds, the computed areas become negative and the results are wrong.
When it applies
- Curved boundaries. For elements of degree , a polygonal approximation of a curved boundary has a geometric error of order , and that error limits the accuracy. Isoparametric cells of degree along the boundary approximate it to order and keep the optimal rates (Ciarlet and Raviart, 1972).
- Quadrilateral and hexahedral meshes. A Q1 cell that is not a parallelogram has no affine map from the unit square, so a bilinear isoparametric map is the standard way to define it.
- Lagrangian solid mechanics. The same interpolation of node positions gives the deformation gradient in large-deformation codes.
The technique needs a reference element with a nodal basis, node positions that give a positive Jacobian everywhere in , and a quadrature rule on , because the integrands are no longer polynomials.
The template
The Jacobian is , a matrix. Physical gradients are , and .
ISOPARAMETRIC-ELEMENT(x_1 .. x_n, kappa, f, rule (xi_q, w_q)) ▷ x_j are the nodes of K- 1
A_K <- 0 (n by n), b_K <- 0 (length n) - 2
for each quadrature point xi_q with weight w_q in the rule on K-hat do - 3
evaluate phi-hat_j(xi_q) and grad-hat phi-hat_j(xi_q) for j = 1 .. n - 4
x_q <- sum_j x_j phi-hat_j(xi_q); J <- sum_j x_j grad-hat phi-hat_j(xi_q)^T ▷ same basis as u_h - 5
if det J <= 0 then report an inverted element and stop - 6
G <- J^(-T) [grad-hat phi-hat_1 .. grad-hat phi-hat_n] ▷ physical gradients, d by n - 7
A_K <- A_K + w_q det J kappa(x_q) G^T G - 8
b_K <- b_K + w_q det J f(x_q) [phi-hat_1(xi_q) .. phi-hat_n(xi_q)]^T - 9
return A_K, b_K
The local matrix then goes into the global one by finite element assembly, with no change: the map affects only how the element integrals are computed.
Why linear functions are exact. The Lagrange basis satisfies , and the map gives . For the nodal values therefore give . So every linear function lies in the isoparametric space, on any mesh of valid cells. A mesh of such cells reproduces a constant gradient exactly, which is the patch test.
Classic examples
A bilinear trapezoid. Map with the Q1 basis , , , onto the cell with nodes , , , in the same order. Then and , so
The area is , which is the area of the trapezoid with parallel sides 2 and 1 and height 1. Since is not constant, the entries of are rational functions, and Gauss quadrature computes only approximately. Codes use a Gauss rule for this cell.
A reentrant quadrilateral. With the nodes , , , the same map gives . Its values at the four corners are , , and , so the map folds near the corner , which is a reflex corner. For a bilinear map is an affine function of and , so it is positive on the whole square if and only if it is positive at the four corners, which holds if and only if the quadrilateral is convex.
A curved boundary edge. A P2 triangle with vertices , , and the node of the outer edge moved to on the unit circle approximates a quarter of the unit disk. The outer edge becomes a parabola whose tangent at the moved node is parallel to the chord. By Archimedes' rule its segment has of the area of the triangle on the chord with apex at that node, which is . The total area is , against , an error of 1.2 percent. The straight triangle has area , an error of 36 percent.
The quarter-point element. On one edge of a P2 element, map with the end nodes at and and the middle node at : . Then is affine, with and , so the map is valid exactly for . At we get , so , and a quadratic in contains the term . This is the square-root singularity of the displacement near a crack tip, and crack codes in fracture mechanics place the middle nodes of the cells at the tip at the quarter points on purpose.
Variations
- Subparametric elements. The map has a lower degree than the solution, for example affine maps for the interior cells of a P2 mesh. They still reproduce linear functions, and they save work.
- Superparametric elements. The map has a higher degree than the solution. The constant and linear functions are no longer in the space in general, so these elements can fail the patch test.
- Transfinite or blending maps. Interpolate an exact boundary curve into the cell instead of a polynomial through nodes, as in the Gordon-Hall construction.
- Isogeometric analysis. Uses the spline or NURBS basis of the CAD model for both geometry and solution. This keeps the isoparametric idea and makes the geometry exact.
Pitfalls
- Checking only the corners of curved cells. For a P2 triangle, is a polynomial of degree 2, and it can be negative inside the cell while it is positive at all nodes. Robust checks bound it with its Bernstein coefficients or sample it at the quadrature points. Mesh generators that move boundary nodes onto curves often create such cells. See invertible finite elements for the same problem in simulation.
- Using without checking the sign. The absolute value hides an inverted cell, and the code computes a positive but meaningless matrix.
- Using in place of . The physical gradient is . The two agree only when is symmetric, so the error shows up only on sheared cells.
- Too few quadrature points. The stiffness integrand is rational on non-affine cells. A rule that is too weak can give a singular matrix (hourglass modes on Q1 with one point) or lose the convergence order.
- Strong distortion. On quadrilateral meshes that do not tend to parallelograms under refinement, the mapped space does not contain all of in physical coordinates. Arnold, Boffi and Falk showed in 2002 that the serendipity elements then lose convergence order.
Exercises
- Show that a bilinear map of is valid if and only if the four nodes form a convex quadrilateral in the right order. Hint: is affine in , and its value at a corner is twice the signed area of the triangle formed by that corner and its two neighbors.
- For the trapezoid above, compute and the physical gradient of the basis function at . Answer: , and at the point the gradient is .
- For the quarter-point edge with , show that the derivative in of a P2 function behaves like near , and that a strain of size near a crack tip in 2D still has finite energy. Answer: , so . In polar coordinates .
- Prove that a superparametric element, with a P2 map and P1 shape functions on the reference cell, does not contain the function when its edge is curved. Answer: is the first component of , which is quadratic and not linear in , so it is not in .
References
- J. Ergatoudis, B. M. Irons and O. C. Zienkiewicz, Curved, isoparametric, quadrilateral elements for finite element analysis, International Journal of Solids and Structures 4(1) (1968) 31-42
- P. G. Ciarlet and P.-A. Raviart, Interpolation theory over curved elements, with applications to finite element methods, Computer Methods in Applied Mechanics and Engineering 1(2) (1972) 217-249
- Philippe G. Ciarlet, The Finite Element Method for Elliptic Problems, SIAM Classics in Applied Mathematics 40, 2002, Chapter 4 (isoparametric finite elements and problems on curved domains)
- Thomas J. R. Hughes, The Finite Element Method, Linear Static and Dynamic Finite Element Analysis, Dover, 2000, Chapter 3 (isoparametric elements and elementary programming concepts)
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W2 basic |
|
Tag VR6JGK Edit this page History Report an error Markdown