# -*- coding: utf-8 -*- #import os import xc_base import geom import xc from materials.sections.fiber_section import defSimpleRCSection as rcs #instances of rcs.RecordRCSlabBeamSection that define the #variables that make up THE TWO reinforced concrete sections in the two #reinforcement directions of a slab or the front and back ending sections #of a beam element deckRCSects= rcs.RecordRCSlabBeamSection(name='deckRCSects',sectionDescr='slab of shell elements',concrType=concrete, reinfSteelType=reinfSteel,depth=deckTh,elemSetName=decks.name) deckRCSects.dir1PositvRebarRows=[rcs.rebLayer(12,150,35)] deckRCSects.dir1NegatvRebarRows=[rcs.rebLayer(12,200,35)] deckRCSects.dir2PositvRebarRows=[rcs.rebLayer(16,250,35)] deckRCSects.dir2NegatvRebarRows=[rcs.rebLayer(16,100,35)] import math areaFi8=math.pi*0.008**2/4. shear1=rcs.RecordShearReinforcement(familyName= "shear1",nShReinfBranches= 1.0,areaShReinfBranch= areaFi8,shReinfSpacing= 0.20,angAlphaShReinf= math.pi/2.0,angThetaConcrStruts= math.radians(30)) shear2=rcs.RecordShearReinforcement(familyName= "shear2",nShReinfBranches= 1.0,areaShReinfBranch= areaFi8,shReinfSpacing= 0.15,angAlphaShReinf= math.pi/2.0,angThetaConcrStruts= math.radians(30)) deckRCSects.dir1ShReinfY=shear1 deckRCSects.dir2ShReinfY=shear2 footRCSects= rcs.RecordRCSlabBeamSection(name='footRCSects',sectionDescr='footation',concrType=concrete, reinfSteelType=reinfSteel,depth=footTh,elemSetName=foot.name) #D1: transversal rebars #D2: longitudinal rebars footRCSects.dir1PositvRebarRows=[rcs.rebLayer(12,150,35)]
#variables that make up THE TWO reinforced concrete sections in the two #reinforcement directions of a slab or the front and back ending sections #of a beam element losSupV2RCSects = rcs.RecordRCSlabBeamSection( name='losSupV2RCSects', sectionDescr='losa aligerada, cara superior.', concrType=concrete, reinfSteelType=reinfSteel, depth=espLosAlig, elemSetName='losSupV2') #D1: transversal rebars #D2: longitudinal rebars #positiv: top face #negativ: bottom face losSupV2RCSects.dir1PositvRebarRows = [rcs.rebLayer(16, 200, rnom)] losSupV2RCSects.dir1NegatvRebarRows = [ rcs.rebLayer(12, 200, rnom + espLosAlig / 2.) ] losSupV2RCSects.dir2PositvRebarRows = [rcs.rebLayer(16, 200, rnom + 20)] losSupV2RCSects.dir2NegatvRebarRows = [ rcs.rebLayer(12, 200, rnom + espLosAlig / 2.) ] losInfV2RCSects = rcs.RecordRCSlabBeamSection( name='losInfV2RCSects', sectionDescr='losa aligerada, cara inferior', concrType=concrete, reinfSteelType=reinfSteel, depth=espLosAlig, elemSetName='losInfV2')
#instances of defSimpleRCSection.RecordRCSlabBeamSection that define the #variables that make up THE TWO reinforced concrete sections in the two #reinforcement directions of a slab or the front and back ending sections #of a beam element zapRCSects = rcs.RecordRCSlabBeamSection(name='zapRCSects', sectionDescr='zapata', concrType=concrete, reinfSteelType=reinfSteel, depth=cantoZap, elemSetName='zap') #D1: longitudinal rebars #D2: transversal rebars #positiv: top face #negativ: bottom face zapRCSects.dir1PositvRebarRows = [rcs.rebLayer(25, 200, rnom)] zapRCSects.dir2PositvRebarRows = [rcs.rebLayer(20, 200, rnom + 25)] zapRCSects.dir1NegatvRebarRows = [rcs.rebLayer(25, 200, rnom)] zapRCSects.dir2NegatvRebarRows = [rcs.rebLayer(20, 200, rnom + 25)] murestrZ1RCSects = rcs.RecordRCSlabBeamSection( name='murestrZ1RCSects', sectionDescr='muro de estribo, zona Z1 (inferior)', concrType=concrete, reinfSteelType=reinfSteel, depth=espMurEstr, elemSetName='murestrZ1') #D1: vertical rebars #D2: horizontal rebars #positiv: interior #negativ: exterior