Fiber sets

class materials.sections.fiber_section.fiber_sets.FiberSet(scc, setName, matTag)

Bases: object

This class constructs a set of all the fibers made of the same material
from a fiber section
Variables:
  • scc – fiber section
  • setName – name of the set of fibers to be generated
  • matTag – integer tag indentifying the uniaxial material which forms the fibers
fSet = None
getFiberWithMaxStrain()

returns the fiber with the maximum strain from the set of fibers

getFiberWithMinStrain()

returns the fiber with the minimum strain from the set of fibers

class materials.sections.fiber_section.fiber_sets.RCSets(scc, concrMatTag, concrSetName, reinfMatTag, reinfSetName)

Bases: object

This class constructs both the concrete and reinforced steel fiber sets from a reinforced concrete fiber section

Variables:
  • scc – fiber section
  • concrMatTag – tag of the uniaxial material that makes up the concrete fibers of the section
  • concrSetName – name of the set of fibers of concrete to be generated
  • reinfMatTag – tag of the uniaxial material that makes up the reinforcing steel fibers of the section
  • reinfSetName – name of the set of fibers of reinforcing steel to be generated
concrFibers = None
getConcreteArea(factor)

returns the cross section area of concrete in the set of fibers

getConcreteCompression()

returns the resultant of compressive stresses in the concrete fibers of the section

getConcreteInitialTangent()

returns the initial tangent in the stress-strain diagram of the material that makes up the fibers of concrete

getMaxConcreteStrain()

returns the maximum strain in the set of concrete fibers

getNumTensionRebars()

returns the number of reinforcing steel fibers in tension

reinfFibers = None
reselTensionFibers(scc, tensionFibersSetName)

returns a set with those fibers in tension from the total set

tensionFibers = None
materials.sections.fiber_section.fiber_sets.createRCFiberSets(preprocessor, setName, concrMatTag, reinfMatTag)
Constructs the sets of concrete fibers ‘concrete’ and reinforcing steel

fibers ‘reinforcement’ for all the elements included in a set of elements.

Returns the following two sets of fibers:

  • set named concrete: include all the fibers of material concrMatTag from the set of elements setName
  • set named reinforcement: include all the fibers of material reinfMatTag from the set of elements setName
Parameters:
  • preprocessor – preprocessor name
  • setName – name identifying the set of element
  • concrMatTag – tag of the uniaxial material that makes up the concrete fibers
  • reinfMatTag – tag of the uniaxial material that makes up the reinforcing steel fibers
materials.sections.fiber_section.fiber_sets.fiberSectionSetupRC3Sets(scc, concrMatTag, concrSetName, reinfMatTag, reinfSetName)

returns a set of tensioned fibers tensionedReinforcement of a fiber section of reinforced concrete.

Parameters:
  • scc – name identifying the fiber section
  • concrMatTag – tag of the uniaxial material that makes up the concrete fibers
  • concrSetName – name of the set of fibers of concrete to be generated
  • reinfMatTag – tag of the uniaxial material that makes up the reinforcing steel fibers
  • reinfSetName – name of the set of fibers of reinforcing steel to be generated
materials.sections.fiber_section.fiber_sets.fiberSectionSetupRCSets(scc, concrMatTag, concrSetName, reinfMatTag, reinfSetName)
materials.sections.fiber_section.fiber_sets.getIMaxPropFiber(fibers, methodName)

returns the fiber from a set of fibers where the maximum value of a certain property is reached

Parameters:
  • fibers – set of fibers
  • methodName – name of the method that returns the fiber property searched
materials.sections.fiber_section.fiber_sets.getIMinPropFiber(fibers, methodName)

returns the fiber from a set of fibers where the minimum value of a certain property is reached

Parameters:
  • fibers – set of fibers
  • methodName – name of the method that returns the fiber property searched
materials.sections.fiber_section.fiber_sets.redefTensStiffConcr(setOfTenStffConcrFibSect, ft, Ets)

Redefine the tension stiffening parameters of the concrete fibers in set passed as parameter.

Parameters:
  • fibSect – fiber section
  • setOfTenStffConcrFibSect – set of fibers made of a concrete material with tension stiffening (constitutive model type concrete02) whose tension properties we want to redefine.
  • ft – new value of the tensile strength (see concrete02 constitutive model)
  • Ets – new value of the softening stiffness (see concrete02 constitutive model)
materials.sections.fiber_section.fiber_sets.reselTensionFibers(scc, fiberSetName, tensionFibersSetName)

Returns the fibers under tension included in a set of fibers of a fiber section type

Parameters:
  • scc – name identifying the fiber section
  • fiberSetName – name identifying the set of fibers

Geometry of fiber sections

materials.sections.fiber_section.geom_fiber_sect.gmRectangSection(geomSection, fiberMatName, h, b, nDIJ, nDIK)

returns a rectangular section of fibers of the same material

Parameters:
  • geomSection – geometric section
  • fiberMatName – name of the material that makes up the fibers
  • h – length of the height side of the rectangle
  • b – length of the width side of the rectangle
  • nDIJ – number of divisions to be used along the IJ (width) direction
  • nDJK – number of divisions to be used along the JK (height) direction
materials.sections.fiber_section.geom_fiber_sect.gmSquareSection(geomSection, fiberMatName, ld, nD)

returns a square section of fibers of the same material

Parameters:
  • geomSection – geometric section
  • fiberMatName – name of the material that makes up the fibers
  • ld – edge length of the square
  • nD – number of divisions to be used along the edges of the square

Definition of reinforcement in fiber sections

materials.sections.fiber_section.geom_reinf_fiber_sect.ggmTopRowRebars(sectionGeom, fiberMatName, nRebars, areaRebar, depth, width, cover)

Horizontal row of reinforcement bars in the top face

materials.sections.fiber_section.geom_reinf_fiber_sect.gmBottomRowRebars(sectionGeom, fiberMatName, nRebars, areaRebar, depth, width, cover)

Horizontal row of reinforcement bars in the bottom face

materials.sections.fiber_section.geom_reinf_fiber_sect.gmHorizRowRebars(sectionGeom, fiberMatName, nRebars, areaRebar, depth, width, cover, h)

Horizontal row of reinforcement bars, placed at a distance h from the median plane (h + towards the top face)

Parameters:
  • sectionGeom – geometric section
  • fiberMatName – name identifying the material that makes up the fibers
  • nRebars – number of reinforcing bars to be placed in the row
  • areaRebar – cross-sectional area of each reinforcing bar
  • depth – depth (vertical direction) of the rectangular section
  • width – width (horizontal direction) of the rectangular section
  • cover – effective cover
  • h – vertical distance from the row of rebars to the horizontal simetry axis of the section
materials.sections.fiber_section.geom_reinf_fiber_sect.gmSideFaceRebars(fiberMatName, areaRebar, depth, width, cover, h)

Side face row of reinforcement, placed at a distance h from the median plane (h + towards the top face)

Definition of reinforced concrete sections

class materials.sections.fiber_section.def_simple_RC_section.BasicRectangularRCSection(name=None, sectionDescr=None, width=0.25, depth=0.25, concrType=None, reinfSteelType=None)

Bases: materials.sections.fiber_section.def_simple_RC_section.RCSectionBase, materials.sections.section_properties.RectangularSection

Base class for rectangular reinforced concrete sections.

Variables:
  • sectionName – name identifying the section
  • shReinfZ – record of type ShearReinforcement defining the shear reinforcement in Z direction
  • shReinfY – record of type ShearReinforcement defining the shear reinforcement in Y direction
defConcreteRegion(geomSection)

Define a rectangular region filled with concrete.

defElasticSection1d(preprocessor, overrideRho=None)

Return an elastic section appropiate for truss analysis.

Parameters:
  • preprocessor – preprocessor of the finite element problem.
  • overrideRho – if defined (not None), override the value of the material density.
defElasticSection2d(preprocessor, majorAxis=True, overrideRho=None)

Return an elastic section appropiate for 2D beam analysis

Parameters:
  • preprocessor – XC preprocessor for the finite element problem.
  • majorAxis – true if bending occurs in the section major axis.
  • overrideRho – if defined (not None), override the value of the material density.
defElasticSection3d(preprocessor, overrideRho=None)

Return an elastic section appropiate for 3D beam analysis

Parameters:
  • preprocessor – preprocessor of the finite element problem.
  • overrideRho – if defined (not None), override the value of the material density.
defElasticShearSection2d(preprocessor, material, majorAxis=True, overrideRho=None)
elastic section appropiate for 2D beam analysis, including
shear deformations.
Parameters:
  • preprocessor – XC preprocessor for the finite element problem.
  • majorAxis – true if bending occurs in the section major axis.
  • overrideRho – if defined (not None), override the value of the material density.
defElasticShearSection3d(preprocessor, overrideRho=None)
elastic section appropiate for 3D beam analysis, including shear
deformations
Parameters:
  • preprocessor – XC preprocessor for the finite element problem.
  • overrideRho – if defined (not None), override the value of the material density.
getRespT(preprocessor)

Material for modeling torsional response of section.

Parameters:preprocessor – preprocessor of the finite element problem.
getRespVy(preprocessor)

Material for modeling Y shear response of section.

Parameters:preprocessor – preprocessor of the finite element problem.
getRespVz(preprocessor)

Material for modeling Z shear response of section.

Parameters:preprocessor – preprocessor of the finite element problem.
getShearReinfY()

Return the shear reinforcement for Vy.

getShearReinfZ()

Return the shear reinforcement for Vz.

class materials.sections.fiber_section.def_simple_RC_section.LongReinfLayers(lst=None)

Bases: object

Layers of longitudinal reinforcement.

append(rebarRow)

Append a reinforcement row to the list.

centerRebars(b)

centers in the width of the section the rebars.

defCircularLayers(reinforcement, code, diagramName, extRad, anglePairs=None)

Definition of the reinforcement layers

Parameters:
  • reinforcement – XC section reinforcement.
  • code – identifier for the layer.
  • diagramName – name of the strain-stress diagram of the steel.
  • points – end points for each row.
defStraightLayers(reinforcement, code, diagramName, pointPairs)

Definition of the reinforcement layers

Parameters:
  • reinforcement – XC section reinforcement.
  • code – identifier for the layer.
  • diagramName – name of the strain-stress diagram of the steel.
  • pointPairs – end points for each row.
getAs()

returns the cross-sectional area of the rebars.

getAsRows()

Returns a list with the cross-sectional area of the rebars in each row.

getCover()

returns a list with the cover of bars for each row of bars.

getDiameters()

returns a list with the bar diameter for each row of bars in local positive face.

getLatCover()

returns a list with the lateral cover of bars for each row of bars.

getMinCover()

Return the minimum value of the cover.

getNBar()

returns a list with the number of bars for each row.

getRowsCGcover()

returns the distance from the center of gravity of the rebars to the face of the section

getSpacings()

returns a list with the distance between bars for each row of bars.

class materials.sections.fiber_section.def_simple_RC_section.RCFiberSectionParameters(concrType=None, reinfSteelType=None, nDivIJ=10, nDivJK=10)

Bases: object

Parameters needed to create a reinforced concrete fiber section.

Variables:
  • concrType – type of concrete (e.g. EHE_materials.HA25)
  • concrDiagName – name identifying the characteristic stress-strain diagram of the concrete material
  • reinfSteelType – type of reinforcement steel
  • reinfDiagName – name identifying the characteristic stress-strain diagram of the reinforcing steel material
  • nDivIJ – number of cells in IJ (width or radial) direction
  • nDivJK – number of cells in JK (height or tangential) direction
defDiagrams(preprocessor, matDiagType)

Stress-strain diagrams definition.

Parameters:
  • preprocessor – preprocessor of the finite element problem.
  • matDiagType – type of stress-strain diagram (“k” for characteristic diagram, “d” for design diagram)
defInteractionDiagramParameters(preprocessor)

Defines the parameters for interaction diagrams.

Parameters:preprocessor – preprocessor of the finite element problem.
getConcreteDiagram(preprocessor)

Return the concrete strain-stress diagram.

Parameters:preprocessor – preprocessor of the finite element problem.
getSteelDiagram(preprocessor)

Return the steel strain-stress diagram.

Parameters:preprocessor – preprocessor of the finite element problem.
getSteelEquivalenceCoefficient(preprocessor)

Return the equivalence coefficiente for the steel (Es/Ec).

Parameters:preprocessor – preprocessor of the finite element problem.
nDivCirc()

Alias for nDivIJ when defining circular sections.

nDivRad()

Alias for nDivJK when defining circular sections.

class materials.sections.fiber_section.def_simple_RC_section.RCRectangularSection(name=None, sectionDescr=None, width=0.25, depth=0.25, concrType=None, reinfSteelType=None)

Bases: materials.sections.fiber_section.def_simple_RC_section.BasicRectangularRCSection

This class is used to define the variables that make up a reinforced
concrete section with top and bottom reinforcement layers.
Variables:
  • sectionName – name identifying the section
  • sectionDescr – section description
  • minCover – minimum value of end or clear concrete cover of main bars from both the positive and negative faces
  • negatvRebarRows – layers of main rebars in the local negative face of the section
  • positvRebarRows – layers of main rebars in the local positive face of the section
centerRebarsNeg()

centers in the width of the section the rebars placed in the negative face

centerRebarsPos()

centers in the width of the section the rebars placed in the positive face

defSectionGeometry(preprocessor, matDiagType)

Define the XC section geometry object for a reinforced concrete section

Parameters:
  • preprocessor – preprocessor of the finite element problem.
  • matDiagType – type of stress-strain diagram (“k” for characteristic diagram, “d” for design diagram)
getAc()

Returns the cross-sectional area of the section

getAreaHomogenizedSection()

Return the area of the homogenized section.

getAsNeg()

returns the cross-sectional area of the rebars in the negative face

getAsPos()

returns the cross-sectional area of the rebars in the positive face.

getCoverNeg()

returns a list with the cover of bars for each row of bars in local negative face.

getCoverPos()

returns a list with the cover of bars for each row of bars in local positive face.

getDiamNeg()

returns a list with the bar diameter for each row of bars in local negative face.

getDiamPos()

returns a list with the bar diameter for each row of bars in local positive face.

getHomogenizationCoefficient()

Return the homogenization coefficient of the section.

getI()

returns the second moment of area about the middle axis parallel to the width

getIyHomogenizedSection()

returns the second moment of area about the axis parallel to the section depth through the center of gravity

getIy_RClocalYax()

returns the second moment of area about the middle axis parallel to the depth (RClocalYaxis)

getIzHomogenizedSection()

returns the second moment of area about the axis parallel to the section width through the center of gravity

getIz_RClocalZax()

returns the second moment of area about the middle axis parallel to the width (RClocalZaxis)

getLatCoverNeg()

returns a list with the lateral cover of bars for each row of bars in local negative face.

getLatCoverPos()

returns a list with the lateral cover of bars for each row of bars in local positive face.

getMinCover()

return the minimal cover of the reinforcement.

getNBarNeg()

returns a list with the number of bars for each row of bars in local negative face.

getNBarPos()

returns a list with the number of bars for each row of bars in local positive face.

getNegRowsCGcover()

returns the distance from the center of gravity of the negative rebars to the negative face of the section

getPosRowsCGcover()

returns the distance from the center of gravity of the positive rebars to the positive face of the section.

getRoughVcuEstimation()

returns a minimal value (normally shear strength will be greater) of the shear strength of the concrete section Vcu expressed in newtons.

getSNeg()

returns a list with the distance between bars for each row of bars in local negative face.

getSPos()

returns a list with the distance between bars for each row of bars in local positive face.

getStressCalculator()
getTorsionalThickness()

Return the section thickness for torsion.

getYAsNeg()

returns the local Y coordinate of the center of gravity of the rebars in the negative face

getYAsPos()

returns the local Y coordinate of the center of gravity of the rebars in the positive face.

hCOGHomogenizedSection()

Return distance from the bottom fiber to the centre of gravity of the homogenized section.

iyHomogenizedSection()

Return the radius of gyration of the section around the axis parallel to the section depth that passes through section centroid.

izHomogenizedSection()

Return the radius of gyration of the section around the axis parallel to the section width that passes through section centroid.

class materials.sections.fiber_section.def_simple_RC_section.RCSectionBase(sectionDescr=None, concrType=None, reinfSteelType=None, nIJ=10, nJK=10)

Bases: object

Base class for reinforced concrete sections.

Variables:
  • sectionDescr – section description.
  • fiberSectionParameters – Parameters needed to create a reinforced concrete fiber section.
  • fiberSectionRepr – fiber model of the section.
defDiagrams(preprocessor, matDiagType)

Stress-strain diagrams definition.

Parameters:
  • preprocessor – preprocessor of the finite element problem.
  • matDiagType – type of stress-strain diagram (“k” for characteristic diagram, “d” for design diagram)
defFiberSection(preprocessor)

Define fiber section from geometry data.

Parameters:preprocessor – preprocessor of the finite element problem.
defInteractionDiagram(preprocessor)

Defines 3D interaction diagram.

Parameters:preprocessor – preprocessor of the finite element problem.
defInteractionDiagramNMy(preprocessor)

Defines N-My interaction diagram.

Parameters:preprocessor – preprocessor of the finite element problem.
defInteractionDiagramNMz(preprocessor)

Defines N-Mz interaction diagram.

Parameters:preprocessor – preprocessor of the finite element problem.
defInteractionDiagramParameters(preprocessor)

parameters for interaction diagrams.

Parameters:preprocessor – preprocessor of the finite element problem.
defRCSection(preprocessor, matDiagType)

Definition of an XC reinforced concrete section.

Parameters:
  • preprocessor – preprocessor of the finite element problem.
  • matDiagType – type of stress-strain diagram (“k” for characteristic diagram, “d” for design diagram)
defShearResponse(preprocessor)

Define the shear/torsional response of the section.

Parameters:preprocessor – preprocessor of the finite element problem.
getConcreteDiagram(preprocessor)

Return the concrete stress-strain diagram.

Parameters:preprocessor – preprocessor of the finite element problem.
getSteelDiagram(preprocessor)

Return the reinforcing steel stress-strain diagram.

Parameters:preprocessor – preprocessor of the finite element problem.
getSteelEquivalenceCoefficient(preprocessor)

Return the steel equivalence coefficient: Es/Ec.

Parameters:preprocessor – preprocessor of the finite element problem.
gmSectionName()

returns the name of the geometric section

isCircular()

Return true if it’s a circular section.

Parameters:preprocessor – preprocessor of the finite element problem.
materials.sections.fiber_section.def_simple_RC_section.RebarRow2ReinfRow(rebarRow, width=1.0, nominalLatCover=0.03)
Returns a RebarRow object from a ReinfRow object
as defined in the rebar_family module.
Parameters:
  • rebarRow – RebarRow object.
  • width – width of the cross-section (defautls to 1 m)
  • nominalLatCover – nominal lateral cover (only considered if nRebars is defined, defaults to 0.03)
class materials.sections.fiber_section.def_simple_RC_section.ReinfRow(rebarsDiam=None, areaRebar=None, rebarsSpacing=None, nRebars=None, width=1.0, nominalCover=0.03, nominalLatCover=0.03)

Bases: object

Definition of the variables that make up a family (row) of main (longitudinal) reinforcing bars.

Variables:
  • rebarsDiam – diameter of the bars (if omitted, the diameter is calculated from the rebar area)
  • areaRebar – cross-sectional area of the bar (if omitted, the area is calculated from the rebar diameter)
  • rebarsSpacing – spacing between bars (not considered if nRebars is defined)
  • nRebars – number of rebars to be placed in the row (>1)
  • width – width of the cross-section (defautls to 1m)
  • nominalCover – nominal cover (defaults to 0.03m)
  • nominalLatCover – nominal lateral cover (only considered if nRebars is defined, defaults to 0.03)
centerRebars(width)

center the row of rebars in the width of the section

defCircularLayer(reinforcement, code, diagramName, extRad, initAngle=0.0, finalAngle=6.283185307179586)
Definition of a circular reinforcement layer in the XC section
geometry object between the angle arguments.
Parameters:
  • reinforcement – XC section geometry reinforcement.
  • code – identifier for the layer.
  • diagramName – name of the strain-stress diagram of the steel.
  • extRad – concrete external radius.
  • initAngle – initial angle.
  • finalAngle – final angle.
defStraightLayer(reinforcement, code, diagramName, p1, p2)
Definition of a straight reinforcement layer in the XC section
geometry object between the 2d positions p1 and p2.
Parameters:
  • reinforcement – XC section geometry reinforcement.
  • code – identifier for the layer.
  • diagramName – name of the strain-stress diagram of the steel.
  • p1 – first point of the layer.
  • p2 – last point of the layer.
getAs()

returns the total cross-sectional area of reinforcing steel in the family

class materials.sections.fiber_section.def_simple_RC_section.ShearReinforcement(familyName=None, nShReinfBranches=0.0, areaShReinfBranch=0.0, shReinfSpacing=0.2, angAlphaShReinf=1.5707963267948966, angThetaConcrStruts=0.7853981633974483)

Bases: object

Definition of the variables that make up a family of shear reinforcing bars.

Variables:
  • familyName – name identifying the family of shear reinforcing bars.
  • nShReinfBranches – number of effective branches.
  • areaShReinfBranch – area of the shear reinforcing bar [in the unit of area of the model].
  • shReinfSpacing – longitudinal distance between transverse reinforcements [in the unit of length of the model]
  • angAlphaShReinf – angle between the shear reinforcing bars and the axis of the member expressed in radians.
  • angThetaConcrStruts – angle between the concrete’s compression struts and the axis of the member expressed in radians.
getAs()

returns the area per unit length of the family of shear reinforcements.

materials.sections.fiber_section.def_simple_RC_section.rebLayerByNumFi_mm(n, fi, c, latC, L)

Defines a layer of main reinforcement bars with a fixed number of rebars. Spacing is calculated so that the rebars (and two lateral covers) are inserted in the length L passed as parameter.

Parameters:
  • n – number of rebars
  • fi – bar diameter [mm]
  • c – nominal cover [mm]
  • latC – nominal lateral cover [mm]
  • L – length where the n rebars and two lateral covers are inserted [mm]
materials.sections.fiber_section.def_simple_RC_section.rebLayer_mm(fi, s, c)

Defines a layer of main reinforcement bars, given the spacement.

Parameters:
  • fi – bar diameter [mm]
  • s – spacing [mm]
  • c – cover [mm]

Definition of column RC sections

class materials.sections.fiber_section.def_column_RC_section.ColumnMainReinforcement

Bases: object

Main (longitudinal) rebars of a column.

Variables:
  • cover – concrete clear cover of main reinforcement
  • nRebarsWidth – number of rebars in the width direction of the section (each face)
  • areaRebarWidth – cross sectional area of each rebar in width direction
  • nRebarsDepth – number of rebars in the depth direction of the section (each face)
  • areaRebarDepth – cross sectional area of each rebar in depth direction
class materials.sections.fiber_section.def_column_RC_section.RCCircularSection(name='noName', sectionDescr=None, Rext=0.25, Rint=0.0, concrType=None, reinfSteelType=None)

Bases: materials.sections.fiber_section.def_simple_RC_section.RCSectionBase, materials.sections.section_properties.CircularSection

Base class for rectangular reinforced concrete sections.

Variables:
  • sectionName – name identifying the section
  • mainReinf – layers of main reinforcement.
  • shReinf – record of type ShearReinforcement defining the shear reinforcement.
defConcreteRegion(geomSection)
defSectionGeometry(preprocessor, matDiagType)

Define the XC section geometry object for this reinforced concrete section

Parameters:matDiagType – type of stress-strain diagram (“k” for characteristic diagram, “d” for design diagram)
getMinCover()

return the minimal cover of the reinforcement.

getRespT(preprocessor)

Material for modeling torsional response of section

getRespVy(preprocessor)

Material for modeling Y shear response of section

getRespVz(preprocessor)

Material for modeling Z shear response of section

getShearReinfY()

Return the shear reinforcement for Vy.

getShearReinfZ()

Return the shear reinforcement for Vz.

getTorsionalThickness()

Return the section thickness for torsion.

isCircular()

Return true if it’s a circular section.

class materials.sections.fiber_section.def_column_RC_section.RCRectangularColumnSection(sectionDescr=None)

Bases: materials.sections.fiber_section.def_simple_RC_section.BasicRectangularRCSection

Definition of the variables that make up a reinforced concrete section with reinforcement symmetric in both directions (as usual in columns)

Variables:mainBars – object of type ColumnMainReinforcement defining longitudinal reinforcement.
defSectionGeometry(matDiagType)

Returns a reinforced concrete section with reinforcement symmetric in both directions (as usual in columns)

Parameters:matDiagType – type of stress-strain diagram (=”k” for characteristic diagram, =”d” for design diagram)

Plot fiber seccions

materials.sections.fiber_section.plot_fiber_section.data_axis_to_pyplot(axis, contour)

Return the lists [x1,x2] and [y1,y2] with the coordinates of the start and end points of the segment of axis inside the fiberSect contour passed as parameters.

materials.sections.fiber_section.plot_fiber_section.data_xcpolygon_to_pyplot(XCpolygon)

Return the lists [x1,x2,x3,…] and [y1,y2,y3,…] with the coordinates of the vertexes of the XCpolygon passed as parameter.

materials.sections.fiber_section.plot_fiber_section.data_xcsegment_to_pyplot(XCsegment)

Return the lists [x1,x2] and [y1,y2] with the coordinates of the start and end points of the XCsegment passed as parameter.

class materials.sections.fiber_section.plot_fiber_section.fibSectFeaturesToplot(fiberSection, colorNeutralAxis=None, colorBendingPlane=None, colorCompressionPlane=None, colorTensionPlane=None, colorIntForcAxis=None, colorLeverArm=None, colorEffDepth=None, colorEffConcrArea=None, MaxEffHeight=None, colorGrossEffConcrAreaContours=None)

Bases: object

Class to generate python plots of the selected features associated with a fiber section.

Variables:
  • fiberSection – fiber-section to plot
  • colorNeutralAxis – color to display the Neutral axis (defaults to None)
  • colorBendingPlane – color to display the beding plane (defaults to None)
  • colorCompressionPlane – color to display the compression plane (defaults to None)
  • colorTensionPlane – color to display the tension plane (defaults to None)
  • colorIntForcAxis – color to display the internal forces axis (defaults to None)
  • colorLeverArm – color to display the lever arm (defaults to None)
  • colorEffDepth – color to display the effective depth (defaults to None)
  • colorEffConcrArea – color to display the limit of the effective concrete area (defaults to None)
  • MaxEffHeight – maximum effective height to calculate effective concrete area (defaults to None)
  • colorGrossEffConcrAreaContours – color to display the contours of the gross effective concrete area (defaults to None)
generatePlot()
materials.sections.fiber_section.plot_fiber_section.plotReinforcement(reinforcement, ctx)

draw section rebars in a postcript file.

materials.sections.fiber_section.plot_fiber_section.plotSectionGeometry(geomSection, path)

draws section geometry in a postscript file

Report of cross-section mechanical properties

section_report.py: report describing RC cross sections mechanical properties.

class materials.sections.fiber_section.section_report.MainReinforcementLayer(reinfLayer)

Bases: object

Parameters for each layer of main reinforcement

texWrite(archTex, areaHorm)
class materials.sections.fiber_section.section_report.SectionInfo(preprocessor, sectName, sectDescr, concrete, rfSteel, concrDiag, rfStDiag, geomSection, width, depth, sectGrWth='80mm')

Bases: object

Obtains the fiber section parameters for writing its report page

Variables:
  • preprocessor – preprocessor
  • sectName – section name (used as title for the table and as caption, also)
  • sectDescr – section description (used as subtitle for the table}
  • concrete – concrete (its name and elastic modulus are reported on the table)
  • rfSteel – reinforcing steeĺ (its name and elastic modulus are reported on the table)
  • concrDiag – concrete diagram
  • rfStDiag – reinforcing steel diagram
  • geomSection – material fiber section
  • width – width of the rectangular section (reported on the table and used to calculate the torsional inertia, also)
  • depth – depth of the rectangular section (reported on the table and used to calculate the torsional inertia, also)
  • G,A,I – match center of gravity, area and inertia tensor, respectively
  • B,H – match gross and homogenized sections, respectively
  • cover – refers to effective cover
  • sectGrWth – with of the section graphic (defaults to ‘80mm’)
writeReport(archTex, pathFigure, rltvPathFigure)
class materials.sections.fiber_section.section_report.SectionInfoHASimple(preprocessor, sectHASimple, sectGrWth='80mm')

Bases: materials.sections.fiber_section.section_report.SectionInfo

Obtains the parameters of a HASimple fiber section for writing its report page

Variables:
  • preprocessor – preprocessor
  • sectHASimple – fiber section defined as a HASimple
  • sectGrWth – with of the section graphic (defaults to ‘80mm’)
materials.sections.fiber_section.section_report.writeMainReinforcement(listaFamMainReinforcement, areaHorm, archTex)
materials.sections.fiber_section.section_report.writeShearReinforcement(recordShearReinf, archTex, width)