Free worked example · complete calculation

Gable Portal Frame Analysis Worked Example

See the complete reactions and force diagrams first, then follow the full nine-DOF direct stiffness calculation for this fixed-base gable frame.

8 m span 4 m eaves 6 m apex Fixed column bases 4 kN/m on both rafters 18 kN·m apex moment
One worked loading condition First-order linear elastic analysis 9 active joint DOFs
Model OB-EX-FRAME-002 Geometry and applied loading
Optimal Beam diagram
An 8 metre wide fixed-base rigid gable frame with 4 metre eaves, a 6 metre apex, 4 kilonewtons per metre on both inclined rafters and an 18 kilonewton-metre apex moment.

Answer at a glance

Apex horizontal movement
0.229 mm
Apex vertical movement
-0.919 mm
Left / right vertical reactions
18.550 / 13.450 kN
Governing bending moment
13.217 kN·m
Maximum resultant movement
1.115 mm

Gable portal frame fundamentals

What is gable portal frame analysis?

A gable portal frame is a rigid structural frame with columns supporting two inclined rafters that meet at a roof apex. Moment-resisting eave and apex joints make the columns and rafters act continuously, so roof loading produces axial force, shear force and bending moment throughout the frame.

Gable portal frame analysis calculates horizontal, vertical and moment support reactions; eave and apex translations and rotations; and the axial-force, shear-force and bending-moment response of the columns and inclined rafters. Because the rigid fixed-base frame is statically indeterminate, the direct stiffness method is used to satisfy equilibrium and displacement compatibility.

Geometry, joints and load path

How to recognize a gable portal frame

  • Two columns and two inclined rafters form a pitched or gable roof profile.
  • Rigid eave and apex joints transfer moment as well as axial force and shear.
  • Each inclined rafter has a local axis, so a local-transverse roof load has both global horizontal and vertical components.
  • Fixed bases develop horizontal reactions, vertical reactions and base moments.
Matrix-analysis workflow

How to analyze a gable portal frame

  1. Define the column, eave and apex geometry, member properties, rigid joints, fixed supports and roof loads.
  2. Number the three global DOFs at each joint and retain the nine free DOFs at N2, N3 and N4.
  3. Write the 6 × 6 local axial-and-bending matrix for each column and rafter.
  4. Use the rafter direction cosines to transform stiffness and consistent load vectors into global axes.
  5. Assemble and solve the 9 × 9 reduced stiffness equation for eave and apex movements.
  6. Recover all six base reactions, member end actions and the axial, shear, moment and deflected-shape diagrams.

How is a gable portal frame analyzed?

Each column and inclined rafter is represented by a 2D frame element. Local stiffness matrices and consistent rafter-load vectors are transformed into global axes, assembled at the shared joints and reduced by the support restraints. Joint displacements are solved first, followed by reactions and member end actions.

How are loads applied to inclined rafters?

The load direction must match the intended physical loading. In this worked model, 4 kN/m acts in each rafter’s local negative-y direction, normal to the rafter. The transformation matrix converts those local actions into global horizontal, vertical and moment components.

What reactions does a fixed-base gable frame have?

Each fixed base can develop horizontal reaction Rx, vertical reaction Ry and moment reaction Mz. Both bases therefore contribute six reaction components, all of which are reported in the solved table and reaction diagram.

Does a symmetric gable frame always have symmetric reactions?

Only when the geometry, stiffness, supports and loading are symmetric. The counter-clockwise apex moment in this example breaks load symmetry, so the two base reactions and rafter actions differ even though the frame geometry is symmetric.

01 · Model inputs

The worked gable portal-frame model

A symmetric gable portal frame spans 8 m, has 4 m eaves and a 6 m apex. Both column bases are fixed and every column-to-rafter and apex connection is rigid. Each 4.472 m rafter carries a 4 kN/m load in its local negative-y direction, and node N3 carries an 18 kN·m counter-clockwise moment.

Span8 mSingle gable bay
Eave / apex4 m / 6 m2 m roof rise
SupportsFixed + fixedSix restrained base DOFs
ConnectionsRigidNo member-end releases
Section5000 mm²I = 200 × 10⁶ mm⁴
MaterialSteelE = 200 GPa
Input table

Nodes and restraints

Coordinates in metres
NodeXYSupportRestrained DOFs
N1 0.0 0.0 Fixed UX, UY, RZ
N2 0.0 4.0 Free
N3 4.0 6.0 Free
N4 8.0 4.0 Free
N5 8.0 0.0 Fixed UX, UY, RZ
Input table

Applied loads

One worked loading condition
LoadTargetDefinition
L1N318.000 kN·m global MZ
L2M2-4.000 kN/m to -4.000 kN/m in LOCAL Y
L3M3-4.000 kN/m to -4.000 kN/m in LOCAL Y

02 · Solved answer

Complete support reactions and member-force diagrams

The 8 kN/m roof load and 12 kN horizontal load act together as the one worked loading condition. The diagrams below are exported by the Optimal Beam calculator from this exact model.

Optimal Beam output

Support reaction diagram

Global axes · kN and kN·m
Optimal Beam support reaction diagram showing horizontal, vertical and moment reactions at both fixed bases
All six fixed-base components

Support reactions

+X right · +Y up · +Mz counter-clockwise
SupportHorizontal Rx (kN)Vertical Ry (kN)Moment Mz (kN·m)
N1 5.198 kN 18.550 kN -7.574 kN·m
N5 -5.198 kN 13.450 kN 9.972 kN·m
Optimal Beam output

Axial-force diagram

kN
Optimal Beam axial-force diagram for the worked gable portal frame
Tension positive · compression negative
Optimal Beam output

Shear-force diagram

kN
Optimal Beam shear-force diagram for the worked gable portal frame
Member local axes
Optimal Beam output

Bending-moment diagram

kN·m
Optimal Beam bending-moment diagram for the worked gable portal frame
Sagging positive
Optimal Beam output

Deflected shape

Amplified
Optimal Beam deflected shape for the worked gable portal frame
Values remain unamplified
Calculated joint response

Roof-joint movement

Translations and rotation
NodeUX (mm)UY (mm)RZ (mrad)
N2 -0.129 -0.074 -0.282
N3 0.229 -0.919 0.316
N4 0.608 -0.054 0.042
Calculated member response

Member end actions

Local i-to-j axes
MemberAxial (kN)Vi / Vj (kN)Mi / Mj (kN·m)
M1 -18.550 -5.198 / -5.198 7.574 / -13.217
M2 -12.945 14.267 / -3.622 -13.217 / 10.587
M3 -10.664 8.183 / -9.706 -7.413 / -10.819
M4 -13.450 5.198 / 5.198 -10.819 / 9.972

03 · Hand calculation

Direct stiffness calculation, step by step

This is the numerical path from the applied loads to the six reactions. The same model values and member axes are used by the calculator.

Nine unknown joint DOFs, assembled from four full frame elements

The two fixed bases set six translations and rotations to zero. The eaves and apex leave nine unknown global degrees of freedom. Every numerical matrix below is generated from the published model values.

Calculation units are kN, m and radians. Global +X is right, +Y is up and +RZ is counter-clockwise.
Step 1

Number the global degrees of freedom

Start with every joint translation and rotation, then identify which values are known.

{d} = {u₁, v₁, θ₁, u₂, v₂, θ₂, u₃, v₃, θ₃, u₄, v₄, θ₄, u₅, v₅, θ₅}ᵀ {dc} = {u₁, v₁, θ₁, u₅, v₅, θ₅}ᵀ = {0, 0, 0, 0, 0, 0}ᵀ {df} = {u₂, v₂, θ₂, u₃, v₃, θ₃, u₄, v₄, θ₄}ᵀ

N1 and N5 are fixed. N2, N3 and N4 each retain horizontal translation, vertical translation and rotation.

JointGlobal DOFsStatus
N1u₁, v₁, θ₁Restrained
N2u₂, v₂, θ₂Free
N3u₃, v₃, θ₃Free
N4u₄, v₄, θ₄Free
N5u₅, v₅, θ₅Restrained
Static-indeterminacy check Ds = 3m + r − 3j → Ds = 3(4) + 6 − 3(5) = 3

The rigid frame is externally and internally indeterminate to degree 3.

Step 2

Write the local 2D frame-element stiffness matrix

This is the complete axial-and-bending matrix used for each unreleased member.

{d′e} = {u′ᵢ, v′ᵢ, θᵢ, u′ⱼ, v′ⱼ, θⱼ}ᵀ [k′e] = local axial-and-bending stiffness matrix
uᵢvᵢθᵢuⱼvⱼθⱼ
uᵢEA/L00−EA/L00
vᵢ012EI/L³6EI/L²0−12EI/L³6EI/L²
θᵢ06EI/L²4EI/L0−6EI/L²2EI/L
uⱼ−EA/L00EA/L00
vⱼ0−12EI/L³−6EI/L²012EI/L³−6EI/L²
θⱼ06EI/L²2EI/L0−6EI/L²4EI/L

Rows and columns follow {u′i, v′i, θi, u′j, v′j, θj}. Translational and rotational terms carry the compatible kN–m units.

Section properties in calculation units

E = 200 GPa, A = 5000 mm², I = 200 × 10⁶ mm⁴

E = 200,000,000 kN/m²; A = 0.005 m²; I = 0.0002 m⁴; EA = 1,000,000 kN; EI = 40,000 kN·m²
CoefficientDefinitionPurpose
EA/Laxial rigidity ÷ lengthAxial stiffness
12EI/L³12 × flexural rigidity ÷ L³Transverse stiffness
6EI/L²6 × flexural rigidity ÷ L²Shear-rotation coupling
4EI/L4 × flexural rigidity ÷ LNear-end rotational stiffness
2EI/L2 × flexural rigidity ÷ LFar-end rotational coupling
Term4 m column4.472 m rafter
EA/L250,000.000 kN/m223,606.798 kN/m
12EI/L³7,500.000 kN/m5,366.563 kN/m
6EI/L²15,000.000 kN12,000.000 kN
4EI/L40,000.000 kN·m35,777.088 kN·m
2EI/L20,000.000 kN·m17,888.544 kN·m
Numerical [k′e]

Column matrix

M1 and M4 · L = 4.000 m
uᵢvᵢθᵢuⱼvⱼθⱼ
uᵢ250,000.0000.0000.000-250,000.0000.0000.000
vᵢ0.0007,500.00015,000.0000.000-7,500.00015,000.000
θᵢ0.00015,000.00040,000.0000.000-15,000.00020,000.000
uⱼ-250,000.0000.0000.000250,000.0000.0000.000
vⱼ0.000-7,500.000-15,000.0000.0007,500.000-15,000.000
θⱼ0.00015,000.00020,000.0000.000-15,000.00040,000.000
Numerical [k′e]

Rafter matrix

M2 and M3 · L = √20 = 4.472136 m
uᵢvᵢθᵢuⱼvⱼθⱼ
uᵢ223,606.7980.0000.000-223,606.7980.0000.000
vᵢ0.0005,366.56312,000.0000.000-5,366.56312,000.000
θᵢ0.00012,000.00035,777.0880.000-12,000.00017,888.544
uⱼ-223,606.7980.0000.000223,606.7980.0000.000
vⱼ0.000-5,366.563-12,000.0000.0005,366.563-12,000.000
θⱼ0.00012,000.00017,888.5440.000-12,000.00035,777.088
Step 3

Rotate each member matrix into global X/Y

Direction cosines connect the member’s local axial/transverse directions to the frame axes.

[ke] = [Te]ᵀ[k′e][Te]

Columns and rafters use the same local matrix form. Their direction cosines rotate local axial and transverse behavior into global X and Y.

M1 · N1–N2

θ = 90°

c = 0.000000 · s = 1.000000
0.0000001.0000000.0000000.0000000.0000000.000000
-1.0000000.0000000.0000000.0000000.0000000.000000
0.0000000.0000001.0000000.0000000.0000000.000000
0.0000000.0000000.0000000.0000001.0000000.000000
0.0000000.0000000.000000-1.0000000.0000000.000000
0.0000000.0000000.0000000.0000000.0000001.000000
M2 · N2–N3

θ = 26.565051°

c = 0.894427 · s = 0.447214
0.8944270.4472140.0000000.0000000.0000000.000000
-0.4472140.8944270.0000000.0000000.0000000.000000
0.0000000.0000001.0000000.0000000.0000000.000000
0.0000000.0000000.0000000.8944270.4472140.000000
0.0000000.0000000.000000-0.4472140.8944270.000000
0.0000000.0000000.0000000.0000000.0000001.000000
M3 · N3–N4

θ = -26.565051°

c = 0.894427 · s = -0.447214
0.894427-0.4472140.0000000.0000000.0000000.000000
0.4472140.8944270.0000000.0000000.0000000.000000
0.0000000.0000001.0000000.0000000.0000000.000000
0.0000000.0000000.0000000.894427-0.4472140.000000
0.0000000.0000000.0000000.4472140.8944270.000000
0.0000000.0000000.0000000.0000000.0000001.000000
M4 · N4–N5

θ = -90°

c = 0.000000 · s = -1.000000
0.000000-1.0000000.0000000.0000000.0000000.000000
1.0000000.0000000.0000000.0000000.0000000.000000
0.0000000.0000001.0000000.0000000.0000000.000000
0.0000000.0000000.0000000.000000-1.0000000.000000
0.0000000.0000000.0000001.0000000.0000000.000000
0.0000000.0000000.0000000.0000000.0000001.000000
Step 4

Transform both rafter UDLs into consistent global nodal actions

The rafter loads enter the global equation together with the 18 kN·m apex moment.

{p′e} = {0, qL/2, qL²/12, 0, qL/2, −qL²/12}ᵀ q = −4 kN/m; L = √20 = 4.472136 m {p′M2} = {0, -8.944272, -6.666667, 0, -8.944272, 6.666667}ᵀ {Ff} = {4, -8, -6.666667, 0, -16, 18, -4, -8, 6.666667}ᵀ

M2 and M3 have opposite roof slopes, so their local-y forces transform differently in global X and Y. Their apex force components combine with the applied +18 kN·m nodal moment.

Free DOFApplied action
u₂4.000 kN
v₂-8.000 kN
θ₂-6.667 kN·m
u₃0.000 kN
v₃-16.000 kN
θ₃18.000 kN·m
u₄-4.000 kN
v₄-8.000 kN
θ₄6.667 kN·m
Step 5

Assemble the four member contributions

Common joint DOFs land in the same rows and columns, so their stiffness terms add directly.

[K] = Σ [Ae]ᵀ[Te]ᵀ[k′e][Te][Ae] [Kff] = [Kff]M1 + [Kff]M2 + [Kff]M3 + [Kff]M4

Each transformed 6 × 6 element matrix is placed into the 15 × 15 global matrix at its two node locations. Selecting the nine free DOFs produces [Kff].

MemberElement DOFsGlobal placement
M11–6u₁, v₁, θ₁, u₂, v₂, θ₂
M21–6u₂, v₂, θ₂, u₃, v₃, θ₃
M31–6u₃, v₃, θ₃, u₄, v₄, θ₄
M41–6u₄, v₄, θ₄, u₅, v₅, θ₅
[Kff]M1

N1–N2 contribution to the nine free joint DOFs

u₂v₂θ₂u₃v₃θ₃u₄v₄θ₄
u₂7,500.0000.00015,000.0000.0000.0000.0000.0000.0000.000
v₂0.000250,000.0000.0000.0000.0000.0000.0000.0000.000
θ₂15,000.0000.00040,000.0000.0000.0000.0000.0000.0000.000
u₃0.0000.0000.0000.0000.0000.0000.0000.0000.000
v₃0.0000.0000.0000.0000.0000.0000.0000.0000.000
θ₃0.0000.0000.0000.0000.0000.0000.0000.0000.000
u₄0.0000.0000.0000.0000.0000.0000.0000.0000.000
v₄0.0000.0000.0000.0000.0000.0000.0000.0000.000
θ₄0.0000.0000.0000.0000.0000.0000.0000.0000.000
[Kff]M2

N2–N3 contribution to the nine free joint DOFs

u₂v₂θ₂u₃v₃θ₃u₄v₄θ₄
u₂179,958.75187,296.094-5,366.563-179,958.751-87,296.094-5,366.5630.0000.0000.000
v₂87,296.09449,014.61010,733.126-87,296.094-49,014.61010,733.1260.0000.0000.000
θ₂-5,366.56310,733.12635,777.0885,366.563-10,733.12617,888.5440.0000.0000.000
u₃-179,958.751-87,296.0945,366.563179,958.75187,296.0945,366.5630.0000.0000.000
v₃-87,296.094-49,014.610-10,733.12687,296.09449,014.610-10,733.1260.0000.0000.000
θ₃-5,366.56310,733.12617,888.5445,366.563-10,733.12635,777.0880.0000.0000.000
u₄0.0000.0000.0000.0000.0000.0000.0000.0000.000
v₄0.0000.0000.0000.0000.0000.0000.0000.0000.000
θ₄0.0000.0000.0000.0000.0000.0000.0000.0000.000
[Kff]M3

N3–N4 contribution to the nine free joint DOFs

u₂v₂θ₂u₃v₃θ₃u₄v₄θ₄
u₂0.0000.0000.0000.0000.0000.0000.0000.0000.000
v₂0.0000.0000.0000.0000.0000.0000.0000.0000.000
θ₂0.0000.0000.0000.0000.0000.0000.0000.0000.000
u₃0.0000.0000.000179,958.751-87,296.0945,366.563-179,958.75187,296.0945,366.563
v₃0.0000.0000.000-87,296.09449,014.61010,733.12687,296.094-49,014.61010,733.126
θ₃0.0000.0000.0005,366.56310,733.12635,777.088-5,366.563-10,733.12617,888.544
u₄0.0000.0000.000-179,958.75187,296.094-5,366.563179,958.751-87,296.094-5,366.563
v₄0.0000.0000.00087,296.094-49,014.610-10,733.126-87,296.09449,014.610-10,733.126
θ₄0.0000.0000.0005,366.56310,733.12617,888.544-5,366.563-10,733.12635,777.088
[Kff]M4

N4–N5 contribution to the nine free joint DOFs

u₂v₂θ₂u₃v₃θ₃u₄v₄θ₄
u₂0.0000.0000.0000.0000.0000.0000.0000.0000.000
v₂0.0000.0000.0000.0000.0000.0000.0000.0000.000
θ₂0.0000.0000.0000.0000.0000.0000.0000.0000.000
u₃0.0000.0000.0000.0000.0000.0000.0000.0000.000
v₃0.0000.0000.0000.0000.0000.0000.0000.0000.000
θ₃0.0000.0000.0000.0000.0000.0000.0000.0000.000
u₄0.0000.0000.0000.0000.0000.0007,500.0000.00015,000.000
v₄0.0000.0000.0000.0000.0000.0000.000250,000.0000.000
θ₄0.0000.0000.0000.0000.0000.00015,000.0000.00040,000.000
Assembled result

Reduced global stiffness matrix [Kff]

DOF order: u₂, v₂, θ₂, u₃, v₃, θ₃, u₄, v₄, θ₄
DOFu₂v₂θ₂u₃v₃θ₃u₄v₄θ₄
u₂187,458.75187,296.0949,633.437-179,958.751-87,296.094-5,366.5630.0000.0000.000
v₂87,296.094299,014.61010,733.126-87,296.094-49,014.61010,733.1260.0000.0000.000
θ₂9,633.43710,733.12675,777.0885,366.563-10,733.12617,888.5440.0000.0000.000
u₃-179,958.751-87,296.0945,366.563359,917.5020.00010,733.126-179,958.75187,296.0945,366.563
v₃-87,296.094-49,014.610-10,733.1260.00098,029.2200.00087,296.094-49,014.61010,733.126
θ₃-5,366.56310,733.12617,888.54410,733.1260.00071,554.175-5,366.563-10,733.12617,888.544
u₄0.0000.0000.000-179,958.75187,296.094-5,366.563187,458.751-87,296.0949,633.437
v₄0.0000.0000.00087,296.094-49,014.610-10,733.126-87,296.094299,014.610-10,733.126
θ₄0.0000.0000.0005,366.56310,733.12617,888.5449,633.437-10,733.12675,777.088
Step 6

Apply the fixed-base boundary conditions and solve

Partitioning removes the six known zero displacements without discarding their reaction rows.

[[Kcc, Kcf], [Kfc, Kff]] {dc, df}ᵀ = {Fc, Ff}ᵀ {dc} = 0 ⇒ [Kff]{df} = {Ff} [Kff]{df} = {Ff}

Applying the six base restraints leaves the 9 × 9 equation for the eave and apex translations and rotations.

Solved vector in calculation units

DOFValueUnit
u₂-0.000128733158m
v₂-0.000074199008m
θ₂-0.000282145744rad
u₃0.000229000698m
v₃-0.000919113240m
θ₃0.000316187894rad
u₄0.000608336400m
v₄-0.000053800992m
θ₄0.000042344123rad

Same answer in readable units

DOFValueUnit
u2-0.128733mm
v2-0.074199mm
θ2-0.282146mrad
u30.229001mm
v3-0.919113mm
θ30.316188mrad
u40.608336mm
v4-0.053801mm
θ40.042344mrad
Two rows written out 187458.751(-0.000128733158) + 87296.094(-0.000074199008) + 9633.437(-0.000282145744) − 179958.751(0.000229000698) − 87296.094(-0.00091911324) − 5366.563(0.000316187894) = 4 kN (u₂) -179958.751(-0.000128733158) − 87296.094(-0.000074199008) + 5366.563(-0.000282145744) + 359917.502(0.000229000698) + 10733.126(0.000316187894) − 179958.751(0.0006083364) + 87296.094(-0.000053800992) + 5366.563(0.000042344123) = 0 kN (u₃)
Row[Kff]{df}Applied FfResidual
u₂4.000000 kN4.000000 kN0.000000000
v₂-8.000000 kN-8.000000 kN0.000000000
θ₂-6.666667 kN·m-6.666667 kN·m0.000000000
u₃0.000000 kN0.000000 kN0.000000000
v₃-16.000000 kN-16.000000 kN0.000000000
θ₃18.000000 kN·m18.000000 kN·m0.000000000
u₄-4.000000 kN-4.000000 kN0.000000000
v₄-8.000000 kN-8.000000 kN0.000000000
θ₄6.666667 kN·m6.666667 kN·m0.000000000
Step 7

Recover the horizontal, vertical and moment reactions

The restrained rows were not solved for displacement; they are now used to recover all six base actions.

{Rc} = [Kcf]{df} − {Fc}

The full 6 × 9 coupling block maps all nine free joint movements into the six restrained base rows; the transformed rafter-load actions at restrained DOFs are then subtracted.

Restrained-to-free coupling block

Reaction recovery matrix [Kcf]

Maps the complete free-joint vector into the fixed-base reaction rows
-7,500.0000.000-15,000.0000.0000.0000.0000.0000.0000.000
0.000-250,000.0000.0000.0000.0000.0000.0000.0000.000
15,000.0000.00020,000.0000.0000.0000.0000.0000.0000.000
0.0000.0000.0000.0000.0000.000-7,500.0000.000-15,000.000
0.0000.0000.0000.0000.0000.0000.000-250,000.0000.000
0.0000.0000.0000.0000.0000.00015,000.0000.00020,000.000
N1 and N5 [R] = [Kcf] {-0.000128733158, -0.000074199008, -0.000282145744, 0.000229000698, -0.000919113240, 0.000316187894, 0.000608336400, -0.000053800992, 0.000042344123}ᵀ {5.197685, 18.549752, -7.573912, -5.197685, 13.450248, 9.971928}ᵀ Reaction order follows N1 [Rx, Ry, Mz], then the second fixed base [Rx, Ry, Mz]
SupportRx (kN)Ry (kN)Mz (kN·m)
N15.19768518.549752-7.573912
N5-5.19768513.4502489.971928
Step 8

Recover member end actions and close the equilibrium checks

The selected member displacement vector is returned to its local stiffness equation, including its consistent load actions.

{f′M2} = [k′M2]{d′M2} − {p′M2} {f′M2} = {12.944652, 14.266927, 13.216827, -12.944652, 3.621617, 10.586811}ᵀ

The N2–N3 global displacement vector is rotated into M2 local axes. The elastic end vector and the negative consistent load vector give the recovered left-rafter end actions.

M2 componentElastic termFixed-end termRecovered end action
Nᵢ12.944652 kN0.000000 kN12.944652 kN
Vᵢ5.322655 kN8.944272 kN14.266927 kN
Mᵢ6.550160 kN·m6.666667 kN·m13.216827 kN·m
Nⱼ-12.944652 kN0.000000 kN-12.944652 kN
Vⱼ-5.322655 kN8.944272 kN3.621617 kN
Mⱼ17.253478 kN·m-6.666667 kN·m10.586811 kN·m
ΣFx = 5.197685 − 5.197685 + transformed roof-load Fx = 0.000000 kNΣFy = 18.549752 + 13.450248 + transformed roof-load Fy = 0.000000 kNΣMN1 = base moments + N5 vertical reaction moment + transformed rafter-load moments + 18.000000 = 0.000000 kN·m

04 · Hand-versus-solver verification

The hand calculation matches the Optimal Beam result

Independent values from the calculation above are compared directly with the stored calculator result.

All declared checks passedVerified July 29, 2026
CheckHand calculationOptimal BeamDifferenceStatus
Horizontal reaction at N1 5.197685 kN 5.197685 kN 0.000000% Pass
Vertical reaction at N1 18.549752 kN 18.549752 kN 0.000000% Pass
Base moment at N1 -7.573912 kN·m -7.573912 kN·m 0.000000% Pass
Horizontal reaction at N5 -5.197685 kN -5.197685 kN 0.000000% Pass
Vertical reaction at N5 13.450248 kN 13.450248 kN 0.000000% Pass
Base moment at N5 9.971928 kN·m 9.971928 kN·m 0.000000% Pass
Horizontal movement at N3 0.229001 mm 0.229001 mm 0.000000% Pass
Vertical movement at N3 -0.919113 mm -0.919113 mm 0.000000% Pass
Rotation at N3 0.316188 mrad 0.316188 mrad 0.000000% Pass
Left-rafter end moment at N3 10.586811 kN·m 10.586811 kN·m 0.000000% Pass
Right-column axial force -13.450248 kN -13.450248 kN 0.000000% Pass

05 · Analysis scope

What the worked model includes

This is a first-order structural analysis example, not a completed member or connection design.

Included in the model

  • Straight, prismatic 2D frame elements with axial and flexural stiffness.
  • Rigid, unreleased column-to-rafter and apex connections.
  • Fixed bases restraining horizontal translation, vertical translation and rotation.
  • A 4 kN/m local-transverse UDL on both rafters and an 18 kN·m apex moment.
  • First-order, small-displacement, linear-elastic response.
  • Member axial force, shear force, bending moment and deflected shape.

Outside the analysis scope

  • P-Delta effects, geometric nonlinearity or large-displacement response.
  • Member yielding, local or global buckling and plastic redistribution.
  • Connection, base plate, anchor, foundation or member capacity design.
  • Wind pressure generation, snow drift, load combinations or code-based load factors.
  • Out-of-plane behavior, purlins, bracing, diaphragm action or three-dimensional stability.
  • Temperature, settlement, dynamic, seismic or fatigue effects.
P-Delta boundary

Optimal Beam currently performs first-order linear-elastic analysis and does not include P-Delta effects. Use an appropriate second-order method when axial compression acting through sway may materially amplify moments or drift.

06 · Common modeling mistakes

Configuration errors that change the answer

01

Applying roof loading in global Y when the intended load is normal to each inclined rafter.

02

Using the same transformation sign for both rafters even though their slopes have opposite sine values.

03

Releasing the apex or eave rotations when the intended joints are moment-resisting.

04

Leaving either base rotation unrestrained when the idealization requires fixed bases.

05

Reporting only vertical reactions and omitting horizontal and moment reactions.

06

Treating first-order displacement as a P-Delta result or using analysis output as a completed code design.

Continue with the exact model

Open the free example or download the Optimal Beam report

The model, diagrams, result tables and calculation report come from this same calculator analysis.

Engineering authorship

Prepared and reviewed by Tamer Hijjawi, P.Eng.

Analysis scope: First-order linear elastic 2D frame analysis. Last model verification: July 29, 2026.

Review solver verification