NOTE: The slope-deflection sign convention may seem strange to those used to matirx stiffness analysis, but it makes sense. None of the slope deflection equations explicitly state a
member 'direction' and it doesn't matter. For example, whether you consider the column AB as
going from A to B or as going from B to A, a +ive shear at end A is still directed toward the
left. In matrix analysis, that direction matters.
In [1]:
import sys
m = 'sdutil2'
if m in sys.modules:
del sys.modules[m] # so we can easily re-import the library if it changes during debugging
import sdutil2 as sd
In [2]:
sd.FEF.udl(4,72)
Out[2]:
In [3]:
x = sd.FEF.lvl(4,72,0)
x
Out[3]:
In [4]:
y = sd.FEF.lvl(4,0,72)
y
Out[4]:
In [5]:
x+y
Out[5]:
In [6]:
(x+y)*10
Out[6]:
In [7]:
10*x + y
Out[7]:
In [8]:
s1 = sd.FEF.lvl(4,72,0,a=0,b=2.5)
s2 = sd.FEF.lvl(4,0,72,a=0,b=2.5)
s3 = sd.FEF.lvl(4,72,0,a=2.5,b=1.5)
s4 = sd.FEF.lvl(4,0,72,a=2.5,b=1.5)
s1+s2+s3+s4
Out[8]:
In [9]:
s1 = sd.FEF.lvl(4,72,0,a=0,b=1.5)
s2 = sd.FEF.lvl(4,0,72,a=0,b=1.5)
s3 = sd.FEF.lvl(4,62,10,a=1.5,b=1)
s4 = sd.FEF.lvl(4,10,62,a=1.5,b=1)
s5 = sd.FEF.lvl(4,72,0,a=2.5,b=1.5)
s6 = sd.FEF.lvl(4,0,72,a=2.5,b=1.5)
s1+s2+s3+s4+s5+s6
Out[9]:
In [10]:
sd.FEF.lvl(10,15,a=0,b=8)
Out[10]:
In [11]:
sd.FEF.lvl(10,15,a=0,c=2)
Out[11]:
In [12]:
sd.FEF.lvl(10,15,b=8,c=2)
Out[12]:
In [13]:
sd.FEF.lvl(10,15,a=0,b=8,c=2)
Out[13]:
In [14]:
try:
sd.FEF.lvl(10,15,a=0,b=8,c=3)
except Exception as e:
print('***** Error:',str(e))
In [ ]:
In [ ]: