Uniaxial Fibers#
Download notebookMaterial#
import xara
material = xara.UniaxialMaterial("Elastic", E=29e3, nu=0.3)
Geometry#
from xara.shapes import from_aisc
import veux
shape = from_aisc("W14x132", material=material)
veux.draw_shape(shape)
model = xara.Model(ndm=3, ndf=6)
L = 100
sec = 1
A = 1.61538e8
I = 3.5e7
model.node(1, (0, 0, 0))
model.node(2, (L, 0, 0))
section = xara.FrameSection("UniaxialFiber", shape)
model.material(material)
model.section(section)
model.geomTransf("Linear", 1, (0,0,1))
model.element("ForceFrame", 1, (1, 2), section=section, transform=1, shear=0)
veux.draw_frame(model)