9. Mechanical design: numerical solutions9.3 Finite elements for linear elasticity
9.3Finite elements for linear elasticity
Discretization and interpolation
In the FEM the fields are approximated by a discretised field. For most engineering problems the displacements are the primary unknowns (degrees of freedom); strains and stresses follow from them. The geometry is subdivided into finite elements; each element is spanned by nodes, and an interpolation function gives the displacement anywhere inside the element from the nodal displacements. Typical schemes:
(the symmetries of 4C make the symmetrisation superfluous). In matrix–column form with the planar elasticity matrix of (5.109) or (5.115), e.g. plane stress:
since ∼d does not depend on x. The element stiffness matrix is
ke=∫VeBTCBdV
(9.24)
For the linear triangle the integrand is constant: ke=BTCBVe. For other elements the integral is evaluated by numerical integration: the integrand is evaluated in well-chosen integration points and summed with weights.
Internal energy of the discretized system: the global stiffness matrix
The internal energy of the whole volume is the sum over all elements. With n nodes and m elements (Figure 9.5: n=6, m=4), collect all degrees of freedom in the global column
Figure 9.5: Simple 2D structure with 4 linear triangular elements and 6 nodes (12 degreesof-freedom)
∼u=[u1v1⋯uivi⋯unvn]T(2n×1)
(9.25)
Each ke (6×6) is placed in a 2n×2n matrix Ke at the rows and columns of its own degrees of freedom (for nodes i,j,k: positions 2i−1,2i,2j−1,2j,2k−1,2k), with zeros elsewhere:
Figure 9.6: Graphical illustration of the globalization of ke (6×6) to K e (2n ×2n).
K is the global stiffness matrix. It is sparse: two degrees of freedom are coupled only if they share an element.
Potential energy of the externally applied forces
For nodal forces fi on boundary nodes:
P=−∫Au⋅pdA=−i=1∑nui⋅fi=−∼uT∼F
(9.31–9.33)
∼F (2n×1) contains the nodal force components; it is zero except where loads act (body forces also end up in ∼F). A distributed load p on an element edge becomes equivalent nodal forces
For a uniform load on an edge of a linear triangle this gives two equal forces, half of the edge load on each edge node.
Minimization of the total potential energy
For the discretised system
Π=U+P=21∼uTK∼u−∼uT∼F
(9.37)
The unknowns are the 2n nodal displacement components. δΠ=0 for all variations means
∂∼u∂Π=∼0⟺K∼u=∼F
(9.38–9.39)
The equilibrium problem has become a linear system of equations.
Boundary conditions
Without boundary conditions K is singular (rigid body motions cost no energy). For Figure 9.5: node 1 has u1=v1=0, node 6 has v6=0, and a force P acts on node 3. The components Px, Py enter ∼F at the degrees of freedom of node 3. Known displacement components are eliminated from the system (their rows and columns removed, their effect moved to the right-hand side); the reduced system is no longer singular and is solved for the remaining unknowns. The eliminated rows then give the reaction forces.
1234123456Pu1v1u2v2u3v3u4v4u5v5u6v6K(12×12)dark: from the selected elementlight: other elements; white: zerogrey band: removed by the supportsdeformation ×300; colour: σ_VM
element 1: A=1.80m2,B=−0.3330.0000.0000.0000.000−0.3330.3330.000−0.8330.000−0.8330.3330.0000.0000.8330.0000.8330.000m−1ke=106×4.620.00−4.623.460.00−3.460.001.624.04−1.62−4.040.00−4.624.0414.71−7.50−10.103.463.46−1.62−7.5030.464.04−28.850.00−4.04−10.104.0410.100.00−3.460.003.46−28.850.0028.85kN/m∼σ=(1.2,0.2,−0.6)MPa (element 1),σVM=1.5MPau3=0.026,v3=−0.048mmreactions: Rx1=−70.7,Ry1=37.7,Ry6=33.0kN
Steel plate, E = 210 GPa, ν = 0.3, plane stress, thickness 0.1 m; node positions in m. The element rows of the sparsity plot follow (9.25): u₁, v₁, …, u₆, v₆.
Interactive · select an element; change the force
Figure [9.1]: CST lab: the mesh of Figure 9.5 (steel, plane stress) solved with four constant strain triangles. Top: undeformed (dashed) and deformed mesh, elements coloured by σVM. Bottom: the sparsity pattern of K; the dark cells are the entries the selected element contributes, the grey band the rows and columns removed by the supports. The readout shows B and ke of the selected element and the solution.
Summary of the Finite Element based numerical solution procedure
Discretisation of the domain into finite elements (small subvolumes of simple shape).
Interpolation of geometry and displacements within each element; from it, the displacement field and strains in each point.
Element stiffness matrices (a volume integral per element), and possibly surface integrals for distributed loads.
Assembly (globalisation) into K∼u=∼F, with the nodal displacements of all nodes as unknowns.
Boundary conditions applied in the system.
Solution of the linear system.
Post-processing: reconstruct strains and stresses (usually in the integration points, then extrapolated/averaged to nodes).
Worked example [9.1]
The smallest FE model: a bar of length 2L, cross-section A, modulus E, two linear 1D elements with nodes 1, 2, 3; node 1 fixed, force F on node 3. Assemble and solve.
Bar fixed at x = 0, loaded by a body force q(x) and an end force F; L = 1, EA₀ = 1. Linear elements: u piecewise linear, σ constant per element. Right: maximum errors against n on log scales.
Interactive · slide n; change the load
Figure [9.2]: 1D FE playground: a bar fixed at x=0 under a body force q(x) and an end force F, with n linear elements. Left: displacement and stress, FE against exact. Right: the maximum errors in u and σ against n (log–log).