Solver verification · Against OpenSees
A three-storey plane steel frame carries gravity load and is pushed sideways. Statics and periods are compared with the same masses, and with the masses as the script writes them.
The reference values are computed by running OpenSees’ own published example scripts. OpenSees Example 5, 2D Frame, 3-story 3-bay, OpenSees Wiki (S. Mazzoni and F. McKenna, 2006), scripts Ex5.Frame2D.build.ElasticSection.tcl and Ex5.Frame2D.analyze.Static.Push.tcl, run unchanged on OpenSees 3.8.0.
Table 1 · Model specification
| Geometry | Three bays of 24 ft, three storeys of 14 ft; four pinned bases |
|---|---|
| Sections | E = 29 000 ksi. Columns W27×114: A = 33.5 in², I = 4 090 in⁴. Beams W24×94: A = 27.7, I = 2 700. Euler–Bernoulli in both programs; OpenSees places the elastic section in a force-based element with five integration points, exact for an elastic prismatic member |
| Gravity | Slab (150 pcf, 6 in, 24 ft wide) plus beam weight on every beam; column weight along every column, as an axial load |
| Push | Wjhj/ΣWh × W per floor, a quarter at each joint; displacement-controlled at joint 41 to 10 % drift, 50.4000 in from the gravity state. The script writes six load values for each joint of a three-degree-of-freedom model, and OpenSees reads the first three |
| Mass | 12 joint masses, half of each member framing in, horizontal only in OpenSees; given to OpenAnstruk as joint weights m·g, which carry them vertically as well |
| Plane frame | OpenSees solves it in 2D. OpenAnstruk solves it in 3D, with UY, RX and RZ restrained at every joint; the largest out-of-plane reaction is 0 kN |
Fig. 1 · The frame in elevation, with its four base supports.
| Quantity | OpenSees | OpenAnstruk | Difference |
|---|---|---|---|
| Gravity: joint 42 vertical displacement, in | -0.04886140 | -0.04886140 | 5.7e-14 % |
| Gravity: joint 41 rotation, rad | -0.0003155894 | -0.0003155894 | -5.2e-14 % |
| Gravity: base 11 vertical reaction, kip | 71.8413 | 71.8413 | 0 % |
| Gravity: base 12 vertical reaction, kip | 142.2867 | 142.2867 | 6.0e-14 % |
| Gravity: base 11 horizontal reaction, kip | 2.302691 | 2.302691 | 1.7e-13 % |
| Push to 50.4000 in: load factor λ | 9.20838478 | 9.20838478 | 2.0e-12 % |
| Push: base shear, kip | 3914.153 | 3914.153 | 1.0e-13 % |
| Push: base 12 horizontal reaction, kip | -1119.4282 | -1119.4282 | 1.8e-13 % |
| Push: floor 2 drift (joint 21), in | 27.879425 | 27.879425 | 0 % |
| Push: floor 3 drift (joint 31), in | 42.337087 | 42.337087 | 0 % |
| Quantity | OpenSees | OpenAnstruk | Difference |
|---|---|---|---|
| Mode 1, s | 0.65550937 | 0.65550937 | -2.5e-12 % |
| Mode 2, s | 0.16041928 | 0.16041928 | 1.4e-12 % |
| Mode 3, s | 0.07506450 | 0.07506450 | 3.7e-13 % |
The three sway modes carry all but 10−5 of the horizontal mass. All 24 modes were compared and the worst differs by 2.5e-12 %.
| Quantity | OpenSees | OpenAnstruk | Difference |
|---|---|---|---|
| Sway mode 1, s | 0.65549800 | 0.65550937 | -0.0017 % |
| Sway mode 2, s | 0.16036106 | 0.16041928 | -0.0363 % |
| Sway mode 3, s | 0.07505239 | 0.07506450 | -0.0161 % |
Difference = (OpenSees − OpenAnstruk) / OpenAnstruk.
What makes the difference?
OpenAnstruk gives the joints’ small vertical motion a mass and the script does not, so OpenAnstruk’s sway periods are longer (Table 4).
With the same mass, every value agrees with OpenSees to within 2.5e-12 %. With the script’s masses, the periods differ by up to -0.0363 %.
What this report does not cover
| Analysis in the example | OpenSees | OpenAnstruk |
|---|---|---|
| Elastic section in a force-based element | Yes | Stiffness-based elastic element, exact for the same member, compared |
| Uniaxial inelastic and fibre sections (the example’s other three builds) | Yes | No material nonlinearity in frames |
| Gravity, load-controlled | Static, Newton | Linear static, compared |
| Pushover, displacement-controlled | Yes | No; the elastic push is one linear case scaled, compared |
| Reversed cyclic static loading | Yes | No |
| Eigenvalue analysis | Yes | Yes, compared |
| Uniform earthquake and sine-wave excitation | Yes | Linear time history. Not compared: the example’s record is not published with it |
| Multiple-support excitation | Yes | No |
| Bidirectional excitation | Yes | Up to three components at once; not compared for the same reason |