| THEORY & FORMULAE |
A simple portal frame consists of one horizontal beam (girder) resting on top of two vertical columns (posts). The junction of the beam with the colums consists of rigid joints. Consider a frame ABCD where the columns are hinged (pin-support) at their bases A and D. When the girder is subjected to a concentrated vertical load, the forces and bending moments acting on the system can be described by the following equations:
    
where
     L = length of beam (girder)
     h = length of each column (post)
     I1 = moment of inertia of each column
     I2 = moment of inertia of girder
     P = applied point force
     a = horizontal distance of load point from left corner
     H = horizontal reactive force at column base
     Ha = horizontal reactive force at point A
     Hb = horizontal reactive force at point B
     Ra = vertical reactive force at point A
     Rb = vertical reactive force at point B
     Ma = bending moment at point A
     Mb = bending moment at corner B
     Mc = bending moment at corner C
     Md = bending moment at point D
     Mg = bending moment at load point
     b, ξ, k = derived variables as defined
◊ Use link
EXAMPLE Of Input/Output
to demo data entry expectations and results; you may edit & use it as starting point