3.6.18Spacecraft Structures & Systems Engineering

Finite element method — nodes, elements, stiffness matrix

2,507 words11 min readdifficulty · medium6 backlinks

Why FEM Exists

Real spacecraft structures have complex geometries: curved panels, ribs, cutouts for equipment. Solving the partial differential equations of elasticity for these shapes analytically is impossible for anything beyond textbook examples.

FEM's philosophy: discretization. Replace the continuous structure (infinite degrees of freedom) with a finite collection of simple shapes whose behavior we can calculate exactly.

The Three Pillars

1. Nodes

Why nodes? We can't track displacement at every point—that's infinite unknowns. By tracking only at nodes and interpolating between them, we reduce the problem to a finite set of equations.

Physical meaning: Each node represents a physical location. Applied forces/moments go on nodes. Boundary conditions (fixed supports) constrain node displacements.

2. Elements

Common spacecraft elements:

  • Beam elements: 2 nodes, models truss members, longerons
  • Shell elements: 3-4 nodes, models thin panels, skin
  • Solid elements: 4-8 nodes, models thick blocks, joints

Shape Functions — The Interpolation Magic

For a2-node beam element with nodes1 and 2, the displacement u(x)u(x) at any point xx along the element is:

u(x)=N1(x)u1+N2(x)u2u(x) = N_1(x) u_1 + N_2(x) u_2

where shape functions N1,N2N_1, N_2 are chosen so:

  • N1=1N_1 = 1 at node 1, N1=0N_1 = 0 at node 2
  • N2=0N_2 = 0 at node 1, N2=1N_2 = 1 at node 2
  • N1+N2=1N_1 + N_2 = 1 everywhere (partition of unity)

For linear interpolation over length LL:

N1(x)=1xL,N2(x)=xLN_1(x) = 1 - \frac{x}{L}, \quad N_2(x) = \frac{x}{L}

Why this works: At the nodes, we get exact values. Between nodes, we get a smooth blend. This turns a continuous field into a function of just the node values.

3. Stiffness Matrix

Derivation from First Principles (1D Bar Element)

Consider a uniform bar, length LL, cross-section AA, Young's modulus EE. Two nodes, each with 1 DOF (axial displacement).

Step 1: Displacement field using shape functions

u(x)=N1(x)d1+N2(x)d2=(1xL)d1+xLd2u(x) = N_1(x) d_1 + N_2(x) d_2 = \left(1 - \frac{x}{L}\right) d_1 + \frac{x}{L} d_2

Step 2: Strain-displacement relation

ϵ(x)=dudx=1Ld1+1Ld2=1L(d2d1)\epsilon(x) = \frac{du}{dx} = -\frac{1}{L} d_1 + \frac{1}{L} d_2 = \frac{1}{L}(d_2 - d_1)

Why this step? Strain is the gradient of displacement. Our linear shape functions produce constant strain in the element (acceptable for small elements).

Step 3: Stress from Hooke's law

σ=Eϵ=EL(d2d1)\sigma = E\epsilon = \frac{E}{L}(d_2 - d_1)

Step 4: Internal force

Finternal=σA=EAL(d2d1)F_{internal} = \sigma \cdot A = \frac{EA}{L}(d_2 - d_1)

Step 5: Equilibrium at nodes

Node 1 experiences tension from element: F1=Finternal=EAL(d2d1)=EAL(d1d2)F_1 = -F_{internal} = -\frac{EA}{L}(d_2 - d_1) = \frac{EA}{L}(d_1 - d_2)

Node 2 experiences compression: F2=+Finternal=EAL(d2d1)F_2 = +F_{internal} = \frac{EA}{L}(d_2 - d_1)

Why opposite signs? Newton's third law—element pulls on node 1 as node 1 pulls on element.

Step 6: Matrix form

[F1F2]=EAL[1111][d1d2]\begin{bmatrix} F_1 \\ F_2 \end{bmatrix} = \frac{EA}{L} \begin{bmatrix} 1 & -1 \\ -1 & 1 \end{bmatrix} \begin{bmatrix} d_1 \\ d_2 \end{bmatrix}

The element stiffness matrix is:

Global Assembly

Each element contributes to nodes it connects. For a structure with NN nodes and multiple elements:

  1. Create global stiffness matrix Kglobal\mathbf{K}_{global} (size N×NN \times N for 1D, 6N×6N6N \times 6N for 3D)
  2. For each element, map element DOFs to global DOFs
  3. Add Ke\mathbf{K}^e entries to corresponding global positions

Example: Element connecting global nodes 2 and 5. Its K11eK^e_{11} adds to Kglobal,22K_{global,22}, K12eK^e_{12} adds to Kglobal,25K_{global,25}, etc.

The FEM Workflow

  1. Preprocessing: Define geometry, create mesh (place nodes, define elements), assign material properties, apply loads/BCs
  2. Element calculations: Compute Ke\mathbf{K}^e for each element (use analytical formulas or numerical integration for complex shapes)
  3. Assembly: Build global K\mathbf{K}
  4. Boundary conditions: Eliminate rows/columns for fixed DOFs (or use penalty method)
  5. Solve: Kd=F\mathbf{K}\mathbf{d} = \mathbf{F} (typically sparse matrix solver, since most nodes don't connect to most other nodes)
  6. Postprocessing: Calculate strains, stresses from d\mathbf{d}; check Von Mises stress, plot deformed shape

Convergence & Mesh Refinement

FEM is an approximation. Accuracy improves with:

  • More elements (h-refinement): Smaller elements → better capture of gradients
  • Higher-order shape functions (p-refinement): Quadratic/cubic interpolation instead of linear

Rule of thumb: Place more elements where stress gradients are high (near holes, filets, joints).

Energy Interpretation

The stiffness matrix emerges from minimizing potential energy. For a structure:

Π=UstrainWexternal\Pi = U_{strain} - W_{external}

where strain energy:

U=12dTKdU = \frac{1}{2} \mathbf{d}^T \mathbf{K} \mathbf{d}

At equilibrium, Πdi=0\frac{\partial \Pi}{\partial d_i} = 0 for all iiKd=F\mathbf{K}\mathbf{d} = \mathbf{F}.

Why this matters: FEM guarantees we find the displacement field with lowest total energy consistent with BCs. This is nature's actual behavior (minimum energy principle).

Recall Explain to a 12-year-old

Imagine a spacecraft panel as a trampoline. When you stand on it, it bends in a complicated curved shape. How do we calculate that curve?

We can't solve the "bending equation" for the whole trampoline at once—it's too hard. So we cheat:

  1. Cut the trampoline into tiny squares (elements). Each square is so small, we can pretend it bends in a simple way—like connecting corners with straight lines.
  2. Mark the corners (nodes). We'll calculate how much each corner moves down.
  3. Each tiny square acts like a spring. If you push one corner down, the square pushes back—that's its "stiffness." Stiffer squares (thicker material) push back harder.
  4. Connect all the springs. Corners where squares meet have multiple springs attached—their stiffnesses add up.
  5. Solve the spring system. If I apply100 N at one corner and hold another corner fixed, how much does each corner move? That's just spring equations—easy!
  6. Make squares smaller. The smaller the squares, the closer our straight-line approximation matches the real smooth curve.

That's FEM: Turn a hard "continuous" problem into many easy "discrete" spring problems. Spacecraft engineers use this to predict if a satellite panel will crack under launch vibrations—without building and testing 100 protypes.

Connections

  • 3.6.1-Stress-and-strain-in-structural-members — FEM solves for these quantities
  • 3.6.5-Buckling-of-columns-and-shells — Eigenvalue problem: (KλKG)ϕ=0(\mathbf{K} - \lambda \mathbf{K}_G)\boldsymbol{\phi} = 0
  • 3.6.12-Modal-analysis-and-natural-frequencies(Kω2M)ϕ=0(\mathbf{K} - \omega^2 \mathbf{M})\boldsymbol{\phi} = 0, same K\mathbf{K} + mass matrix
  • 2.4.8-Numerical-methods-for-differential-equations — FEM is the spatial discretization for PDEs
  • 3.7.4-Thermal-analysis-of-spacecraft-components — Same FEM framework, replace stiffness with conductance

#flashcards/physics

Question: What is the fundamental idea behind the finite element method? :: Replace a continuous structure (infinite unknowns) with a finite mesh of simple elements connected at nodes (finite unknowns), where displacement is interpolated within each element using shape functions.

Question: Why is the element stiffness matrix singular before applying boundary conditions?
Because the structure can undergo rigid body motion (translation/rotation) with zero strain energy. Without constraints, there are infinite solutions—the system is underconstrained.
Question: Derive the 1D bar element stiffness matrix Ke=EAL[1111]\mathbf{K}^e = \frac{EA}{L}\begin{bmatrix}1 & -1\\-1 & 1\end{bmatrix} from first principles.
(1) Displacement u(x)=N1d1+N2d2u(x) = N_1 d_1 + N_2 d_2 with linear shape functions. (2) Strain ϵ=du/dx=(d2d1)/L\epsilon = du/dx = (d_2-d_1)/L. (3) Stress σ=Eϵ\sigma = E\epsilon. (4) Force F=σA=EA(d2d1)/LF = \sigma A = EA(d_2-d_1)/L. (5) Equilibrium: node 1 gets F-F, node 2 gets +F+F. (6) Write as matrix relating [F1,F2]T[F_1, F_2]^T to [d1,d2]T[d_1, d_2]^T.
Question: In global assembly, if node 5 is shared by 3 elements, how is its row in Kglobal\mathbf{K}_{global} populated?
Add contributions from all 3 element stiffness matrices—the stiffnesses of springs connected to node 5 sum up. That's why shared nodes often have larger diagonal entries in K\mathbf{K}.
Question: What two types of mesh refinement improve FEM accuracy?
h-refinement (more elements, smaller size) captures steep gradients better. p-refinement (higher-order shape functions like quadratic) approximates smooth variations better without adding nodes.
Question: Why must you check element quality, not just element count?
Badly shaped elements (extreme aspect ratio, sharp angles) cause numerical errors and nonsense results even in a dense mesh. Quality metrics like aspect ratio < 10 and skewness < 0.5 are critical.
Question: What is the energy interpretation of Kd=F\mathbf{K}\mathbf{d} = \mathbf{F}?
It's the condition for minimum total potential energy Π=12dTKdFTd\Pi = \frac{1}{2}\mathbf{d}^T\mathbf{K}\mathbf{d} - \mathbf{F}^T\mathbf{d}. Setting Πdi=0\frac{\partial\Pi}{\partial d_i} = 0 gives the equilibrium equation. FEM finds the displacement field that minimizes energy.
Question: For a 3D structure with NN nodes and 6 DOF per node, what is the size of Kglobal\mathbf{K}_{global} before applying BCs?
6N×6N6N \times 6N. Each node has translations (ux,uy,uz)(u_x, u_y, u_z) and rotations (θx,θy,θz)(\theta_x, \theta_y, \theta_z), so 6 equations per node.

Concept Map

motivates

core of

built from

built from

built from

track

connect

interpolate via

blend

yields

relates F to d

assembled predicts

Elasticity PDEs unsolvable

Discretization

Finite Element Method

Nodes

Elements

Stiffness Matrix

Displacements and Rotations 6 DOF

Shape Functions

Element Stiffness K e

Structure Deformation

Hinglish (regional understanding)

Intuition Hinglish mein samjho

Finite Element Method (FEM) spacecraft structures ke liye ek powerful computational technique hai. Socho ki tumhare pas ek complex satellite panel hai—curved shape, holes, different materials. Isko pura solve karna direct equations se impossible hai. FEM ka idea simple hai: badi problem ko chhote-chhote simple pieces mein tod do.

Pehle, structure ko "nodes" aur "elements" mein divide karo. Nodes wo points hain jahan hum displacement (kitna movehua) calculate karte hain—jaise coordinates on a map. Elements wo simple shapes hain (triangles, rectangles) jo nodes ko connect karte hain. Har element ke andar, displacement smoothly vary karta hai "shape functions" use karke—jaise straight lines se curve ko approximate karna.

Phir har element ka "stiffness matrix" nikalo—ye basically bata hai kiagar ek node pe force lagao, to kitna deform hoga. Ye sab elements ke matrices ko combine karke ek bada "global stiffness matrix" banao. Boundary conditions apply karo (kahan fixed hai, kahan load hai), aur phir solve karo: displacement = stiffness^(-1) × force. Result: har node pe kitna displacement aur structure mein kahan zyada stress hai—ye sab without physical testing ke mil jata hai! Mesh refinement se accuracy improve hoti hai: jahan stress concentration hai (jaise hole ke pas) wahan chhote elements rakho. FEM se engineers launch se pehle hi predict karlete hain ki satellite structure survive karega ya crack hoga—billions ki baat hai, isliye ye method itna important hai aerospace industry mein.

Go deeper — visual, from zero

Test yourself — Spacecraft Structures & Systems Engineering

Connections