Solid Mechanics

The preceding parts of this book treat forces, moments and motion as if bodies were perfectly rigid. In reality, every structural member deforms under load: beams bend, rods stretch, and shafts twist. Solid mechanics, also called mechanics of materials, studies the relationship between the forces applied to a body and the internal stresses and strains that result. The central insight is that force alone does not determine whether a structure fails; what matters is force per unit area, the stress, and how it compares to the material’s capacity to resist it.

We begin with the conceptual foundations: why stress is a more meaningful measure than force, what assumptions allow us to simplify real three-dimensional bodies into tractable models, and where the boundary lies between problems that yield to hand calculation and those that demand computational methods. This discussion motivates the finite element approach that dominates modern structural analysis.

We then develop a concrete computational method from the ground up. The direct stiffness method for truss analysis expresses equilibrium and compatibility in the language of linear algebra, assembling element stiffness matrices into a global system and solving the resulting equations with Python. This systematic approach, which generalizes naturally to beams, frames and arbitrary finite element meshes, replaces the ad-hoc equilibrium equations of classical truss analysis with a procedure that scales to structures of any size and complexity.