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 – identifier 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 – identifier 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.
- 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
- 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.
- 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
- 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(sectionGeom, 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).
- Parameters
sectionGeom – geometric section
fiberMatName – name identifying the material that makes up the fibers
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
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, nDivIJ=10, nDivJK=10, swapReinforcementAxes=False)¶
Bases:
materials.sections.fiber_section.def_simple_RC_section.RCSectionBase
,materials.sections.section_properties.RectangularSection
Base class for rectangular reinforced concrete sections.
- Variables
shReinfZ – object of type ShearReinforcement defining the shear reinforcement in Z direction
shReinfY – object of type ShearReinforcement defining the shear reinforcement in Y direction
torsionReinf – object of type TorsionReinforcement defining the torsion reinforcement.
swapReinforcementAxes – if true, swap the axes of reinforcement so the positive and negative reinforcement rows are placed rotated 90 degrees.
- clearConcreteRegions()¶
Clear previously defined concrete regions.
- defConcreteRegion()¶
Define a rectangular region filled with concrete.
- defElasticMembranePlateSection(preprocessor, overrideRho=None, reductionFactor=1.0)¶
- Constructs an elastic isotropic section material appropriate
for plate and shell analysis.
- Parameters
preprocessor – XC preprocessor of the finite element problem.
overrideRho – if defined (not None), override the value of the material density.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defElasticSection1d(preprocessor, overrideRho=None, reductionFactor=1.0)¶
Return an elastic section appropriate for truss analysis.
- Parameters
preprocessor – preprocessor of the finite element problem.
overrideRho – if defined (not None), override the value of the material density.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defElasticSection2d(preprocessor, majorAxis=True, overrideRho=None, reductionFactor=1.0)¶
Return an elastic section appropriate 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.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defElasticSection3d(preprocessor, overrideRho=None, reductionFactor=1.0)¶
Return an elastic section appropriate for 3D beam analysis
- Parameters
preprocessor – preprocessor of the finite element problem.
overrideRho – if defined (not None), override the value of the material density.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defElasticShearSection2d(preprocessor, majorAxis=True, overrideRho=None, reductionFactor=1.0)¶
- elastic section appropriate 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.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defElasticShearSection3d(preprocessor, overrideRho=None, reductionFactor=1.0)¶
- elastic section appropriate 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.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- getContour()¶
Return the vertices of the section contour.
- getCopy()¶
Returns a deep enough copy of the object.
- getDepth()¶
Return the depth of the section that corresponds to the reinforcement axes: (width if the reinforcement axes are swapped).
- getDict()¶
Put member values in a dictionary.
- 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.
- getShearReinforcementArea()¶
Return the total shear reinforcement area by member unit length.
- getTorsionReinforcementArea()¶
Return the total torsion reinforcement area by member unit length.
- getTotalReinforcementArea()¶
Return the total reinforcement area by member unit length.
- getW1(bendingAxis='z')¶
Section modulus of the gross section with respect to the most tensioned fiber.
- Parameters
bendingAxis – bending axis (‘z’ or ‘y’).
- getW1y()¶
Section modulus of the gross section with respect to the most tensioned fiber.
- getW1z()¶
Section modulus of the gross section with respect to the most tensioned fiber.
- getWidth()¶
Return the width of the section that corresponds to the reinforcement axes: (depth if the reinforcement axes are swapped).
- latexReportGeometry(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)¶
Write geometry data in LaTeX format.
- Parameters
os – output stream.
- latexReportShearReinforcement(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)¶
Write shear reinforcement report in LaTeX format.
- Parameters
os – output stream.
- report(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, indentation='')¶
Get a report of the object contents.
- setFromDict(dct)¶
Read member values from a dictionary.
- Parameters
dct – Python dictionary containing the member values.
- class materials.sections.fiber_section.def_simple_RC_section.LongReinfLayers(lst=None)¶
Bases:
object
Layers of longitudinal reinforcement.
- append(rebarRow: materials.sections.fiber_section.def_simple_RC_section.ReinfRow)¶
Append a reinforcement row to the list.
- RebarRow
row of reinforcement bars.
- centerRebars(b)¶
centers in the width of the section the rebars.
- clear()¶
Clear previously defined longitudinal reinforcement.
- clearLayers()¶
Clear the previously defined reinforcement layers.
- 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, layerCode, diagramName, pointPairs)¶
Definition of the reinforcement layers
- Parameters
reinforcement – XC section reinforcement.
layerCode – 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.
- getDict()¶
Return a dictionary containing the object data.
- 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.
- getNominalLatCover()¶
returns a list with the nominal lateral cover of bars for each row of bars.
- 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.
- classmethod newFromDict(dct=None)¶
Builds a new object from the data in the given dictionary.
- Parameters
cls – class of the object itself.
dct – dictionary contaning the data.
- report(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, indentation='')¶
Get a report of the object contents.
- Parameters
os – output stream.
- setFromDict(dct)¶
Set the data values from the dictionary argument.
- Parameters
dct – dictionary containing the values of the object members.
- class materials.sections.fiber_section.def_simple_RC_section.RCFiberSectionParameters(concrType, reinfSteelType, 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
- clearDiagrams()¶
Clear the previously defined stress-strain diagrams for the section materials.
- 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.
- getDict()¶
Put member values in a dictionary.
- 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.
- classmethod newFromDict(dct=None)¶
Builds a new object from the data in the given dictionary.
- Parameters
cls – class of the object itself.
dct – dictionary contaning the data.
- report(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, indentation='')¶
Get a report of the object contents.
- setFromDict(dct)¶
Read member values from a dictionary.
- Parameters
dct – Python dictionary containing the member values.
- class materials.sections.fiber_section.def_simple_RC_section.RCRectangularSection(name=None, sectionDescr=None, width=0.25, depth=0.25, concrType=None, reinfSteelType=None, nDivIJ=10, nDivJK=10, swapReinforcementAxes=False)¶
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
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
- appendLayer(positiveReinf, nominalCover, nRebars=None, rebarsDiam=None, nominalLatCover=None)¶
- Constructs a ReinfRow with the given data and appends it to the
reinforcement in the positive side of the section.
- Parameters
positiveReinf – if true append to positive reinforcement otherwise to negative reinforcement.
nominalCover – nominal cover [m]
nRebars – number of rebars, if None pick the last one.
rebarsDiam – bar diameter [m], if None pick the last one.
nominalLatCover – nominal lateral cover [m], if None pick the last one.
- appendNegativeLayer(nominalCover, nRebars=None, rebarsDiam=None, nominalLatCover=None)¶
- Constructs a ReinfRow with the given data and appends it to the
reinforcement in the positive side of the section.
- Parameters
nominalCover – nominal cover [m]
nRebars – number of rebars, if None pick the last one.
rebarsDiam – bar diameter [m], if None pick the last one.
nominalLatCover – nominal lateral cover [m], if None pick the last one.
- appendNegativeRow(rebarRow: materials.sections.fiber_section.def_simple_RC_section.ReinfRow)¶
- Constructs append the giver ReinfRow to the reinforcement in the
negative side of the section.
- RebarRow
row of reinforcement bars.
- appendPositiveLayer(nominalCover, nRebars=None, rebarsDiam=None, nominalLatCover=None)¶
- Constructs a ReinfRow with the given data and appends it to the
reinforcement in the positive side of the section.
- Parameters
nominalCover – nominal cover [m]
nRebars – number of rebars, if None pick the last one.
rebarsDiam – bar diameter [m], if None pick the last one.
nominalLatCover – nominal lateral cover [m], if None pick the last one.
- appendPositiveRow(rebarRow: materials.sections.fiber_section.def_simple_RC_section.ReinfRow)¶
- Constructs append the giver ReinfRow to the reinforcement in the
positive side of the section.
- RebarRow
row of reinforcement bars.
- appendRow(positiveReinf, rebarRow: materials.sections.fiber_section.def_simple_RC_section.ReinfRow)¶
- Constructs append the giver ReinfRow to the reinforcement in the
positive (positiveReinf==True) or negative side of the section.
- Parameters
positiveReinf – if true append to positive reinforcement otherwise to negative reinforcement.
- RebarRow
row of reinforcement bars.
- 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
- clearSectionGeometry()¶
Clear the XC section geometry object previously defined for this section.
- computeRebarPositions()¶
Compute the positions of the reinforcement.
- 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)
- defineMainReinforcement(nominalCover, fiStirr, topLayersDiameters=[0.012, None], bottomLayersDiameters=[0.012, None], lateralLayersDiameters=[0.01, None], nRebarsHoriz=3, nRebarsVert=2)¶
Define the reinforcement of the given RC section.
- Parameters
nominalCover – nominal concrete cover.
fiStirr – diameter of the stirrups.
topLayersDiameters – diameters of the first and second top reinforcement layers (if None => no layer).
bottomLayersDiameters – diameters of the first and second bottom reinforcement layers (if None => no layer).
lateralLayersDiameters – diameters of the exterior and interior lateral reinforcement layers (if diameter[i]==None => no i-th layer).
nRebarsHoriz – number of horizontal rebars.
nRebarsVert – number of vertical rebars.
- defineShearReinforcementYZ(nShReinfBranchesY=2, fiStirrY=0.008, spacingY=0.15, nShReinfBranchesZ=2, fiStirrZ=0.008, spacingZ=0.15)¶
Define the shear reinforcement of the RC section.
- Parameters
nShReinfBranchesY – number of branches (Y direction).
fiStirrY – diameter of the stirrups (Y direction).
spacingY – stirrups spacing (Y direction).
nShReinfBranchesZ – number of branches (Z direction).
fiStirrZ – diameter of the stirrups (Z direction).
spacingZ – stirrups spacing (Z direction).
- flipReinforcement()¶
Flip the reinforcement top<–>bottom.
- 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.
- getCopy()¶
Returns a deep enough copy of the object.
- getCover()¶
returns a list with the cover of bars for each row of bars in local 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.
- getDiameters()¶
returns a list with the bar diameter for each row of bars.
- getDict()¶
Return a dictionary with the values of the object members.
- 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)
- getLatCover()¶
returns a list with the lateral cover of bars for each row of bars.
- 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.
- getNBar()¶
returns a list with the number of bars for each row of bars.
- 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.
- getNegReinforcementIz(hCOG, n=1.0)¶
- Return the second moment of inertia of the reinforcement in the
negative side.
- Parameters
hCOG – distance from the section bottom to its center of gravity.
n – homogenizatrion coefficient.
- getNegRowsCGcover()¶
returns the distance from the center of gravity of the negative rebars to the negative face of the section
- getNominalLatCover()¶
returns a list with the lateral cover of bars for each row of bars.
- getPosReinforcementIz(hCOG, n=1.0)¶
- Return the second moment of inertia of the reinforcement in the
positive side.
- Parameters
hCOG – distance from the section bottom to its center of gravity.
n – homogenizatrion coefficient.
- 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.
- hAsNeg()¶
Return the distance from the bottom fiber to the centre of gravity of the rebars in the positive face.
- hAsPos()¶
Return the distance from the bottom fiber to the centre of gravity of the rebars in the positive face.
- hCOGHomogenizedSection()¶
Return the 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.
- report(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, indentation='')¶
Get a report of the object contents.
- setFromDict(dct)¶
Set the member values from those in the given dictionary.
- class materials.sections.fiber_section.def_simple_RC_section.RCSectionBase(sectionDescr=None, concrType=None, reinfSteelType=None, nDivIJ=10, nDivJK=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.
- clearDiagrams()¶
Clear previously defined diagrams.
- clearFiberSection()¶
Clear the previously defined fiber section.
- clearRCSection()¶
- Clear a previously defined XC reinforced concrete section (possibly
with a different preprocessor, which can lead to errors).
- Parameters
preprocessor – preprocessor of the finite element problem.
matDiagType – type of stress-strain diagram (“k” for characteristic diagram, “d” for design diagram)
- clearShearResponse()¶
Clear the shear/torsional response of the section.
- Parameters
preprocessor – preprocessor of the finite element problem.
- 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.
- defFiberSection2d(preprocessor)¶
Define 2D 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)
- defRCSection2d(preprocessor, matDiagType)¶
Definition of a 2D 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.
- defShearResponse2d(preprocessor)¶
Define the shear response of the 2D 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.
- getConcreteType()¶
returns the concrete type of this sections.
- getCopy()¶
Returns a copy of the object.
- getCrossSectionFigureFileName(outputPath=None)¶
Return the file name to use for the cross-section graphics.
- Parameters
outputPath – directory to write the section plot into.
- getDict()¶
Put member values in a dictionary.
- getElasticMaterialData(overrideRho=None)¶
Return an elastic material constitutive model.
- Parameters
overrideRho – if defined (not None), override the value of the material density.
- getHomogenizationCoefficient()¶
Return the homogenization coefficient of the section.
- getMainReinforcementArea()¶
Return the total area of the main reinforcement.
- getMaterialHandler()¶
Return the material handler used to define the XC materials corresponding to this section object.
- getNDivIJ()¶
Return the number of cells in IJ (width or radial) direction.
- getNDivJK()¶
Return the number of cells in JK (height or tangential) direction.
- getNonDimensionalAxialForce(Nd)¶
- Return the valud of the non-dimensional axial force corresponding
to the given axial force according to clause 43.1.2 of EHE-08.
- Parameters
Nd – design value of the axial force.
- getReinfSteelType()¶
returns the type of the reinforcing steel in this sections.
- getSectionGeometry()¶
Return the geometry defined for this section in XC.
- 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.
- izHomogenizedSection()¶
Return the radius of gyration of the section around the axis parallel to the section width that passes through section centroid.
- latexReport(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, graphicWidth='70mm', outputPath=None, includeGraphicsPath=None, preprocessor=None, matDiagType='k')¶
Write a report of the object in LaTeX format.
- Parameters
os – output stream.
graphicWidth – width for the cross-section graphic.
outputPath – directory to write the section plot into.
includeGraphicsPath – directory to use in the latex includegraphics command.
preprocessor – pre-processor of the FE problem.
matDiagType – diagram type; if “k” use the diagram corresponding to characteristic values of the material, if “d” use the design values one.
- latexReportMainReinforcement(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)¶
Write a report of the main reinforcement in LaTeX format.
- Parameters
os – output stream.
- latexReportMainReinforcementLayer(reinfLayer, concreteArea, os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)¶
- Write a report of the reinforcement layer argument
in LaTeX format.
- Parameters
os – output stream.
- classmethod newFromDict(dct=None)¶
Builds a new object from the data in the given dictionary.
- Parameters
cls – class of the object itself.
dct – dictionary contaning the data.
- pdfReport(outputFileName: Optional[str] = None, graphicWidth='70mm', showPDF=False, keepPDF=True, preprocessor=None, matDiagType='k')¶
Write a report of the object in LaTeX format.
- Parameters
outputFileName – name of the output file.
graphicWidth – width for the cross-section graphic.
showPDF – if true display the PDF output on the screen.
keepPDF – if true don’t remove the PDF output.
preprocessor – pre-processor of the FE problem.
matDiagType – diagram type; if “k” use the diagram corresponding to characteristic values of the material, if “d” use the design values one.
- plot(preprocessor, matDiagType='k')¶
Get a drawing of the section using matplotlib.
- Parameters
preprocessor – preprocessor of the finite element problem.
matDiagType –
type of stress-strain diagram (“k” for characteristic diagram,
”d” for design diagram)
- report(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, indentation='')¶
Get a report of the object contents.
- Parameters
os – output stream.
- setFromDict(dct)¶
Read member values from a dictionary.
- Parameters
dct – Python dictionary containing the member values.
- subplot(ax, preprocessor, matDiagType='k')¶
Put the section drawing in the subplot argument.
- Parameters
ax – matplotlib subplot.
preprocessor – pre-processor of the finite element problem.
matDiagType – type of stress-strain diagram (“k” for characteristic diagram, “d” for design diagram)
- writeDXF(modelSpace, concreteLayerName='concrete', reinforcementLayerName='reinforcement')¶
- Writes the shape contour in the model
space argument.
- Parameters
modelSpace – ezdxf model space to write into.
concretLayerName – DXF layer name for concrete material.
reinforcementLayerName – DXF layer name for steel material.
- materials.sections.fiber_section.def_simple_RC_section.RebarRow2ReinfRow(rebarRow, width=1.0, nominalLatCover=0.03)¶
- Returns a ReinfRow object from a RebarRow 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)
cover – concrete cover.
- 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, layerCode, 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.
layerCode – 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.
- getCopy()¶
Return a copy of this object.
- getDict()¶
Return a dictionary containing the object data.
- getI()¶
Return the moment of inertia around the axis containing the bar centers.
- getNominalCover()¶
Return the nominal cover of the reinforcement bars.
- getNominalLatCover()¶
Return the nominal cover of the reinforcement bars.
- classmethod newFromDict(dct=None)¶
Builds a new object from the data in the given dictionary.
- Parameters
cls – class of the object itself.
dct – dictionary contaning the data.
- report(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, indentation='')¶
Get a report of the object contents.
- setFromDict(dct)¶
Set the data values from the dictionary argument.
- Parameters
dct – dictionary containing the values of the object members.
- setNumberOfBars(nRebars: int, width: float, nominalLatCover: float)¶
Set the number of rebars.
- Parameters
nRebars – number of rebars.
width – width occupied by the rebars.
nominalLatCover – nominal lateral cover.
- setRebarArea(rebarArea)¶
Set the area of the rebars.
- Parameters
rebarArea – area of the rebars.
- setRebarDiameter(rebarDiameter)¶
Set the diameter of the rebars.
- Parameters
rebarDiameter – diameter of the rebars.
- setSpacing(rebarsSpacing: float, width: float)¶
Set the space between rebar axes.
- Parameters
rebarsSpacing – spacing between bars.
width – width occupied by the rebars.
- class materials.sections.fiber_section.def_simple_RC_section.ShearReinforcement(familyName=None, nShReinfBranches=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.
- getDiameter()¶
Return the diameter of the bars from its area.
- getDict()¶
Return a dictionary containing the object data.
- latexReport(width, os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)¶
Write a report of the object in LaTeX format.
- Parameters
width – section width.
os – output stream.
- classmethod newFromDict(dct=None)¶
Builds a new object from the data in the given dictionary.
- Parameters
cls – class of the object itself.
dct – dictionary contaning the data.
- report(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, indentation='')¶
Get a report of the object contents.
- setFromDict(dct)¶
Set the data values from the dictionary argument.
- Parameters
dct – dictionary containing the values of the object members.
- class materials.sections.fiber_section.def_simple_RC_section.TorsionReinforcement(familyName=None, A1=0.0, nShReinfBranches=0, areaShReinfBranch=0.0, shReinfSpacing=0.2, angThetaConcrStruts=0.7853981633974483)¶
Bases:
materials.sections.fiber_section.def_simple_RC_section.ShearReinforcement
Definition of the variables that make up a family of torsion reinforcing bars.
- Variables
A1 – Area of the torsion longitudinal reinforcements.
- getAt()¶
returns the area of the reinforcements used as hoops or transverse reinforcement.
- getAtDiameter()¶
Return the diameter of the einforcements used as hoops or transverse reinforcement.
- getDict()¶
Return a dictionary containing the object data.
- latexReport(width, os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)¶
Write a report of the object in LaTeX format.
- Parameters
width – section width.
os – output stream.
- report(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, indentation='')¶
Get a report of the object contents.
- setFromDict(dct)¶
Set the data values from the dictionary argument.
- Parameters
dct – dictionary containing the values of the object members.
- materials.sections.fiber_section.def_simple_RC_section.compute_element_rc_sections(elements, propName=None)¶
- Return a list containing the reinforced concrete sections computed
from the values of the properties defined in the elements argument. Those properties are:
- baseSection: RCSectionBase derived object containing the geometry
and the material properties of the reinforcec concrete section.
- reinforcementUpVector: reinforcement “up” direction which defines
the position of the positive reinforcement (bottom) and the negative reinforcement (up).
- reinforcementIVector: (for slabs) direction corresponding to
the first RC section
- bottomReinforcement: LongReinfLayers objects defining the
reinforcement at the bottom of the section.
- topReinforcement: LongReinfLayers objects defining the
reinforcement at the top of the section.
- shearReinforcement: ShearReinforcement objects defining the
reinforcement at the bottom of the section.
- Parameters
elements – elements for which the reinforce concrete sections will be computed.
propName – name of the property that stores the section names.
- materials.sections.fiber_section.def_simple_RC_section.compute_element_reinforcement(element)¶
- Return a list containing the reinforced concrete sections from the
properties defined in the elements argument. Those properties are:
- baseSection: RCSectionBase derived object containing the geometry
and the material properties of the reinforcec concrete section.
- reinforcementUpVector: reinforcement “up” direction which defines
the position of the positive reinforcement (bottom) and the negative reinforcement (up).
- reinforcementIVector: (for slabs) direction corresponding to
the first RC section
- bottomReinforcement: LongReinfLayers objects defining the
reinforcement at the bottom of the section.
- topReinforcement: LongReinfLayers objects defining the
reinforcement at the top of the section.
- shearReinforcement: ShearReinforcement objects defining the
reinforcement at the bottom of the section.
- Parameters
element – element for which the reinforce concrete sections will be computed.
- materials.sections.fiber_section.def_simple_RC_section.rebLayerByNumFi_m(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 [m]
c – nominal cover [m]
latC – nominal lateral cover [m]
L – length where the n rebars and two lateral covers are inserted [m]
- 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_m(fi, s, c)¶
Defines a layer of main reinforcement bars, given the spacement.
- Parameters
fi – bar diameter [m]
s – spacing [m]
c – cover [m] (nominal cover)
- 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] (nominal cover)
- materials.sections.fiber_section.def_simple_RC_section.write_dxf(geomSection, modelSpace, concreteLayerName='concrete', reinforcementLayerName='reinforcement')¶
Writes the shape contour in the given DXF model space.
- Parameters
modelSpace – ezdxf model space to write into.
concretLayerName – DXF layer name for concrete material.
reinforcementLayerName – DXF layer name for steel material.
Definition of column RC sections¶
Definition of the variables that make up a reinforced concrete section with reinforcement symmetric in both directions (as usual in columns)
- 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
mainReinf – layers of main reinforcement.
shReinf – record of type ShearReinforcement defining the shear reinforcement.
- clearSectionGeometry()¶
Clear the XC section geometry object previously defined for this section.
- defConcreteRegion()¶
- defElasticSection1d(preprocessor, overrideRho=None, reductionFactor=1.0)¶
Return an elastic section appropriate for truss analysis.
- Parameters
preprocessor – preprocessor of the finite element problem.
overrideRho – if defined (not None), override the value of the material density.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defElasticSection2d(preprocessor, majorAxis=True, overrideRho=None, reductionFactor=1.0)¶
Return an elastic section appropriate 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.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defElasticSection3d(preprocessor, overrideRho=None, reductionFactor=1.0)¶
Return an elastic section appropriate for 3D beam analysis
- Parameters
preprocessor – preprocessor of the finite element problem.
overrideRho – if defined (not None), override the value of the material density.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defElasticShearSection2d(preprocessor, majorAxis=True, overrideRho=None, reductionFactor=1.0)¶
- elastic section appropriate 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.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defElasticShearSection3d(preprocessor, overrideRho=None, reductionFactor=1.0)¶
- elastic section appropriate 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.
reductionFactor – factor that divides the concrete elastic modulus to simulate the effect of cracking, normally between 1.0 and 7.0.
- defSectionGeometry(preprocessor, matDiagType)¶
Define the XC section geometry object for this reinforced concrete section
- Parameters
preprocessor – XC preprocessor for 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.
- getContour()¶
Return the vertices of the section contour.
- getDict()¶
Return a dictionary containing the object data.
- getI()¶
Returns the second moment of area about the middle axis parallel to the width
- getIzHomogenizedSection()¶
returns the second moment of area about the axis parallel to the section width through the center of gravity
- getMinCover()¶
return the minimal cover of the reinforcement.
- getReinforcementIz(n=1.0)¶
Return the second moment of inertia of the reinforcement.
- Parameters
hCOG – distance from the section bottom to its center of gravity.
n – homogenizatrion coefficient.
- 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.
- getShearReinforcementArea()¶
Return the total shear reinforcement area by member unit length.
- getTorsionalThickness()¶
Return the section thickness for torsion.
- getTotalReinforcementArea()¶
Return the total reinforcement area by member unit length.
- isCircular()¶
Return true if it’s a circular section.
- latexReportGeometry(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)¶
Write geometry data in LaTeX format.
- Parameters
os – output stream.
- latexReportShearReinforcement(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>)¶
Write shear reinforcement report in LaTeX format.
- Parameters
os – output stream.
- report(os=<_io.TextIOWrapper name='<stdout>' mode='w' encoding='utf-8'>, indentation='')¶
Get a report of the object contents.
- Parameters
os – output stream.
- setFromDict(dct)¶
Set the data values from the dictionary argument.
- Parameters
dct – dictionary containing the values of the object members.
- 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(preprocessor, matDiagType)¶
Returns a reinforced concrete section with reinforcement symmetric in both directions (as usual in columns)
- Parameters
preprocessor – XC preprocessor for the finite element problem.
matDiagType – type of stress-strain diagram (=”k” for characteristic diagram, =”d” for design diagram)
Plot fiber seccions¶
- 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.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.
- materials.sections.fiber_section.plot_fiber_section.eps2png(inputFileName, outputFileName=None)¶
- Convert the encapsulated Postscript input image into a PNG image
with a “decent” resolution.
- Parameters
inputFileName – name of the input file.
outputFileName – name of the output file.
- materials.sections.fiber_section.plot_fiber_section.mplot_section_geometry(ax, sectionGeometry)¶
Plot the geometry of the section using matplotlib.
- Parameters
ax – matplotlib subplot.
sectionGeometry – geometry of the RC section.
- materials.sections.fiber_section.plot_fiber_section.mplot_section_reinforcement(ax, reinforcement)¶
Plot the geometry of the section using matplotlib.
- Parameters
ax – matplotlib subplot.
reinforcement – reinforcement layers to draw.
- materials.sections.fiber_section.plot_fiber_section.plot_reinforcement(reinforcement, ctx)¶
draw section rebars in a postcript file.
- Parameters
reinforcement – reinforcement to plot.
ctx – cairo context.
- materials.sections.fiber_section.plot_fiber_section.plot_section_geometry(geomSection, path)¶
draws section geometry in a postscript file.
- Parameters
geomSection – section geometry to draw.
path – output file path.
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, concreteArea, archTex)¶
Write rows describing the layers of the main reinforcement.
- Parameters
listaFamMainReinforcement – list of reinforcement layers to describe.
concreteArea – concrete area.
archTex – output file.
- materials.sections.fiber_section.section_report.writeShearReinforcement(recordShearReinf, archTex, width)¶