Python Projects

Simulating crowd vibrations using the Duhamel Integral

In this Python mini-project, you’ll learn about the Duhamel Integral and how it can be used to simulate the dynamic response of a single degree of freedom system. We’ll discuss how to solve the integral and then write some Python code to implement our solution for any arbitrary loading. In the second half of this project, we’re going to use our Duhamel Integral solver to build a crowd loading simulation. This will allow us to simulate the vibration response of a footbridge to pedestrian traffic.

Building a Beam Deflection Calculator in Python

In this project, we’ll build a beam deflection calculator that can generate beam deflections by directly integrating the bending moment diagram. The technique we’ll use for calculating deflection in this project is not limited to statically determinate structures, although you will need a complete bending moment diagram to integrate. This project builds on our previous Shear Force and Bending Moment Calculator project. So at the end of this project, the final result will be a complete beam analysis code that calculates beam reactions, shear forces, bending moments and deflections.

Building a Shear Force and Bending Moment Diagram Calculator in Python

In this project we’re going to build a Shear Force and Bending Moment Diagram calculator using Python in the Jupyter Notebook development environment. Generating the shear force and bending moment diagram for a simple beam with anything other than basic loading can be a tedious and time-consuming process. Once you finish this project, you’ll have a calculator that can produce shear force and bending moment diagrams at the push of a button.

Building a Mohr’s Circle Calculator for Stress Analysis in Python

In this Python project we’re going to build a Mohr’s Circle calculator. By the end of this project, you will have built your own stress analysis Python code. Along the way we’ll cover all of the fundamental topics that lead up to Mohr’s circle of stress. You will learn about how we use the 2D stress element to represent the state of stress at a point, the purpose of stress transformation equations, principal stresses and principal planes planes and of course Mohr’s circle!