# Layer Command

The layer command is used to generate a number of fibers along a line or a circular arc.

This command is used to construct a straight line of fibers:

```tcl layer straight $matTag $numFiber $areaFiber $yStart $zStart $yEnd $zEnd ```

matTag

material tag of previously created material (UniaxialMaterial tag for a FiberSection or NDMaterial tag for use in an NDFiberSection)

numFibers

number of fibers along line

areaFiber

area of each fiber

yStart zEnd

y and z-coordinates of first fiber in line (local coordinate system)

$$yEnd $zEnd

y and z-coordinates of last fiber in line (local coordinate system)

StraightLayer.gif

This command is used to construct a line of fibers along a circular arc:

```tcl layer circ $matTag $numFiber $areaFiber $yCenter $zCenter $radius <$startAng $endAng> ```

matTag

material tag of previously created material (UniaxialMaterial tag for a FiberSection or NDMaterial tag for use in an NDFiberSection)

numFiber

number of fibers along arc

areaFiber

area of each fiber

yCenter zCenter

y and z-coordinates of center of circular arc

radius

radius of circular arc

startAng

starting angle (optional, default = 0.0)

endAng

ending angle (optional, default = 360.0 - 360/$numFiber)

CircLayer.gif

NOTES:


## Examples

layer straight $steelMatTag 10 0.11 -b -h b -h; # define steel layer of 10 bars with area 0.11 at bottom of section of width 2b by 2h

layer circ $steelMatTag 10 0.11 0.0 0.0 $h 0 360; # define circular steel layer of 10 bars with area 0.11 uniformly distributed along circumference of circle of diameter 2h


Code Developed by: Remo M. De Souza