All courses › Finite Element Method

Finite Element Method (FEM): free practice, theory and problems

The finite element method (FEM) solves complicated structural problems by dividing a structure into many small, simple elements for which the relationship between forces and displacements is known exactly. The bar element (1D, axial) is the simplest element and shows the core idea: each element has a stiffness matrix that relates nodal displacements to nodal forces, and these are assembled into a global system of equations for the whole structure.

3 parts75 problems15 concepts explainedPractice examFree
Start practising for free →

Contents

  1. Bar elements and stiffness matrices
  2. Weak form and shape functions
  3. Element types, meshing and error

1. Bar elements and stiffness matrices

What is it about?

The finite element method (FEM) solves complicated structural problems by dividing a structure into many small, simple elements for which the relationship between forces and displacements is known exactly. The bar element (1D, axial) is the simplest element and shows the core idea: each element has a stiffness matrix that relates nodal displacements to nodal forces, and these are assembled into a global system of equations for the whole structure.

In short

The bar problem: what we are actually solving

Think of the bar as a long spring. It is fixed at the left end (x=0x = 0), pulled by a load distributed along its whole length (FxF_x, in N/m – for example self-weight) and by a point load PP at the right end (x=Lx = L). The question is: how far does each point move? The answer is the displacement field u(x)u(x).

Three simple relations give the whole theory:

  1. Kinematics – the strain is how fast the displacement changes along the bar: ε=u′(x)\varepsilon = u'(x).
  2. Material (Hooke's law) – the stress is proportional to the strain: σ=Eε\sigma = E\varepsilon.
  3. Equilibrium – look at a small piece dxdx: the normal force on each side and the load Fx dxF_x\,dx must cancel, N(x+dx)−N(x)+Fx dx=0N(x+dx) - N(x) + F_x\,dx = 0, so N′+Fx=0N' + F_x = 0.

Combining 1 and 2 gives the normal force N=σA=EA u′N = \sigma A = EA\,u'. Inserting into 3 gives the differential equation of the bar.

Strong form

−(EA u′)′=Fxfor 0<x<L-(EA\,u')' = F_x \qquad \text{for } 0 < x < L

with the boundary conditions

With constant EAEA, a uniform load Fx=qF_x = q and a point load PP we can solve directly:

u(x)=1EA((P+qL) x−12qx2)u(x) = \frac{1}{EA}\Big((P + qL)\,x - \tfrac12 q x^2\Big)
N(x)=EA u′(x)=P+q (L−x)N(x) = EA\,u'(x) = P + q\,(L - x)

The normal force is largest at the support, where the whole load P+qLP + qL must be carried.

Total potential energy

The finite element method is not built directly on the differential equation but on energy. The bar "chooses" the displacement that makes the total potential energy smallest:

Π(u)=12∫0LEA (u′)2 dx  −  ∫0LFx u dx  −  P u(L)\Pi(u) = \frac12\int_0^L EA\,(u')^2\,dx \;-\; \int_0^L F_x\,u\,dx \;-\; P\,u(L)

With the **L2L^2 inner product** (f,g)=∫0Lf g dx(f, g) = \int_0^L f\,g\,dx it gets shorter: Π(u)=12 (EA u′,u′)−(Fx,u)−P u(L)\Pi(u) = \tfrac12\,(EA\,u', u') - (F_x, u) - P\,u(L).

The principle of minimum potential energy: of all displacements satisfying u(0)=0u(0) = 0, the correct one gives the smallest Π\Pi. How to find the minimum of such a "function of a function" is in the unit on the weak form (Gateaux derivative).

From a continuous bar to springs

Split the bar into elements of length hh. Inside each element we let uu vary linearly between the two nodal values. Then the strain is constant, ε=(u2−u1)/h\varepsilon = (u_2 - u_1)/h, and the normal force is N=EAh(u2−u1)N = \frac{EA}{h}(u_2 - u_1). Each element behaves like a spring with stiffness EA/hEA/h:

Be=EAh(1−1−11),Fe=q h2(11)B^e = \frac{EA}{h}\begin{pmatrix}1 & -1\\ -1 & 1\end{pmatrix}, \qquad F^e = \frac{q\,h}{2}\begin{pmatrix}1\\ 1\end{pmatrix}

The load vector says that a uniform load qq on the element is shared equally between the two nodes. Both come from the integrals Bije=∫EA φi′φj′ dxB^e_{ij} = \int EA\,\varphi_i'\varphi_j'\,dx and Fie=∫Fx φi dxF^e_i = \int F_x\,\varphi_i\,dx (see the weak form).

Assembly step by step

  1. Number the nodes 0,1,…,M0, 1, \dots, M and the elements 1,…,M1, \dots, M. Element ee connects nodes e−1e-1 and ee. An element table says which global nodes each element uses.
  2. Start with a global matrix KK and a load vector f⃗\vec f full of zeros.
  3. For each element: add the four numbers of BeB^e into the rows and columns of the element's two nodes, and add FeF^e into the same rows of f⃗\vec f. Where two elements share a node, the contributions are summed.
  4. Add point loads straight into f⃗\vec f (here PP at the last node).
  5. Impose the boundary condition u0=0u_0 = 0: delete row and column 0. Only now is KK non-singular.
  6. Solve Ku⃗=f⃗K\vec u = \vec f. Compute the normal force in each element, Ne=EAh(ue−ue−1)N_e = \frac{EA}{h}(u_e - u_{e-1}), and the reaction from the row you deleted.

Example – two elements, uniform load and point load

A bar with EA=2000EA = 2000 kN and L=2L = 2 m is fixed at x=0x = 0. It carries a uniform load q=10q = 10 kN/m and a point load P=20P = 20 kN at the end. We use two elements with h=1h = 1 m.

  1. Each element: EA/h=2000EA/h = 2000 kN/m and Fe=10⋅12(1,1)=(5,5)F^e = \frac{10\cdot 1}{2}(1, 1) = (5, 5) kN.
  2. Global (nodes 0, 1, 2): K=(2000−20000−20004000−20000−20002000)K = \begin{pmatrix}2000 & -2000 & 0\\ -2000 & 4000 & -2000\\ 0 & -2000 & 2000\end{pmatrix} and f⃗=(5, 10, 25)\vec f = (5,\ 10,\ 25). Node 1 gets load from both elements (5+55 + 5), node 2 gets 55 plus the point load 2020.
  3. Delete node 0: (4000−2000−20002000)(u1u2)=(1025)\begin{pmatrix}4000 & -2000\\ -2000 & 2000\end{pmatrix}\begin{pmatrix}u_1\\ u_2\end{pmatrix} = \begin{pmatrix}10\\ 25\end{pmatrix}.
  4. The second row gives u2=u1+0.0125u_2 = u_1 + 0.0125. Into the first row: 2000 u1−25=102000\,u_1 - 25 = 10, so u1=0.0175u_1 = 0.0175 m and u2=0.0300u_2 = 0.0300 m.
  5. Normal forces: N1=2000⋅0.0175=35N_1 = 2000\cdot 0.0175 = 35 kN and N2=2000⋅0.0125=25N_2 = 2000\cdot 0.0125 = 25 kN. The reaction: row 0 gives −2000 u1=5+R-2000\,u_1 = 5 + R, so R=−40R = -40 kN – exactly the whole load qL+P=40qL + P = 40 kN, in the opposite direction.
  6. Check against the exact solution: u(1)=40−52000=0.0175u(1) = \frac{40 - 5}{2000} = 0.0175 and u(2)=80−202000=0.03u(2) = \frac{80 - 20}{2000} = 0.03. The nodal values are exact, and the element forces 3535 and 2525 kN equal the exact N(x)=40−10xN(x) = 40 - 10x at the middle of each element.
For a 1D bar with constant EAEA, linear elements and the correct (consistent) load vector, the nodal displacements are exact. Between the nodes uhu^h is a straight line, and the normal force is constant in each element – equal to the average of the exact normal force over the element.

How to solve the problems

  1. Set up the stiffness EA/LEA/L (or the given spring stiffness kk) for each element.
  2. Assemble: insert the element contributions into the correct rows/columns of the global matrix according to the node numbers.
  3. Apply the boundary conditions (remove rows/columns for fixed degrees of freedom, or set them to a known value).
  4. Solve Ku⃗=f⃗K\vec u = \vec f for the unknown displacements.
  5. Compute stress/strain and, if needed, reaction forces from the displacements.

Example

Two bar elements in series: element 1 has k1=800k_1 = 800 N/mm, element 2 has k2=400k_2 = 400 N/mm. Node 1 is fixed, and a force of 600 N acts at node 3 (the free end). Find u3u_3.

  1. The degree of freedom at node 1 is removed (u1=0u_1=0).
  2. The force at node 3 is transmitted through both elements in series, so the displacements add: u3=F/k1+F/k2u_3 = F/k_1 + F/k_2.
  3. u3=600/800+600/400=0.75+1.5=2.25u_3 = 600/800 + 600/400 = 0.75 + 1.5 = 2.25 mm.

Common mistakes

The stiffness matrix EA/L(1−1−11)EA/L\begin{pmatrix}1&-1\\-1&1\end{pmatrix} is the building block of FEM: assemble it for each element into a global matrix, apply the boundary conditions, and solve Ku⃗=f⃗K\vec u = \vec f.

Concepts in this part

Practise bar elements and stiffness matrices in the app →

2. Weak form and shape functions

What is it about?

To apply the finite element method to problems governed by differential equations (e.g. axial elasticity or heat conduction), we recast the "strong form" (the differential equation itself, which requires the solution to be smooth enough to differentiate twice) into a "weak form" by multiplying by a test function and integrating by parts. This lowers the smoothness requirement and is exactly what makes it possible to use simple, piecewise-linear shape functions within each element.

In short

The Gateaux derivative: when the energy is a function of a function

From mathematics you know the derivative: f′(x)=lim⁡θ→0f(x+θ)−f(x)θf'(x) = \lim_{\theta\to 0}\frac{f(x+\theta) - f(x)}{\theta}, and you find a minimum where f′(x)=0f'(x) = 0.

The energy Π(u)\Pi(u) takes a whole function u(x)u(x), not a number. We can still ask: *how much does Π\Pi change if we nudge the displacement a little in a direction v(x)v(x)?* That is the Gateaux derivative (directional derivative):

δΠ(u,v)=lim⁡θ→0Π(u+θv)−Π(u)θ=ddθ Π(u+θv)∣θ=0\delta\Pi(u, v) = \lim_{\theta\to 0}\frac{\Pi(u + \theta v) - \Pi(u)}{\theta} = \frac{d}{d\theta}\,\Pi(u + \theta v)\Big|_{\theta = 0}

Here uu is the "point" we stand at, vv is the direction (a variation or test function) and θ\theta is a small number. The direction must satisfy v(0)=0v(0) = 0, otherwise we would push the bar off its support.

Worked out for the bar

Insert u+θvu + \theta v into Π\Pi:

Π(u+θv)=12∫0LEA (u′+θv′)2 dx−∫0LFx (u+θv) dx−P (u(L)+θ v(L))\Pi(u + \theta v) = \frac12\int_0^L EA\,(u' + \theta v')^2\,dx - \int_0^L F_x\,(u + \theta v)\,dx - P\,\big(u(L) + \theta\,v(L)\big)

Expand the square, (u′+θv′)2=(u′)2+2θ u′v′+θ2(v′)2(u' + \theta v')^2 = (u')^2 + 2\theta\,u'v' + \theta^2 (v')^2, and collect powers of θ\theta:

Π(u+θv)=Π(u)+θ(∫0LEA u′v′ dx−∫0LFx v dx−P v(L))+θ22∫0LEA (v′)2 dx\Pi(u + \theta v) = \Pi(u) + \theta\Big(\int_0^L EA\,u'v'\,dx - \int_0^L F_x\,v\,dx - P\,v(L)\Big) + \frac{\theta^2}{2}\int_0^L EA\,(v')^2\,dx

Subtract Π(u)\Pi(u), divide by θ\theta and let θ→0\theta \to 0. The last term vanishes:

δΠ(u,v)=∫0LEA u′v′ dx−∫0LFx v dx−P v(L)\delta\Pi(u, v) = \int_0^L EA\,u'v'\,dx - \int_0^L F_x\,v\,dx - P\,v(L)

A minimum means zero in every direction

At a minimum no small change can lower the energy. So δΠ(u,v)=0\delta\Pi(u, v) = 0 for all admissible vv. That is the weak form:

Find u with u(0)=0 such that B(u,v)=F(v) for all v with v(0)=0\text{Find } u \text{ with } u(0) = 0 \text{ such that } B(u, v) = F(v) \text{ for all } v \text{ with } v(0) = 0
B(u,v)=∫0LEA u′v′ dx,F(v)=∫0LFx v dx+P v(L)B(u, v) = \int_0^L EA\,u'v'\,dx, \qquad F(v) = \int_0^L F_x\,v\,dx + P\,v(L)

From strong to weak form – and back

You get the same result without energy. Multiply the strong form −(EA u′)′=Fx-(EA\,u')' = F_x by a test function vv, integrate over the bar and integrate the left side by parts:

∫0LEA u′v′ dx−[EA u′ v]0L=∫0LFx v dx\int_0^L EA\,u'v'\,dx - \Big[EA\,u'\,v\Big]_0^L = \int_0^L F_x\,v\,dx

The boundary term: at x=0x = 0 we have v(0)=0v(0) = 0, and at x=Lx = L we have EA u′(L)=PEA\,u'(L) = P. This gives B(u,v)=F(v)B(u, v) = F(v) – the same weak form.

The way back shows why the natural boundary condition "comes for free". Integrating by parts backwards gives

∫0L(−(EA u′)′−Fx) v dx+(EA u′(L)−P) v(L)=0for all v\int_0^L\big(-(EA\,u')' - F_x\big)\,v\,dx + \big(EA\,u'(L) - P\big)\,v(L) = 0 \quad \text{for all } v

Both brackets must then be zero: the differential equation and the force condition at the end. The essential condition u(0)=0u(0) = 0, on the other hand, must be built into the function space.

Galerkin's method

We cannot try every function, so we pick a finite set: basis functions ψ1,…,ψn\psi_1, \dots, \psi_n with ψj(0)=0\psi_j(0) = 0, and look for

uh(x)=∑j=1nuj ψj(x)u^h(x) = \sum_{j=1}^{n} u_j\,\psi_j(x)

Galerkin: use the same functions as test functions, v=ψiv = \psi_i for i=1,…,ni = 1, \dots, n. Into the weak form:

∑j=1nB(ψj,ψi) uj=F(ψi)⟺Ku⃗=f⃗,Kij=B(ψi,ψj),fi=F(ψi)\sum_{j=1}^{n} B(\psi_j, \psi_i)\,u_j = F(\psi_i) \quad\Longleftrightarrow\quad K\vec u = \vec f, \qquad K_{ij} = B(\psi_i, \psi_j),\quad f_i = F(\psi_i)

The master element and the Jacobian

Instead of integrating over each physical element [x1,x2][x_1, x_2] of length hh, we do everything on one master element ξ∈[−1,1]\xi \in [-1, 1] and map. Linear shape functions on the master element:

φ1(ξ)=1−ξ2,φ2(ξ)=1+ξ2\varphi_1(\xi) = \frac{1 - \xi}{2}, \qquad \varphi_2(\xi) = \frac{1 + \xi}{2}

The mapping uses the same functions (isoparametric):

x(ξ)=x1 φ1(ξ)+x2 φ2(ξ),J=dxdξ=x2−x12=h2x(\xi) = x_1\,\varphi_1(\xi) + x_2\,\varphi_2(\xi), \qquad J = \frac{dx}{d\xi} = \frac{x_2 - x_1}{2} = \frac{h}{2}

Two rules do the rest:

The element matrix BeB^e

Bije=∫x1x2EA dφidx dφjdx dx=∫−11EA dφidξ dφjdξ 1J2 J dξB^e_{ij} = \int_{x_1}^{x_2} EA\,\frac{d\varphi_i}{dx}\,\frac{d\varphi_j}{dx}\,dx = \int_{-1}^{1} EA\,\frac{d\varphi_i}{d\xi}\,\frac{d\varphi_j}{d\xi}\,\frac{1}{J^2}\,J\,d\xi

With constant EAEA and dφ1dξ=−12\frac{d\varphi_1}{d\xi} = -\frac12, dφ2dξ=12\frac{d\varphi_2}{d\xi} = \frac12 we get B11e=EA⋅14⋅1J⋅2=EAhB^e_{11} = EA\cdot\frac14\cdot\frac1J\cdot 2 = \frac{EA}{h}, and likewise for the others:

Be=EAh(1−1−11)B^e = \frac{EA}{h}\begin{pmatrix}1 & -1\\ -1 & 1\end{pmatrix}

The element vector FeF^e

Fie=∫x1x2Fx φi dx=∫−11Fx(x(ξ)) φi(ξ) J dξF^e_i = \int_{x_1}^{x_2} F_x\,\varphi_i\,dx = \int_{-1}^{1} F_x\big(x(\xi)\big)\,\varphi_i(\xi)\,J\,d\xi

Quadratic elements

With three nodes (ξ=−1,0,1\xi = -1, 0, 1):

φ1=ξ(ξ−1)2,φ2=1−ξ2,φ3=ξ(ξ+1)2\varphi_1 = \frac{\xi(\xi - 1)}{2}, \qquad \varphi_2 = 1 - \xi^2, \qquad \varphi_3 = \frac{\xi(\xi + 1)}{2}

The same recipe (remember J=h/2J = h/2) gives

Be=EA3h(7−81−816−81−87),Fe=q h(1/62/31/6)B^e = \frac{EA}{3h}\begin{pmatrix}7 & -8 & 1\\ -8 & 16 & -8\\ 1 & -8 & 7\end{pmatrix}, \qquad F^e = q\,h\begin{pmatrix}1/6\\ 2/3\\ 1/6\end{pmatrix}

Note that a uniform load is not shared equally: the middle node gets 2/32/3 of the load.

Gauss quadrature on the master element

When EAEA or FxF_x varies, we evaluate the integrals numerically: ∫−11g(ξ) dξ≈∑kwk g(ξk)\int_{-1}^{1} g(\xi)\,d\xi \approx \sum_k w_k\,g(\xi_k).

Example – the Gateaux derivative of a simple functional

Let Π(u)=∫01(12(u′)2−u) dx\Pi(u) = \int_0^1\big(\tfrac12 (u')^2 - u\big)\,dx with u(0)=u(1)=0u(0) = u(1) = 0. Find the weak and the strong form.

  1. Π(u+θv)=Π(u)+θ∫01(u′v′−v) dx+θ22∫01(v′)2 dx\Pi(u + \theta v) = \Pi(u) + \theta\int_0^1 (u'v' - v)\,dx + \tfrac{\theta^2}{2}\int_0^1 (v')^2\,dx.
  2. So δΠ(u,v)=∫01(u′v′−v) dx\delta\Pi(u, v) = \int_0^1 (u'v' - v)\,dx. Weak form: ∫01u′v′ dx=∫01v dx\int_0^1 u'v'\,dx = \int_0^1 v\,dx for all vv with v(0)=v(1)=0v(0) = v(1) = 0.
  3. Integration by parts (the boundary term is zero because v=0v = 0 at both ends): ∫01(−u′′−1) v dx=0\int_0^1 (-u'' - 1)\,v\,dx = 0 for all vv, so −u′′=1-u'' = 1.
  4. The solution is u=12x(1−x)u = \tfrac12 x(1 - x). Check: u′′=−1u'' = -1 and u(0)=u(1)=0u(0) = u(1) = 0.

How to solve the problems

  1. Identify whether you need to interpolate a value (u=∑Niuiu=\sum N_iu_i), evaluate a shape function at a point, or integrate numerically.
  2. For interpolation: find the correct ξ\xi (normalized position) and substitute into N1,N2N_1, N_2.
  3. For Gauss quadrature: substitute the quadrature points into the integrand, multiply by the weights and sum.
  4. Remember the Jacobian when switching from physical coordinates to reference coordinates in an integral.

Example

Use 2-point Gauss quadrature (ξ=±1/3\xi=\pm1/\sqrt3, weight 1 each) to evaluate ∫−11(2ξ2+3) dξ\int_{-1}^{1}(2\xi^2+3)\,d\xi.

  1. f(1/3)=2⋅(1/3)+3=3.667f(1/\sqrt3) = 2\cdot(1/3)+3 = 3.667, and f(−1/3)f(-1/\sqrt3) is the same since ξ2\xi^2 is unchanged.
  2. The sum: 1⋅3.667+1⋅3.667=7.3331\cdot3.667+1\cdot3.667 = 7.333.
  3. Check: the exact value is ∫−11(2ξ2+3)dξ=4/3+6=7.333\int_{-1}^1(2\xi^2+3)d\xi = 4/3+6 = 7.333 – since the integrand has degree 2 (≤3\le 3), 2-point Gauss is exact.

Common mistakes

The weak form lowers the smoothness requirement via integration by parts; the shape functions interpolate the solution and sum to 1, and Gauss quadrature with nn points is exact up to degree 2n−12n-1.

Concepts in this part

Practise weak form and shape functions in the app →

3. Element types, meshing and error

What is it about?

Choosing the right element type and building a good mesh (network of elements) is crucial for whether an FEM analysis gives an accurate and trustworthy answer. This unit covers what element types exist, how a mesh is refined, what sources of error exist, and how to check that a model is correct.

In short

How good is the FEM solution?

In short: Galerkin finds the best solution possible with the functions you have given it – measured in energy. More or better elements give a better set to choose from.

Galerkin orthogonality

The exact solution satisfies B(u,v)=F(v)B(u, v) = F(v) for all vv, including functions vhv^h in the element space. The FEM solution satisfies B(uh,vh)=F(vh)B(u^h, v^h) = F(v^h). Subtract:

B(u−uh, vh)=0for all vhB(u - u^h,\ v^h) = 0 \qquad \text{for all } v^h

The error is "perpendicular" to the whole element space, measured with BB.

Best approximation in the energy norm

The energy norm is ∥v∥E=B(v,v)\|v\|_E = \sqrt{B(v, v)} – the square root of twice the strain energy. Orthogonality gives

∥u−uh∥E=min⁡vh ∥u−vh∥E\|u - u^h\|_E = \min_{v^h}\ \|u - v^h\|_E

No other function in the element space is closer to the exact solution, measured in energy (Céa's lemma for symmetric problems).

FEM is too stiff

For any admissible ww we have Π(w)=Π(u)+12∥w−u∥E2\Pi(w) = \Pi(u) + \tfrac12\|w - u\|_E^2. With w=uhw = u^h:

Π(uh)=Π(u)+12 ∥u−uh∥E2  ≥  Π(u)\Pi(u^h) = \Pi(u) + \tfrac12\,\|u - u^h\|_E^2 \;\ge\; \Pi(u)

So FEM always gives too high a potential energy. That means the work of the loads F(uh)=B(uh,uh)F(u^h) = B(u^h, u^h) is too small: the model is too stiff, and the displacements are on average too small. More elements make the model softer and closer to the true answer.

Rate of convergence

For elements of degree pp, element size hh and a smooth exact solution:

Halving hh with linear elements (p=1p = 1) halves the energy error and makes the displacement error about a quarter. With quadratic elements (p=2p = 2) they become a quarter and an eighth.

How to check a model

  1. Run with a coarse mesh, halve the element size and compare. If the result barely changes, it has converged.
  2. Check equilibrium: the sum of the reaction forces must equal the sum of the loads.
  3. Look for stress peaks at sharp re-entrant corners. They are singularities of the model and grow as the mesh is refined – model a real radius instead.

How to solve the problems

  1. Identify which error source or element property the question concerns: element type, refinement, continuity, or singularity.
  2. For DOF counting: multiply the number of nodes by the degrees of freedom per node for the element type.
  3. For convergence: use O(hp+1)O(h^{p+1}) to compute how much smaller the error becomes when hh changes.
  4. Remember that the mesh should be finest where the stress gradients are largest, not spread evenly everywhere.

Example

A model with 3D beam elements (6 degrees of freedom per node) has 25 nodes. The displacement error scales as O(h2)O(h^2) (linear elements, p=1p=1). How many degrees of freedom does the model have, and by what factor does the error shrink if hh is divided by 2?

  1. Degrees of freedom: 25⋅6=15025\cdot 6 = 150.
  2. Error factor: 21+1=42^{1+1} = 4 times smaller error.

Common mistakes

A finer mesh and a higher element order give convergence (O(hp+1)O(h^{p+1})), except at singularities. Always check the result with a convergence study and a check of the reaction forces.

Concepts in this part

Practise element types, meshing and error in the app →

Example problems with solutions

Here are some of the problems in finite Element Method. In the app, calculation problems get new numbers every time, so you can practise until it sticks – and take a practice exam with an indicative grade as you prepare for the exam.

Bar elements and stiffness matrices: What is the stiffness matrix of a linear bar element (1D)?

Answer: EAL(1−1−11)\dfrac{EA}{L}\begin{pmatrix}1&-1\\-1&1\end{pmatrix}

It is symmetric, and singular for a single element on its own.

Weak form and shape functions: What do you gain by rewriting to the weak form?

Answer: Lower differentiability requirements: one derivative is moved onto the test function

You integrate by parts.

Element types, meshing and error: What characterizes a CST element (linear triangle)?

Answer: Constant strain and stress in the whole element

It needs a fine mesh where stress gradients are large.

Bar elements and stiffness matrices: Why is the global stiffness matrix singular before the boundary conditions are applied?

Answer: The structure can move as a rigid body

Enough degrees of freedom must be locked to prevent rigid-body motion.

Practise all the problems →

Matches these university courses

The content follows the syllabus found in, for example: