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)

../_images/60396c8a1ef6300de781be9c70cfb4d5a0492b17633349c27f75027368797762.png
import xara
section = xara.Section("MultiaxialFiber", shape, fibers={"d": 10, "t": 1, "b": 5})

veux.draw_shape(section)

../_images/8b5557096b80342fe377aff195aa31c8bef08d3c61d6a585475965212aa601c8.png
fibers={"d": 10, "tf": 3, "tw": 1, "b": 5}

section = xara.Section("MultiaxialFiber", shape, fibers=fibers)

veux.draw_shape(section)

../_images/aed160a6c35f02e7843586e89edc414d41f070b8593bd2d0e5937cd68b94bfd7.png
veux.ShapeArtist(shape).draw_fibers()
../_images/7a34d3ee3ce06e799d96c6f3985b7c434b372405f2238e81c2a3af91a1d9d881.png

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)

../_images/f9772d176d7a9ee8ecbb8e4722bf93de5f09c7f759f867692cb1680663ecd5ae.png

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)

../_images/cb910aee4fb4617ee31b73c4d8401da6d40214c6e1f35866eb6c6f0691ab4e54.png