We now have the assembled global system $[K]\{u\} = \{F\}$. But this system is singular — the stiffness matrix has no inverse because the structure can undergo rigid body motion. We must apply boundary conditions to constrain the structure before we can solve.
Types of Boundary Conditions
1. Displacement (Essential) Boundary Conditions
These specify known values of the primary variable:
The reaction at the fixed support equals the applied load (equilibrium ✓).
Solving the System
Once boundary conditions are applied, we solve $[K]\{u\} = \{F\}$.
Compare direct and iterative solving approaches. Watch how Gaussian elimination and iterative methods converge to the solution.
Direct Solvers
Compute the exact solution (to machine precision):
Gaussian Elimination / LU Decomposition:
Factor $[K] = [L][U]$
Forward solve $[L]\{y\} = \{F\}$
Back solve $[U]\{u\} = \{y\}$
Complexity: $O(n^3)$ for dense, $O(nb^2)$ for banded (bandwidth $b$)
When to use: Small to medium problems (<100,000 DOFs)
Iterative Solvers
Converge to the solution through successive approximations:
Common Methods:
Conjugate Gradient (CG) — for symmetric positive definite
GMRES — for general matrices
Multigrid — optimal $O(n)$ complexity
Complexity: $O(n \cdot k)$ where $k$ = iterations to converge
When to use: Large problems (>100,000 DOFs), especially 3D
Preconditioners
Iterative solvers converge faster with preconditioning:
$$[M]^{-1}[K]\{u\} = [M]^{-1}\{F\}$$
Common preconditioners:
Incomplete LU (ILU)
Incomplete Cholesky (ICC)
Algebraic Multigrid (AMG)
Post-Processing: Computing Results
After solving for displacements, compute derived quantities:
1. Strains
$$\{\varepsilon\} = [B]\{u\}$$
For each element, use its nodal displacements and B-matrix.
2. Stresses
$$\{\sigma\} = [D]\{\varepsilon\} = [D][B]\{u\}$$
3. Reaction Forces
At constrained nodes:
$$\{F_{reaction}\} = [K]\{u\} - \{F_{applied}\}$$
4. Strain Energy
$$U = \frac{1}{2}\{u\}^T[K]\{u\}$$
Common Mistakes
Missing constraints: Forgetting to constrain enough DOFs leads to singular matrix
Overconstrained: Applying conflicting constraints (e.g., fixed + prescribed displacement at same DOF)
Wrong DOF constrained: Constraining rotation when translation should be fixed
Symmetry errors: Forgetting to constrain normal displacement at symmetry planes
Unit mismatch: Forces in N but stiffness in kN/mm
Verification Checklist
After solving, always check:
[ ] Equilibrium: Sum of reactions = sum of applied loads
[ ] Displacement sanity: Signs and magnitudes make physical sense
[ ] Stress continuity: Stresses don't jump wildly between elements (mesh refinement issue)
[ ] Energy balance: External work = internal strain energy
Key Takeaways
Boundary conditions remove rigid body modes and make the system solvable
Displacement BCs (essential) specify known $u$ values
Force BCs (natural) specify known $F$ values
Partitioning is exact — separates free and constrained DOFs
Penalty method is simple but approximate — adds large stiffness
Lagrange multipliers are exact — increase system size
Direct solvers ($O(n^3)$) for small problems; iterative for large
Post-processing computes strains, stresses, and reactions from $\{u\}$
What's Next
With the 1D formulation complete, we're ready to extend to 2D elements. We'll see how triangular and quadrilateral elements work and how shape functions generalize to two dimensions.
Career Growth
3,000+ Engineers Placed in Top Companies
Join the ranks of successful engineers at Bosch, Tata, L&T, and 500+ hiring partners.