Fibers: Intermediate#
This example demonstrates the generation of fibers for use with OpenSees. Begin by creating a standard AISC shape:
WideFlange#
import veux
from xsection.library import WideFlange
shape = WideFlange(d=12, bf=8, t=1)
veux.draw_shape(shape)
import xara
section = xara.Section("MultiaxialFiber", shape, fibers={"d": 10, "t": 1, "b": 5})
veux.draw_shape(section)
fibers={"d": 10, "tf": 3, "tw": 1, "b": 5}
section = xara.Section("MultiaxialFiber", shape, fibers=fibers)
veux.draw_shape(section)
veux.ShapeArtist(shape).draw_fibers()
HollowRectangle#
from xsection.library import HollowRectangle
shape = HollowRectangle(d=12, b=8, t=1)
fibers = {"d": 10, "tf": 3, "tw": 2, "b": 6}
section = xara.Section("MultiaxialFiber", shape, fibers=fibers)
veux.draw_shape(section)
Channel#
from xsection.library import Channel
shape = Channel(d=12, b=8, tf=1.5, tw=1)
fibers = {"d": 10, "tf": 3, "tw": 2, "b": 6}
section = xara.Section("MultiaxialFiber", shape, fibers=fibers)
veux.draw_shape(section)