Yordan Rocio Maldonado
Vol. I · 2026Published by SeismoVant

Engineering Notes

A structural engineer's logbook: step-by-step designs, Python automation and lessons learned in seismic and bridge engineering.
By Yordan Rocio Maldonado

45.0060.0045.00 E1 P1 P2 E2

Featured · Automation & code · Structural analysis

Automating a beam with Python, from scratch

We have all computed a simply supported beam by hand. In this first part we move it to Python, line by line, and see what a calculator cannot do: compute twenty beams in one second.

N.º 02 5 min read Read note →

  1. 09

    Design log · Seismic

    Springs in series: the bearing sets the period too

    A bridge pier is not just a column: bearings sit on top and a foundation sits below, and all three deform. In a typical case, adding them takes the period from 1.3 s to 1.9 s.

    5 min read

  2. 08

    Lesson learned · Seismic

    Rayleigh with a fixed β: every model in your database gets different damping

    Copying the same damping coefficient into every model looks neutral, but it is not: a flexible structure ends up with 1.5% and a stiff one with 5%. I explain where that comes from and how to fix it.

    3 min read

  3. 07

    Lesson learned · OpenSees

    My OpenSees database would not reproduce: the material remembered the previous model

    I reran 20 analyses with the same code and the same inputs, and none matched. The cause was a material that keeps memory between models when they run in the same Python process. The fix is one line.

    3 min read

  4. 06

    Design log · Dams

    Koyna Dam, 1967: why a concrete dam cracks at the "neck"

    In 1967 an earthquake cracked Koyna Dam, in India, right where its downstream face changes slope. I modeled it in OpenSees and the video shows how that damage appears, second by second.

    3 min read

  5. 05

    Code reading · Codes

    Elastomeric bearings per AASHTO §14.7.5.3.3: shear strain, step by step

    A bearing fails when its rubber layers shear too much. AASHTO puts compression, rotation and displacement into one sum. I explain it from scratch and work it out for a 350 × 450 mm bearing.

    3 min read

  6. 04

    Lesson learned · OpenSees

    dispBeamColumn or forceBeamColumn: the element that moves your shear by 56%

    OpenSees lets you model a column with two element types that look equivalent. Against a real test, one got the shear within 1% and the other overshot by 56%. I explain why, starting from the basic idea.

    3 min read

  7. 03

    Design log · Seismic

    You do not design the cap beam with the reduced force: capacity protection

    In seismic design we choose which part of the bridge gets damaged, like a fuse. Everything else is designed for what that fuse can transmit. In a two-column bent, that is almost twice what the analysis says.

    3 min read

  8. 01

    Opinion · Practice

    Why I write these notes

    For ten years I have kept notebooks on how I design, what I automate and which mistakes I make. This is the public version: a log of design, automation and lessons learned.

    2 min read

On video

Dams

Koyna Dam, 1967: why a concrete dam cracks at the "neck"

In 1967 an earthquake cracked Koyna Dam, in India, right where its downstream face changes slope. I modeled it in OpenSees and the video shows how that damage appears, second by second.

Read the full note →

Coming next

  • Pine Flat: the reservoir pushes too
  • Pine Flat under Taft 1952, against 8 firms
  • Hardfill dam with a 50% stronger earthquake

Try the beam

Move the inputs and watch moment, shear and deflection change. Simply supported concrete beam, 30 cm wide.

Maximum moment135kN·m
Maximum shear75kN
Midspan deflection3.5mm · L/1700
Moment diagram

Deflection uses the uncracked section: the real one is larger. How to code this, step by step →

Ongoing series

Automating structural calcs with Python

1 of 6 published

  1. Automating a beam with Python, from scratch
  2. Moment and shear diagramscoming soon
  3. Flexural design and bar selectioncoming soon
  4. Continuous beam by the stiffness methodcoming soon
  5. A hundred beams from a spreadsheetcoming soon
  6. A Word design reportcoming soon