OpenSeesPy Quick Start - Build a Parametric Continuous Beam Calculator (with hinges)
![[object Object]](/_next/image?url=%2Fimages%2Fauthors%2Fsean_carroll.png&w=256&q=75)
1.0 Introduction
In this tutorial, we’ll build a continuous beam analysis script using OpenSeesPy. We'll also build in the ability to specify rotational hinges within our continuous beam.
Multi-span continuous beams are so common that it makes sense to have a script in our toolbox to very quickly generate the shear force diagram, bending moment diagram, reactions and deflected shape.
Analysing them by hand takes forever, and even setting them up for analysis in commercial software packages can feel needlessly laborious. This is where having a simple analysis script comes in handy - quickly plug in the beam geometry and loading information, hit Run, and you’re done!
Once you complete this tutorial, you’ll have built this script. Work through it with me now, step by step, or download the completed code from the resource panel above.
If you prefer a video run-through to reading, I have a full tutorial video that walks through each code block 👇
This is one of a number of tutorials on EngineeringSkills exploring the OpenSeesPy library. If you’re completely new to OpenSeesPy, go back to the first tutorial here, where I introduce the library.
This continuous beam project follows on very closely from this tutorial where we analysed a simple 2D moment frame. Make sure to check that out before you work through this. In fact, the OpenSeesPy portion of the build will be very similar - what’s new in this tutorial is:
- how we handle some of the structure parameterisation,
- the inclusion of rotation hinges.
Our plan will be to define the structural parameters (material, geometry and loading) first. Then we’ll dive into building the OpenSeesPy model, tackling the parameterisation as we define various parts of the model.
Ok, let’s get into the build!
Engineering tutorials,
written by an engineer — not a model.
Read the rest, download the resources and unlock the full archive. This is independent, human-crafted engineering content. An Essentials Membership gets you access to all member-only tutorials and helps keep the lights on for a learning platform built by engineers, for engineers.
Essentials Membership
- Instant access to the full archive
- 28-day refund, no questions
- Cancel anytime
- Your card and subscription are handled by Stripe
Already a member? Log in
Featured Tutorials and Guides
If you found this tutorial helpful, you might enjoy some of these other tutorials.
Truss Analysis using the Method of Joints and Method of Sections
Using the method of sections and method of joints to work out the internal forces in statically determinate trusses

Dr Seán Carroll
Steel Beam Design - A Step-by-Step Guide using Eurocode 3
Explore the what, why and how of steel beam design in this complete introductory guide.

Callum Wilson
Plate Girder Design to Eurocode 3
A step-by-step guide to the design of code-compliant steel plate girders.

Callum Wilson



