.. _FiberSection: Fiber Section ************* .. tabs:: .. tab:: Tcl .. function:: section Fiber $secTag <-GJ $GJ | -torsion $matTag> <-noCentroid> { fiber ... patch ... layer ... } .. tab:: Python .. code-block:: python ops.section('Fiber', secTag, <'-GJ', GJ | '-torsion', matTag>, <'-noCentroid'>) ops.fiber(...) ops.patch(...) ops.layer(...) .. csv-table:: :header: "Argument", "Type", "Description" :widths: 10, 10, 40 $secTag, |integer|, unique section tag -GJ $GJ, |float|, "linear-elastic torsional stiffness of the section, GJ (3D)" -torsion $matTag, |integer|, "tag of a uniaxial material for the torsional response (3D)" -noCentroid, |string|, "do not compute the centroid of the section: the fibers are located with respect to the origin of the y-z coordinates (optional)" $fiberCommands, |list|, "fiber, patch and layer commands that define the fibers (Tcl: in braces after the section command)" .. rubric:: Discussion This command is used to construct a fiber section, whose response is obtained by integrating the response of uniaxial material fibers over the cross section, assuming that plane sections remain plane (Euler-Bernoulli theory). The fibers are defined with the :ref:`fiber `, :ref:`patch ` and :ref:`layer ` commands, which, in Tcl, are given in braces after the section command, and in Python are called after the section command. The fiber coordinates are given in the local y-z coordinate system of the section, which is that of the element: y is the local y axis (in the plane of bending for a 2D model) and z the local z axis. In 2D models the z coordinates are ignored, but must be given. By default the section deformations are computed about the centroid of the section, i.e. the area-weighted centroid of the fibers (for 2D sections, along y), so the coordinates can be given in any convenient system; with **-noCentroid** they are computed about the origin of the y-z coordinates. In 3D, the torsional response is uncoupled from the axial and bending response, and must be given, either as a linear-elastic stiffness with **-GJ** or with a uniaxial material with **-torsion**. The fiber commands add fibers to the last section created. **fiberSec** is another name for **Fiber**. For sections with nD material fibers, e.g. for axial-shear interaction, use :ref:`NDFiber `. .. _fiberCommand: fiber Command ============= .. tabs:: .. tab:: Tcl .. function:: fiber $yLoc $zLoc $A $matTag .. tab:: Python .. code-block:: python ops.fiber(yLoc, zLoc, A, matTag) .. csv-table:: :header: "Argument", "Type", "Description" :widths: 10, 10, 40 $yLoc $zLoc, |float|, local y and z coordinates of the fiber $A, |float|, area of the fiber $matTag, |integer|, tag of the uniaxial material of the fiber This command adds a single fiber to the section. .. _patchCommand: patch Command ============= .. tabs:: .. tab:: Tcl .. function:: patch quad $matTag $numSubdivIJ $numSubdivJK $yI $zI $yJ $zJ $yK $zK $yL $zL .. function:: patch rect $matTag $numSubdivY $numSubdivZ $yI $zI $yJ $zJ .. function:: patch circ $matTag $numSubdivCirc $numSubdivRad $yCenter $zCenter $intRad $extRad <$startAng $endAng> .. tab:: Python .. code-block:: python ops.patch('quad', matTag, numSubdivIJ, numSubdivJK, yI, zI, yJ, zJ, yK, zK, yL, zL) ops.patch('rect', matTag, numSubdivY, numSubdivZ, yI, zI, yJ, zJ) ops.patch('circ', matTag, numSubdivCirc, numSubdivRad, yCenter, zCenter, intRad, extRad, ) .. csv-table:: :header: "Argument", "Type", "Description" :widths: 10, 10, 40 $matTag, |integer|, tag of the material of the fibers $numSubdivIJ $numSubdivJK, |integer|, "quad: number of subdivisions (fibers) along the edges I-J and J-K" $yI $zI ... $yL $zL, |float|, "quad: coordinates of the four vertices, I, J, K and L, given counter-clockwise" $numSubdivY $numSubdivZ, |integer|, "rect: number of subdivisions along the local y and z axes" $yI $zI $yJ $zJ, |float|, "rect: coordinates of two opposite corners, I (lower left) and J (upper right)" $numSubdivCirc $numSubdivRad, |integer|, "circ: number of subdivisions in the circumferential and radial directions" $yCenter $zCenter, |float|, "circ: coordinates of the center of the circle" $intRad $extRad, |float|, "circ: internal and external radii" $startAng $endAng, |float|, "circ: starting and ending angles, in degrees, measured from the local y axis (optional: default = 0 and 360, a full circle)" This command generates the fibers of a region of the section: a quadrilateral (**quad**), a rectangle (**rect**), or a circular sector or ring (**circ**). The region is divided into the given number of subdivisions, and a fiber is placed at the centroid of each, with its area. **quadr**, **rectangular** and **circular** are other names for the three patch types. For **rect**, :math:`(z_J - z_I)/(y_J - y_I)` must be positive, so that the fiber areas are positive. .. figure:: figures/QuadPatch.gif :align: center :width: 50% Quadrilateral patch .. figure:: figures/PatchRect.GIF :align: center :width: 50% Rectangular patch .. figure:: figures/CircPatch.gif :align: center :width: 50% Circular patch .. _layerCommand: layer Command ============= .. tabs:: .. tab:: Tcl .. function:: layer straight $matTag $numFiber $areaFiber $yStart $zStart $yEnd $zEnd .. function:: layer circ $matTag $numFiber $areaFiber $yCenter $zCenter $radius <$startAng $endAng> .. tab:: Python .. code-block:: python ops.layer('straight', matTag, numFiber, areaFiber, yStart, zStart, yEnd, zEnd) ops.layer('circ', matTag, numFiber, areaFiber, yCenter, zCenter, radius, ) .. csv-table:: :header: "Argument", "Type", "Description" :widths: 10, 10, 40 $matTag, |integer|, tag of the material of the fibers $numFiber, |integer|, number of fibers (bars) in the layer $areaFiber, |float|, area of each fiber $yStart $zStart $yEnd $zEnd, |float|, "straight: coordinates of the first and last fibers" $yCenter $zCenter $radius, |float|, "circ: center and radius of the arc" $startAng $endAng, |float|, "circ: starting and ending angles, in degrees (optional: default = a full circle, with the fibers equally spaced)" This command generates a row of fibers of equal area, typically the reinforcing bars, along a straight line or a circular arc. For **circ**, the default angles are 0 and 360 - 360/numFiber. .. figure:: figures/StraightLayer.gif :align: center :width: 50% Straight layer .. figure:: figures/CircLayer.gif :align: center :width: 50% Circular layer .. note:: #. In 3D, either **-GJ** or **-torsion** is required. #. Each fiber, patch and layer command adds fibers to the section; overlapping regions are not removed. For a reinforced concrete section, the bars are usually added as layers on top of the concrete patches, without removing the concrete at the bars. #. The fiber, patch and layer commands can also be used with the :ref:`NDFiber ` section, with nD materials. #. In Tcl versions up to 3.8.0, the **patch circ** angles are required. #. Element recorder responses: **force**, **deformation**, **forceAndDeformation**, **fiber $fiberNum ...** and **fiber $yLoc $zLoc <$matTag> ...**, the last giving the response of the fiber nearest the location. .. admonition:: Example 1: Reinforced Concrete Section The following example defines a 3D fiber section for a 24 x 24 in. reinforced concrete column, in kip and inch units, with a confined core (material **1**), unconfined cover (material **2**), 1.5 in. of cover, and four layers of steel bars (material **3**). .. tabs:: .. tab:: Tcl .. code-block:: tcl set h 24.0; set c 1.5; set y1 [expr $h/2.0]; set yc [expr $y1-$c] section Fiber 1 -GJ 1.0e10 { # core patch rect 1 10 10 -$yc -$yc $yc $yc # cover patch rect 2 10 1 -$y1 $yc $y1 $y1 patch rect 2 10 1 -$y1 -$y1 $y1 -$yc patch rect 2 1 10 -$y1 -$yc -$yc $yc patch rect 2 1 10 $yc -$yc $y1 $yc # reinforcing bars layer straight 3 4 0.79 $yc $yc $yc -$yc layer straight 3 4 0.79 -$yc $yc -$yc -$yc } .. tab:: Python .. code-block:: python h = 24.0; c = 1.5; y1 = h/2.0; yc = y1 - c ops.section('Fiber', 1, '-GJ', 1.0e10) # core ops.patch('rect', 1, 10, 10, -yc, -yc, yc, yc) # cover ops.patch('rect', 2, 10, 1, -y1, yc, y1, y1) ops.patch('rect', 2, 10, 1, -y1, -y1, y1, -yc) ops.patch('rect', 2, 1, 10, -y1, -yc, -yc, yc) ops.patch('rect', 2, 1, 10, yc, -yc, y1, yc) # reinforcing bars ops.layer('straight', 3, 4, 0.79, yc, yc, yc, -yc) ops.layer('straight', 3, 4, 0.79, -yc, yc, -yc, -yc) .. admonition:: Example 2: Circular Section The following example defines a 3D fiber section for a circular column with a diameter of 36 in., with a confined core (material **1**), 2 in. of unconfined cover (material **2**), and 12 bars (material **3**) on a circle of radius 15 in. .. tabs:: .. tab:: Tcl .. code-block:: tcl section Fiber 2 -GJ 1.0e10 { patch circ 1 12 8 0.0 0.0 0.0 16.0 0.0 360.0 patch circ 2 12 2 0.0 0.0 16.0 18.0 0.0 360.0 layer circ 3 12 1.0 0.0 0.0 15.0 } .. tab:: Python .. code-block:: python ops.section('Fiber', 2, '-GJ', 1.0e10) ops.patch('circ', 1, 12, 8, 0.0, 0.0, 0.0, 16.0, 0.0, 360.0) ops.patch('circ', 2, 12, 2, 0.0, 0.0, 16.0, 18.0, 0.0, 360.0) ops.layer('circ', 3, 12, 1.0, 0.0, 0.0, 15.0) Code Developed by: |fmk|, |mhs|