Daniel MadeleyComputational engineer
← Writing

The library

A wind load engine you can check by hand

A multispan portal frame in Tekla Structural Designer sent me looking for a better way to trace wind loads. Here is what I would build first, and where I would leave CFD out of it.

Date:
Reading:
2 min read
Topics:
Structural engineering, Eurocodes, Python, Wind
Which span meets the wind first?

The left-hand span is upwind.

The right-hand span is upwind.

Reversing the wind changes which span comes first, without changing the roof. The highlight shows span order, not code pressure zones or design coefficients.

I was assessing wind loads on a multispan portal frame in Tekla Structural Designer when I found myself asking two different questions. How do I apply the Eurocode rules to this roof? And what is the air actually doing as it passes over successive spans?

I started by looking for a Python library. The more useful outcome was realising that the two questions need different tools. For the first, I want a calculation I can follow with the standard open beside me. For the second, a flow model might be useful. I wouldn’t make the second a condition of getting the first right.

Start before the roof

The first piece I’d build is peak velocity pressure at a stated reference height, with the applicable UK National Annex choices visible in the workings. I’d check that against published worked examples before adding any roof geometry. Otherwise, if the load on a frame comes out high, I’m left looking through the wind climate, the roof zoning and the load conversion all at once.

Only then would I add a simple building model: span widths, eaves and ridge heights, roof pitches and frame positions. Wind direction needs to be explicit. Reverse it on a roof with unequal spans and the geometry stays put, but which span the wind encounters first changes. That’s a more useful test than running the same symmetrical example several times.

Keep the pressure zones visible

Take three adjacent pitched spans and wind normal to the ridges. Before I look at a single line load, I want a drawing that shows where each external pressure coefficient was applied. I want to see which rules were used for the successive spans and which internal pressure case goes with the result. A per-frame result alone won’t tell me whether the calculation picked the right coefficient and put it in the wrong place.

The output I’d use is a sketch alongside a small schedule: zone, coefficient, net pressure, tributary width and the resulting load on the frame. I’d start by comparing that with a hand calculation and a CSV checked alongside the Tekla model. No plug-in needed. If the results disagree, the schedule should make it possible to point to the first line where they part company.

What I’d use CFD for

A flow model could help investigate a specific question about shielding or separation over the later spans. A steady simulation can show a mean pressure pattern; I wouldn’t substitute those numbers directly for peak design coefficients. If I try OpenFOAM later, I’d keep that comparison separate from the code calculation and be clear about what the model was validated against.

This is still an implementation plan. My first milestone is one published velocity-pressure example I can reproduce and one multispan roof whose zones and frame loads I can explain on a printed sheet. That would tell me more about whether the tool is worth building than a convincing picture of the wind.