UNIHIVE

Study Hub UNIPORT MEG 303

MEG 303 · Strength of Materials II

Computational methods: the finite element idea

Why numerical methods are used, the stiffness method for bar elements, assembling and solving, and using analysis software wisely.

Our notes

2 min read

Why computational methods?

Hand formulas cover simple shapes and loads. Real parts (brackets with holes, welded joints, pressure vessel nozzles) need numerical methods. The finite element method (FEM) divides the body into small elements, writes simple equations for each, and assembles them into a large system solved by computer.

The stiffness idea

For a bar element of length L, area A and modulus E, joining nodes i and j:
[f_i; f_j] = (AE/L) [[1, −1], [−1, 1]] [u_i; u_j]
The 2 × 2 matrix is the element stiffness matrix. Elements sharing a node add their stiffness terms there.

Steps of a finite element analysis

  1. Idealise: decide 1D, 2D or 3D; choose element types (bars, beams, shells, solids).
  2. Mesh: divide into elements; finer near holes and corners.
  3. Element matrices from material properties and geometry.
  4. Assemble the global stiffness matrix K.
  5. Apply boundary conditions (supports) and loads.
  6. Solve K u = F for nodal displacements u.
  7. Post-process: strains and stresses from u; reactions.

Worked example: two bars in series

Bar 1 (node 1 to 2): A = 100 mm², L = 500 mm; bar 2 (node 2 to 3): A = 50 mm², L = 500 mm; E = 200 GPa. Node 1 fixed; 6 kN pulls at node 3.

  • k₁ = 100 × 200,000/500 = 40,000 N/mm; k₂ = 50 × 200,000/500 = 20,000 N/mm.
  • With u₁ = 0, the reduced system is [[k₁ + k₂, −k₂], [−k₂, k₂]] [u₂; u₃] = [0; 6,000].
  • Solving: u₂ = 6,000/40,000 = 0.15 mm; u₃ = 0.15 + 6,000/20,000 = 0.45 mm.
  • Stresses: bar 1 = 6,000/100 = 60 MPa; bar 2 = 6,000/50 = 120 MPa.
  • Reaction at node 1 = −k₁u₂ = −6 kN ✓ (equilibrium).

The same steps, with thousands of elements, give stresses in complex parts.

Other numerical methods

  • Finite differences: replace derivatives by differences on a grid (used for plates, heat conduction).
  • Boundary element method: meshes only the surface.
  • Spreadsheets and short programs (Python, MATLAB) for beam deflections, column curves and Mohr's circle.

Using software wisely

Packages (ANSYS, Abaqus, SolidWorks Simulation, Autodesk Inventor, the open-source CalculiX and Code_Aster) give coloured stress plots easily, but:

  • Garbage in, garbage out: wrong supports or units give confident nonsense.
  • Check results against a hand calculation or a simple case.
  • Refine the mesh until results stop changing (convergence).
  • Stresses at sharp re-entrant corners keep rising with refinement (a singularity): use fillets or fracture methods.
  • Linear analysis assumes small deflections and elastic material.

Exams usually ask

  • Derive the stiffness matrix of a bar element; assemble and solve a two- or three-element problem.
  • List the steps of a finite element analysis and the checks on its results.

Common mistake

Solving K u = F before applying the supports. The assembled K is singular (the structure can move as a rigid body) until boundary conditions remove that freedom.

Written by the UniHive team in our own words. Spotted a mistake? Tell us on WhatsApp.

Read

Watch

We link to free material and never copy it. Every link was opened by our team before it went up; video data is a rough guide at 360p.

All MEG 303 topics

Report

Sign in to report this. It is free.

Is this your work (a lecturer, author or publisher)? Ask us to take it down.