All courses › Finite Element Method › Shape functions

Shape functions

Shape functions describe how displacement is interpolated between the nodal values inside an element. For a linear element on [0,1][0,1], N1N_1 and N2N_2 are straight lines, each equal to 1 at its own node and 0 at the other. The sum of the shape functions is always 1, a "partition of unity".

N1(ξ)=1−ξ,N2(ξ)=ξN_1(\xi) = 1-\xi,\quad N_2(\xi) = \xilinear shape functions on [0,1][0,1]
u(ξ)=N1u1+N2u2u(\xi) = N_1u_1 + N_2u_2interpolated displacement

Symbols

ξ\xilocal coordinate
N1, N2N_1,\ N_2shape functions
u1, u2u_1,\ u_2nodal values

Example

u1=2u_1 = 2, u2=8u_2 = 8, ξ=0.25\xi = 0.25:

u=2(1−0.25)+8⋅0.25=3.5u = 2(1-0.25) + 8\cdot 0.25 = 3.5.

The sum N1+N2=1N_1 + N_2 = 1 everywhere – this lets the element reproduce a constant displacement.
Practise weak form and shape functions for free →

← Boundary conditions and Ku = f · Weak form →

Part of Finite Element Method: Weak form and shape functions.