The frame analysis solves the building’s columns and beams as one space frame under each load case, and writes the forces at both ends of every member. This manual is about reading those numbers rightly: which member is which, which end is which, about which axis each moment bends, which sign means what, which part of a beam’s moment is not in the stored numbers, and how the load cases become the combinations a design is checked for. Each rule comes with the check that proves it, and the manual ends with worked scripts and the traps that catch a first reading.
When the building is computed, the gather assembles every level’s columns and beams into one frame, and the frame analysis solves it. It answers, for every member — a column between two floors, a beam between two joints — the axial force, the torsion and the two bending moments at each of its ends, once for each load case: the permanent load G, the imposed load Q and, when the building is analysed for an earthquake, the earthquake along each axis, Ex and Ey. The cases are not factored and not combined: that is the design’s job (section 10).
The numbers are true until the next Create Model of any level, which makes the frame out of date as a whole; the gather and the frame analysis must then run again. The project’s data says how to tell whether what you read is current.
The same numbers are written in two places.
calcs/<project>.pm.frameCases.json, one for the whole building, in kN, kNm and metres. It holds cases (the load cases), members (each with its geometry, its section and its forces, case by case), supports (the forces at the joints that are restrained and at the free joints that are loaded: §7) and a units block that says the units. A frame solved by a second-order analysis also carries secondOrder, the factors of the gravity its columns’ axial forces were formed from, and each column’s force, geometricAxial, kN, tension positive. A frame whose braces stood in tension alone (Frame.braceAnalysis tension-only) carries bracesOut: for each of its five frames — gravity, +x, -x, +y, -y — the braces that frame left out, as member numbers counted from 1 in the order of members. The lateral forces the and frames were solved under are beside it, calcs/<project>.pm.dfxm and .dfym.
database/project.sqlite, tables member, member_action and load_case, in SI units: newtons and newton-metres. The project’s data describes the tables and how to join them.
| what | the frame document | the database |
| axial force | N, kN | N, N |
| moments at end a, about and | Mabz, Maby, kNm | Mz_a, My_a, N m |
| moments at end b | Mbaz, Mbay, kNm | Mz_b, My_b, N m |
| torsion | T, kNm | T, N m |
| load along the member | q, kN/m | q, N/m |
| moduli , | kN/m2 | Pa |
| area; inertias , , | m2; m4 | m2; m4 |
A trap. A moment of 8033.6 is not a large moment in kNm: it is 8.0336 kNm read from the database, in newton-metres. Divide by 1000.
A script reads the frame document with three small helpers, used by every example below:
import json, sqlite3 import autostruct def frame(): """The frame document: every member's forces under every load case.""" path = autostruct.project_dir() / 'calcs' / (autostruct.project() + '.pm.frameCases.json') with open(path, encoding='utf-8') as f: return json.load(f) def storey_of(level): """The storey number of a level, from the project database.""" path = autostruct.project_dir() / 'database' / 'project.sqlite' db = sqlite3.connect('file:%s?mode=ro' % path, uri=True) return db.execute('SELECT storey FROM level WHERE name = ?', (level,)).fetchone()[0] def members(document, kind, storey): """kind 'K' columns, 'D' beams; a column belongs to the storey at its top.""" return [m for m in document['members'] if m['kind'] == kind and m['storey'] == storey]
A member has a kind: K a column, D a beam, A a rigid link the frame adds where a column meets a mat. Its storey is counted from the foundation, which is storey 1; the level table of the database gives each level’s storey.
A column belongs to the storey at its top. The columns that stand on the foundation and carry the first floor are the first floor’s: their storey is the first floor’s, and they are designed with it. So “column K1 of Roof” is the member of kind K, number 1, whose storey is Roof’s — the column below the roof — and not the one below the floor underneath it. A beam belongs to the level it is drawn on.
A trap. Taking the storey below, or the level’s position in a list, answers for the wrong column. Ask the database for the level’s storey and match it.
A member’s number is its element’s number on that storey: column 5 of a storey is the column labelled K5 there. Numbers repeat from storey to storey and between kinds, so a member is named by all three: kind, storey and number.
A column’s end a is its top and end b its bottom. A beam’s end a is the end the document gives as x1, y1, and end b the one at x2, y2; every member carries those coordinates, with z1 and z2, and the joints it joins as nodes.
A trap. A task that asks for a column’s moments “at its start and its end” means top and bottom, in that order: Maby then Mbay.
Each member has two principal axes across it. I1 goes with the z moments and I2 with the y moments.
My (Maby, Mbay) is bending in the vertical plane through the global axis — what the earthquake along makes — and Mz bending in the plane through . A column whose section is turned has its axes turned with it: gamma, in degrees, is the angle between its principal axes and the global ones. With gamma nought the statement above holds as it stands.
My is its bending in the vertical plane: the moment gravity makes, the one a beam is designed for. Its Mz, bending in the plane of the floor, is held by the floor slab in the real building; the frame’s number for it is notional, and the design does not read it.
A trap. A question about a beam’s moment means My. A large Mz in a beam under the earthquake is the frame’s, not the building’s.
N is negative in compression. A column’s compression is -N; “the least compressed column” is the one whose N is the largest, nearest to nought or positive.
The two moments of a member are the values, at its two ends, of one moment line along it. Between the ends of a member with no load along it the line is straight, and its slope is the shear:
Two things follow at once (figure 2):
A trap. Adding the two end moments, , is the commonest wrong reading. It gives almost nothing for a swaying column — 0.29 kN instead of 23.35 above — and so it under-states the earthquake’s shear.
A sign convention is worth checking before it is believed, and equilibrium checks it without any reading of how the numbers were made. The columns of a storey together carry the storey’s shear: nought under the gravity cases, because nothing pushes the building sideways, and the sum of the horizontal forces on the floors above under an earthquake (CEN, 2004). The project’s data gives this check as a query. Summed by the columns of a storey carry nought under G and Q to the last digit; summed any other way they do not.
A beam’s stored end moments are the part of its moment the joints make, as they turn and move. The part its own load makes — the moment of a beam held fixed at both ends, at each end for a uniform load — is applied to the joints and is not in the stored numbers. So under a gravity case, where q is not nought, the total moment at an end is
sagging positive, and at mid-span
A beam rigid inside the columns it frames into (The building as a frame, its joint zones) has its stored end moments at the columns’ faces, and its load’s fixed-end moment is that of its span between the faces: there above is the member’s span, , not its length from centre to centre, and is the moment midway between the faces. Its zones are and , from its first end and its second.
A beam’s concrete inside a column is the column’s, weighed with it, so the frame does not lay it on the beam’s ends: a beam’s zonesOwn are, in kN, the permanent load each of its ends leaves to its columns, its own weight over that end’s run inside the column. The permanent load the beam brings its nodes is its less the two; the imposed load it lays whole. Where no end of a beam is rigid inside its column — its ends hung on rigid links, a rigid member between the column and the beam — the same concrete is listed by the column’s node instead, in the document’s ownWeightInColumns: each node with the permanent load Fz, in kN, that it does not carry. So the frame carries the same load whichever way the beams’ ends are modelled.
The totals are what the beam’s neighbours agree with. At a joint where two beams of one line meet, the total at the end of one and the total at the start of the next differ only by what the columns there take; the stored numbers alone do not.
Under the earthquake cases q is nought and the stored moments are the whole moment. A column’s q is its own weight, which acts along it: a column’s moments are never corrected with it.
The largest sagging is at mid-span only when the two ends’ totals are equal. Along the span, from the first end,
and the design takes each span’s largest sagging and hogging from it, wherever they fall (Design results). The load’s own part reaches both ends of every beam, whatever its direction; a project that still holds the old setting Frame fixedEndMomentsAtBothEnds has it dropped when it is opened, and nothing chooses otherwise. A sloping beam’s own part is , its length in plan, but its stored moments are written so that the same comes off them as off any beam’s.
The shear at a beam’s ends, in size, under a uniform load:
the larger at the end whose moment is the more hogging: 18.37kN and 15.03kN for the beam of figure 3.
A trap. Reading a beam’s stored moment as its support moment misses — often most of it. In the beam above the stored is a tenth of the true .
A beam is drawn to the face of its column, and the frame’s node is at the column’s centre: the beam’s end is off its node, by its half the column and often by a little to one side as well. By default AutoStruct joins every such end to its node through its rigid end offset, the arm from the node to the end, inside the member’s stiffness: a turn of the node carries the end with it, and the end’s forces reach the node with the moment of their arm. There is no threshold: an end mm off its node is on its arm as one a metre off. In addition, a beam is rigid inside the columns it frames into, and a column inside the beams it meets, so each bends only over its clear length between the faces. The theory, with a joint worked through, is in The building as a frame, Member ends off their nodes: rigid end offsets.
What you set. Four settings of the Frame group decide it (The settings tree):
| path | default | what it decides |
| Frame.eccentricEnds | offsets | offsets, every end on its arm, the default; links, the alternative below |
| Frame.columnJointZones | true | a column rigid at each end over half the depth of the deepest beam it meets |
| Frame.jointZoneRigidity | whole | a zone rigid every way, or in bending and shear alone (bending) |
| Frame.rigidOffsetsForEccentricity | true | under links: a rigid link to an end further than the minimum eccentricity |
For example,
autostruct::settings::set {Frame eccentricEnds} links
takes the alternative for the project from the next computation of the frame on. Under links an end further than Frame minimumEccentricity (m) from its node is joined to it through a rigid link, a member of its own, and a nearer one directly, with no arm; there are no joint zones. The frame is then stiffer than drawn, in torsion most.
What you see. A beam or a column with joint zones carries in the frame’s results its span, the length between the faces, and its zones, and , beside its length from node to node (§5). Its end moments are those at the faces, and so are the moments the design works from, the bending, the shear and the deflection alike, which the Details and the documents report: a beam’s support moment at a face, a column’s shear over its clear height. The moment at a column’s centre is larger and is designed for nowhere (Figure 4).
supports is a list with one entry per joint of the frame that is restrained, or that is free and carries a load; a joint whose forces are all nought in static, Ex and Ey is left out.
|
field |
meaning |
|
node |
the joint’s number in the whole frame |
|
storey |
its storey, the foundation being 1; a support is filed under its own storey |
|
number |
its number within that storey |
|
x, y, z |
where it is, m |
|
restrained |
true when it is held, false for a free joint |
|
reactions |
one entry per load case, each {Fz, Mx, My}, and Fx, Fy the horizontal forces where the document holds them (a frame solved by an older version has none), in kN and kNm, in the global axes, up |
|
fromBeams |
at a restrained joint, the part of its reaction that the beams of its own storey put straight on it, for static, G and Q, in the same form |
The cases are static (the permanent and the variable load together), Ex and Ey always; G and Q apart when the variable load was solved as a case of its own; ExMinus and EyMinus when the braces stood in tension alone; Tx and Ty when the accidental torsion was solved as cases of its own.
What a value is:
A trap. A free joint’s entry is a load, not a reaction: summing every entry’s Fz, free and restrained, adds loads to reactions and gives neither the weight nor nought. Keep the restrained entries alone.
document = frame() weight = sum(m['forces']['G']['q'] * m['length'] for m in document['members']) held = sum(s['reactions']['G']['Fz'] for s in document['supports'] if s['restrained']) # held == weight: the restrained joints carry the whole of G columns = sum(s['reactions']['G']['Fz'] - s['fromBeams']['G']['Fz'] for s in document['supports'] if s['restrained']) # columns: what the columns alone bring down
storeyForces is a list with one entry per storey of the frame: the earthquake’s horizontal forces as the frame was solved under them. Each joint’s load under the case in and under the case in is summed over its storey. Whichever way EN 1998-1’s forces were formed — the triangle of (4.11) or the distribution of the modes — the frame is solved for one force vector per direction, and these are that vector’s storey sums, after any amplification for the second-order effects.
|
field |
meaning |
|
storey |
the frame’s storey, the foundation being 1, as the members’ storey |
|
z |
the height of the storey’s highest joint, m |
|
Ex |
under the case in , {Fx, Fy}, kN: the storey’s force along , and what the case puts along (nought on a frame with no torsion between the two) |
|
Ey |
under the case in , the same |
A frame solved by an older version has no storeyForces. The database keeps them in the table storey_force, a row per storey and case, in newtons.
document = frame() base = sum(s['Ex']['Fx'] for s in document['storeyForces']) held = sum(s['reactions']['Ex']['Fx'] for s in document['supports'] if s['restrained']) # base + held == 0: the supports carry the whole of the storeys' forces
| case | kind | what it is |
| G | permanent | the self-weight and the finishes |
| Q | imposed | the imposed loads of the floors’ categories of use |
| Ex, Ey | seismic | the earthquake along and along , as a set of horizontal forces on the floors (the lateral force method (CEN, 2004)), solved as a static case |
| Tx, Ty | seismic | accidental torsion, where the code asks for it as separate cases: under EN 1998-1, each storey’s moment (4.3.2) unless EC8 accidentalTorsion is off |
Every case is signed: Ex is the earthquake along one way, and the earthquake the other way is the same numbers with their signs turned. A design checks both directions by changing the sign of the factor (section 10). Where the building is analysed by the response spectrum, the modal results are written apart (section 11); they have no sign.
The accidental torsion (EC8 accidentalTorsion, on unless you turn it off) covers the uncertainty in where a floor’s mass is: each floor’s centre of mass is taken off its place, the floor’s extent across the earthquake. The program applies to every storey the moment that makes, with the storey’s share of that direction’s lateral forces, as the cases Tx and Ty, and takes every seismic combination twice, the torsion added one way and the other. The members, the foundations and the punching take it; the level log names the largest storey moment each way. Turned off, no torsion is applied and the combinations take the earthquake alone. The cases are solved on the same frame as the earthquake, cracked where the earthquake’s is.
The frame analysis answers the cases; the design combines them, and the combinations are not stored as cases. A combination is a sum of the cases each times a factor, so a script makes any combination it needs from the cases — the frame is linear.
(CEN, 2002), and where less permanent load is worse; or the pair of expressions (6.10a) and (6.10b) where the project’s settings choose them.
, and the same with and exchanged (CEN, 2002; CEN, 2004): eight combinations; sixteen where the frame carries Tx and Ty, each with at its own direction’s factors. is the category of use’s (0.3 for dwellings and offices).
from itertools import product def combined(forces, factors): """The forces of one combination: each case's forces times its factor.""" keys = ('N', 'Maby', 'Mbay', 'Mabz', 'Mbaz') return {k: sum(f * forces[c][k] for c, f in factors.items()) for k in keys} def seismic(psi2=0.3): """The eight combinations G + psi2 Q +- Ex +- 0.3 Ey and the other way about.""" for (sx, sy), lead in product(product((1, -1), repeat=2), ('Ex', 'Ey')): other = 'Ey' if lead == 'Ex' else 'Ex' yield {'G': 1.0, 'Q': psi2, lead: sx, other: 0.3 * sy} column = [m for m in members(frame(), 'K', storey_of('First')) if m['number'] == 5][0] persistent = combined(column['forces'], {'G': 1.35, 'Q': 1.5}) print('1.35G + 1.5Q: compression %.1f kN' % -persistent['N']) worst = max((combined(column['forces'], f) for f in seismic()), key=lambda c: max(abs(c['Maby']), abs(c['Mbay']))) print('seismic, the largest My: %.1f at the top, %.1f at the bottom, with N %.1f kN' % (worst['Maby'], worst['Mbay'], worst['N']))
On the two-storey building of the figures this prints a compression of 832.7kN, and for the seismic combinations kNm at the top and at the bottom with kN. For a beam, combine the totals of section 5, not the stored moments.
A trap. G plus Q is not a design combination; and Ex alone is not what a column is designed for. Name the combination a number belongs to.
When the project’s settings ask for a modal analysis, the frame analysis also writes calcs/<project>.pm.modal.json: for each mode its direction, period (s), participation, effective weight (kN), cumulative share of the weight free to move along that direction, the spectrum’s value, the base shear (kN), its shape (its translation along the direction at every node, in the frame’s node order, the largest being one), how many steps found it and whether it converged; the damping; the design spectrum of EN 1998-1 3.2.2.5 every mode’s value was read from (designSpectrum: the ground type and spectrum type, , , and (s), as a fraction of , the behaviour factor and the lower bound factor ), so that the value at any other period can be read - under TBDY 2018 its reduced design spectrum (4.8) instead, named by code with the site class, , , , (s), , , and whether the spectrum is the elastic one, and under ASCE 7-22 11.4.5.2’s times (12.9.1.2), named with its site class, , , (s), and ; the solver (EC8 modeSolver); the seismic weight of every node (weights, kN, in the same order), the whole (weight) and what of it is free to move along each direction (moving); and, for each member, the envelope of its forces along and along . Each direction names the rule its modes are combined by — SRSS where every pair of its modes is independent by EN 1998-1 (4.15), CQC otherwise — and its forces are combined by that rule; both combinations are also given beside them, under srss and cqc. The document’s own rule is SRSS only where both directions’ are. Where the braces are analysed in tension alone, the modes and forces are those of the frame for the earthquake in and the ones those of the frame for , and the document says so under senses. Solved by EC8 modeSolver coupled, the modes are the building’s: each is listed under and again under , with the same period and that direction’s participation, effective weight and share; across is its translation along the other direction at every node, and participationAcross and effectiveMassAcross its participation and effective weight along the other. The database keeps the modes alone, in the table mode, with the effective weight in newtons.
EC8 modeSolver chooses:
(the default) one mode at a time, each kept apart from those found. Where two periods are within a few per cent of each other — a symmetric plan’s, or a pair of local modes’ — it may use up its steps before telling them apart; the mode it then reports is a blend, and the log and the document say so of every mode that did not converge.
every mode at once, by subspace iteration: a close pair converges as fast as any other, for a few more milliseconds.
the building’s modes, and together: each node’s mass acts along both axes, so a floor turns as it sways, and every mode takes part in the response to each direction with its own participation. It finds twice the modes asked for a direction.
deflation and subspace solve each direction on its own, its mass acting along it alone, which EN 1998-1 allows only for a building regular in plan. So with EC8 spatialWhenIrregularInPlan on, as it is unless you turn it off, a building the program finds not regular in plan — by its shape, or by its centre of mass lying too far from its centre of stiffness, or its torsional stiffness being too low, at any storey — or that the project declares so, is given the coupled modes whatever EC8 modeSolver says, for the modal analysis, the modal distribution of the lateral forces and the fundamental period taken from the modes. The level log says so.
Which of the building’s modes is a direction’s fundamental period is EC8 coupledPeriod: mostMass, as it is unless you change it, takes the mode carrying the most mass along the direction; longestSignificant takes the longest-period mode carrying at least EC8 coupledPeriodShare of the weight along it, 5% unless you change it. The two differ where two modes carry about the same share of a direction’s weight, as on a building that twists as it sways; the longer period then gives the smaller spectral value and base shear. The level log and the report name the mode taken along each direction, its share, and the mode carrying the most mass among the others. The modal analysis takes every mode whichever you choose.
The fundamental period of the lateral force method, and the mode the pushover’s modal pattern is formed from, are a direction’s mode carrying the most mass along it, whichever solver found the modes. On most buildings that is the first mode. Where a light part of the frame sways on its own at a longer period than the building, the first mode carries almost none of the weight; then the level log says how little it carries and which mode was taken, and the modes’ table shows that mode’s period and effective weight. A part of the frame swaying on its own is often a member left unheld or a joint not tied into its floor: the log’s line is worth reading. Where translation and torsion couple, the planar solvers find the building stiffer than it is.
A trap. A modal envelope has no sign and no moment in time: its N and its moments are each the largest the modes combine to, not values that happen together. Do not take a difference of two of them, and do not read their sign.
Each example begins with the three helpers of section 2. The numbers are those of the two-storey building of the figures.
document = frame() for m in members(document, 'K', storey_of('First')): q = m['forces']['Q'] print('K%d N %8.2f kN My top %7.2f bottom %7.2f kNm' % (m['number'], q['N'], q['Maby'], q['Mbay']))
The first line it prints is K1 N -26.39 kN My top 1.72 bottom -0.80 kNm: 26.39kN of compression in column K1 below First under the imposed load. The same from the database, in kN and with the program’s sign (negative is compression):
SELECT m.number, a.N / 1000.0 AS N_kN FROM member m JOIN live_run r ON r.run_id = m.run_id AND r.stage = 'epilysi' JOIN member_action a ON a.member_id = m.member_id JOIN load_case c ON c.case_id = a.case_id WHERE m.kind = 'K' AND m.storey = (SELECT storey FROM level WHERE name = 'First') AND c.name = 'Q' ORDER BY m.number;
’epilysi’ is the database’s name for the frame analysis’s runs; the join through live_run keeps the current one only.
A trap. Asked for a force “as the program gives it”, give N with its sign: , not . Turn the sign only when the question asks for the compression as a positive number, and say so.
The listing of section 10.
def beam_moments(m, case): """A beam's total moments, kNm, sagging positive: at end a, at mid-span, at end b.""" f = m['forces'][case] fixed = f['q'] * m['length'] ** 2 / 12 at_a, at_b = f['Maby'] - fixed, f['Mbay'] - fixed return at_a, (at_a + at_b) / 2 + f['q'] * m['length'] ** 2 / 8, at_b for m in members(frame(), 'D', storey_of('First')): if abs(m['y1'] - 12.0) < 0.01 and abs(m['y2'] - 12.0) < 0.01: print('beam %d a %7.2f middle %6.2f b %7.2f kNm' % ((m['number'],) + beam_moments(m, 'G')))
It prints the two beams of the line :
beam 5 a -6.90 middle 9.90 b -15.06 kNm beam 6 a -15.33 middle 9.73 b -6.96 kNm
Where they meet, at , the totals are and : they differ by 0.27kNm, about what the columns at that joint take. Their stored moments there, and , are each less than a tenth of the truth.