Basic functions
Fiber patches
- openseestools.patchRect2d(matTag, nf, width, startHeight, endHeight)
Create a quadrilateral patch suitable for two-dimensional analyses.
All fibers are placed on the z-axis.
- Parameters:
matTag (int) – Tag of the uniaxial material to use.
nf (int) – Number of fibers in the patch.
width (float) – Width of the patch.
startHeight (float) – Starting height of the patch.
endHeight (float) – Ending height of the patch.
- openseestools.patchHalfCircTube2d(matTag, nf, center, side, D, t)
Create a set of fibers to describe half a circular tube.
Fibers are suitable for two-dimensional analyses since all fibers are placed on the Z-axis.
- Parameters:
matTag (int) – Tag of the uniaxial material to use.
nf (int) – Number of fibers along the height of the section.
center (float) – Y-axis location of the center of the tube.
side ({'top', 'bottom'}) – Side of the tube to create.
D (float) – Diameter of the tube.
t (float) – Thickness of the tube.
- Raises:
ValueError – if side is not ‘top’ or ‘bottom’ if D is not a positive value if t is not a positive value if t is more than 0.5*`D`