Patch Command: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 32: Line 32:




The following is the command to generate a rectangular patch (the geometry of the patch is defined by coordinates of vertices: I and J. The first vertex, I, is in the third quadrant of the local coordinate system (y-z) and the second vertex, J, is in the first quadrant of the local coordinate system (y-z).
The following is the command to generate a rectangular patch. The geometry of the patch is defined by coordinates of vertices: I and J. The first vertex, I, is in the third quadrant of the local coordinate system (y-z) and the second vertex, J, is in the first quadrant of the local coordinate system (y-z).


{| style="background:yellow; color:black; width:800px"  
{| style="background:yellow; color:black; width:800px"  

Revision as of 20:23, 9 February 2011




The patch command is used to generate a number of fibers over a cross-sectional area. Currently there are three types of cross-section that fibers can be generated: quadrilateral, rectangular and circular.


The following is the command to generate a quadrilateral shaped patch (the geometry of the patch is defined by four vertices: I J K L. The coordinates of each of the four vertices is specified in COUNTER CLOCKWISE sequence):

patch quad $matTag $numSubdivIJ $numSubdivJK $yI $zI $yJ $zJ $yK $zK $yL $zL
$matTag tag of previously defined UniaxialMateral
$numSubdivIJ number of subdivisions (fibers) in the IJ direction.
$numSubdivJK number of subdivisions (fibers) in the JK direction.
$yI $zI y & z-coordinates of vertex I (local coordinate system)
$yJ $zJ y & z-coordinates of vertex J (local coordinate system)
$yK $zK y & z-coordinates of vertex K (local coordinate system)
$yL $zL y & z-coordinates of vertex L (local coordinate system)




The following is the command to generate a rectangular patch. The geometry of the patch is defined by coordinates of vertices: I and J. The first vertex, I, is in the third quadrant of the local coordinate system (y-z) and the second vertex, J, is in the first quadrant of the local coordinate system (y-z).

patch rect $matTag $numSubdivY $numSubdivZ $yI $zI $yJ $zJ
$matTag tag of previously defined UniaxialMateral
$numSubdivY number of subdivisions (fibers) in the local y direction.
$numSubdivZ number of subdivisions (fibers) in the local z direction.
$yI $zI y & z-coordinates of vertex I (local coordinate system)
$yJ $zJ y & z-coordinates of vertex J (local coordinate system)



The following is the command to generate a circular shaped patch:

patch circ $matTag $numSubdivCirc $numSubdivRad $yCenter $zCenter $intRad $extRad <$startAng $endAng>


$matTag tag of previously defined UniaxialMaterial
$numSubdivCirc number of subdivisions (fibers) in the circumferential direction
$numSubdivRad number of subdivisions (fibers) in the radial direction.
$yCenter $zCenter y & z-coordinates of the center of the circle
$intRad internal radius
$extRad external radius
$startAng starting angle (optional. default=0.0)
$endAng ending angle (optional. default=360.0)



NOTES:




EXAMPLE:

patch circ $coreMatTag 8 8 0.0 0.0 0.0 $h; # define solid circular section with 64 fibers with radiues $h using $coreMatTag material

patch quad $coreMatTag 8 8 -$b -$h $b -$h $b $h -$b $h; # define core patch with 8 subdivisions within a rectange of width 2b and depth 2h



Code Developed by: Remo M. De Souza